From a6f06702801c5c6502df53f3ccea1c7301889b54 Mon Sep 17 00:00:00 2001 From: "bradnelson@google.com" Date: Wed, 23 Sep 2009 05:03:26 +0000 Subject: Rolling back 26904, didn't take chrome branding into account. BUG=None TEST=None TBR=sgk Review URL: http://codereview.chromium.org/219007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26906 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_shell.gyp | 1 - webkit/webkit.gyp | 35 ++++++++++++++++++++-------------- 2 files changed, 21 insertions(+), 15 deletions(-) (limited to 'webkit') diff --git a/webkit/tools/test_shell/test_shell.gyp b/webkit/tools/test_shell/test_shell.gyp index 2c14cf1..cc497eb 100644 --- a/webkit/tools/test_shell/test_shell.gyp +++ b/webkit/tools/test_shell/test_shell.gyp @@ -38,7 +38,6 @@ '../../webkit.gyp:database', '../../webkit.gyp:glue', '../../webkit.gyp:webkit', - '../../webkit.gyp:webkit_resources', '../../webkit.gyp:inspector_resources', ], 'msvs_guid': '77C32787-1B96-CB84-B905-7F170629F0AC', diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index a1692de..8122d20 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -8,10 +8,7 @@ ], 'variables': { # TODO: remove this helper when we have loops in GYP - 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py'], - 'grit_info_cmd': ['python', '../tools/grit/grit_info.py'], - 'grit_cmd': ['python', '../tools/grit/grit.py'], - 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', + 'apply_locales_cmd': ['python', '../chrome/tools/build/apply_locales.py',], # We can't turn on warnings on Windows and Linux until we upstream the # WebKit API. @@ -246,6 +243,10 @@ 'target_name': 'webkit_resources', 'type': 'none', 'msvs_guid': '0B469837-3D46-484A-AFB3-C5A6C68730B9', + 'variables': { + 'grit_path': '../tools/grit/grit.py', + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/webkit', + }, 'actions': [ { 'action_name': 'webkit_resources', @@ -253,19 +254,20 @@ 'input_path': 'glue/webkit_resources.grd', }, 'inputs': [ - '!@(<(apply_locales_cmd) \'<(grit_out_dir)/webkit_strings_ZZLOCALE.pak\' <(locales))', ], - 'action': ['<@(grit_cmd)', '-i', '<(input_path)', 'build', - '-o', '<(grit_out_dir)/webkit_strings'], + 'action': ['python', '<(grit_path)', '-i', '<(input_path)', 'build', '-o', '<(grit_out_dir)'], 'message': 'Generating resources from <(input_path)', }, ], 'direct_dependent_settings': { 'include_dirs': [ - '<(grit_out_dir)/webkit_strings', + '<(SHARED_INTERMEDIATE_DIR)/webkit', ], }, 'conditions': [ -- cgit v1.1