Index: build/gyp_chromium |
diff --git a/build/gyp_chromium b/build/gyp_chromium |
index 3cddef69f7ca42117c2e24bca1ff61644e3e6bfa..18e7d65b0bad9ed2cdc59d4c5de9cdbf4b383fff 100755 |
--- a/build/gyp_chromium |
+++ b/build/gyp_chromium |
@@ -19,6 +19,10 @@ chrome_src = os.path.abspath(os.path.join(script_dir, os.pardir)) |
sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib')) |
import gyp |
+# Add tools/grit so that pymod_do_main(grit_info ...) can find grit_info.py. |
+sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit')) |
+ |
+ |
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about |
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70 |
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco |