gyp_main.py 447 B

12345678910111213141516
  1. #!/usr/bin/env python
  2. # Copyright (c) 2009 Google Inc. All rights reserved.
  3. # Use of this source code is governed by a BSD-style license that can be
  4. # found in the LICENSE file.
  5. import os
  6. import sys
  7. # Make sure we're using the version of pylib in this repo, not one installed
  8. # elsewhere on the system.
  9. sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
  10. import gyp
  11. if __name__ == '__main__':
  12. sys.exit(gyp.script_main())