summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 21:54:28 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 21:54:28 +0000
commitf703c4ea89e938b1066d5391c9591ce1e996f913 (patch)
treee3f3f2d8a67ddfe0744fa7bbf55dbd2220824ed5 /webkit
parent762940c0f3d7f737616c126671e22c3fdead521e (diff)
downloadchromium_src-f703c4ea89e938b1066d5391c9591ce1e996f913.zip
chromium_src-f703c4ea89e938b1066d5391c9591ce1e996f913.tar.gz
chromium_src-f703c4ea89e938b1066d5391c9591ce1e996f913.tar.bz2
Add all locales to the appropriate generated file lists in .gyp files.
BUG=none TEST=none Review URL: http://codereview.chromium.org/208002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/webkit.gyp21
1 files changed, 7 insertions, 14 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index b47d34e..c7dbce7 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -4,6 +4,8 @@
{
'variables': {
+ # TODO: remove this helper when we have loops in GYP
+ 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',],
'feature_defines': [
'ENABLE_CHANNEL_MESSAGING=1',
'ENABLE_DATABASE=1',
@@ -518,7 +520,7 @@
'--include', '../third_party/WebKit/WebCore/css',
'--include', '../third_party/WebKit/WebCore/dom',
'--include', '../third_party/WebKit/WebCore/html',
- '--include', '../third_party/WebKit/WebCore/notifications',
+ '--include', '../third_party/WebKit/WebCore/notifications',
'--include', '../third_party/WebKit/WebCore/page',
'--include', '../third_party/WebKit/WebCore/plugins',
'--include', '../third_party/WebKit/WebCore/svg',
@@ -641,10 +643,10 @@
'../third_party/WebKit/WebCore/css/CSSUnknownRule.idl',
# A few things can't be excluded by patterns. List them individually.
-
+
# Don't build StorageNamespace. We have our own implementation.
'../third_party/WebKit/WebCore/storage/StorageNamespace.cpp',
-
+
# Use history/BackForwardListChromium.cpp instead.
'../third_party/WebKit/WebCore/history/BackForwardList.cpp',
@@ -1198,17 +1200,8 @@
],
'outputs': [
'<(grit_out_dir)/grit/webkit_strings.h',
- # TODO(benl) Generate this list from a helper script, like
- # repack_locales_cmd in chrome.gyp (see TODO(mmoss))
- '<(grit_out_dir)/webkit_strings_ar.pak',
- '<(grit_out_dir)/webkit_strings_da.pak',
- '<(grit_out_dir)/webkit_strings_da.rc',
- '<(grit_out_dir)/webkit_strings_en-US.pak',
- '<(grit_out_dir)/webkit_strings_en-US.rc',
- '<(grit_out_dir)/webkit_strings_he.pak',
- '<(grit_out_dir)/webkit_strings_he.rc',
- '<(grit_out_dir)/webkit_strings_zh-TW.pak',
- '<(grit_out_dir)/webkit_strings_zh-TW.rc',
+ # TODO: remove this helper when we have loops in GYP
+ '>!@(<(apply_locales_cmd) \'<(grit_out_dir)/webkit_strings_ZZLOCALE.pak\' <(locales))',
],
'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', '-o', '<(grit_out_dir)'],
'message': 'Generating resources from <(input_path)',