summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 21:56:56 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 21:56:56 +0000
commit3a7faa316a96f8fa452c36bf1d4d13674eb62b73 (patch)
treea3d5db3d362c2081b496d47cfe2f9735af824b5f /build
parent589ec5f3a790f9e765f8627f31e874de2dcff556 (diff)
downloadchromium_src-3a7faa316a96f8fa452c36bf1d4d13674eb62b73.zip
chromium_src-3a7faa316a96f8fa452c36bf1d4d13674eb62b73.tar.gz
chromium_src-3a7faa316a96f8fa452c36bf1d4d13674eb62b73.tar.bz2
gyp_chromium: put our path in the front of sys.path
This way we use our version of gyp rather than the system's copy(!), when the latter is available. Review URL: http://codereview.chromium.org/2931010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/gyp_chromium2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 998d131..174ea29 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -15,7 +15,7 @@ import sys
script_dir = os.path.dirname(__file__)
chrome_src = os.path.normpath(os.path.join(script_dir, os.pardir))
-sys.path.append(os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
+sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
import gyp
def additional_include_files(args=[]):