17ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org#!/usr/bin/env python
27ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org
37ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org# Copyright (c) 2009 Google Inc. All rights reserved.
47ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org# Use of this source code is governed by a BSD-style license that can be
57ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org# found in the LICENSE file.
67ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org
77ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.orgimport sys
87ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org
97ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org# TODO(mark): sys.path manipulation is some temporary testing stuff.
107ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.orgtry:
117ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org  import gyp
127ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.orgexcept ImportError, e:
137ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org  import os.path
147ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org  sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'pylib'))
157ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org  import gyp
167ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.org
177ebf72ab00fe6f66934d857bdaff2e0475de03bfscottmg@chromium.orgif __name__ == '__main__':
18e7d6d052f9e0cbba7ca11414495c54207f4aacfesbaig  sys.exit(gyp.script_main())
19