summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-16 20:43:27 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-16 20:43:27 +0000
commitc8fd3d44eb99174c9fc27792d07ea64259fb2b6c (patch)
tree3fb74e930be22dde9430636431e0776972c619b1 /build
parentcdb1ca5da3412d0482e79e8a04d984cdd398b304 (diff)
downloadchromium_src-c8fd3d44eb99174c9fc27792d07ea64259fb2b6c.zip
chromium_src-c8fd3d44eb99174c9fc27792d07ea64259fb2b6c.tar.gz
chromium_src-c8fd3d44eb99174c9fc27792d07ea64259fb2b6c.tar.bz2
Enable the packed_resources target on Windows.
This target generates the locale .pak files on Windows. Since nothing depends on this target, it doesn't build by default (they're not used yet). Specific changes: - Have locale_settings_win.grd generate .pak files. - Use pymod_do_main to avoid some shell escaping problems (and it's a bit faster). - Rewrite repack_locales.py to work with pymod_do_main. BUG=92724 Review URL: http://codereview.chromium.org/7648001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/gyp_chromium3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 4b30f76..226ba1a 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -19,8 +19,9 @@ 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.
+# Add paths so that pymod_do_main(...) can import files.
sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit'))
+sys.path.insert(1, os.path.join(chrome_src, 'chrome', 'tools', 'build'))
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about