From 33a4aca7c65ed0bb2636615ef5e5c83cf50ff6a0 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Tue, 2 Aug 2011 19:39:20 +0000 Subject: Convert test_shell_resources to use build/grit_action.gypi. TEST=test_shell still builds Review URL: http://codereview.chromium.org/7453059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95137 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_shell.gypi | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'webkit/tools/test_shell') diff --git a/webkit/tools/test_shell/test_shell.gypi b/webkit/tools/test_shell/test_shell.gypi index 9a724e5..993d489 100644 --- a/webkit/tools/test_shell/test_shell.gypi +++ b/webkit/tools/test_shell/test_shell.gypi @@ -702,33 +702,17 @@ { 'target_name': 'test_shell_resources', 'type': 'none', + 'variables': { + 'grit_grd_file': './test_shell_resources.grd', + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/test_shell', + }, 'actions': [ { 'action_name': 'test_shell_resources', - 'variables': { - 'grit_path': '../../../tools/grit/grit.py', - 'input_path': './test_shell_resources.grd', - 'out_dir': '<(SHARED_INTERMEDIATE_DIR)/test_shell', - }, - 'inputs': [ - '<(input_path)', - ], - 'outputs': [ - '<(out_dir)/grit/test_shell_resources.h', - '<(out_dir)/test_shell_resources.pak', - ], - 'action': ['python', '<(grit_path)', - '-i', '<(input_path)', - 'build', '-o', '<(out_dir)', - '<@(grit_defines)'], - 'message': 'Generating resources from <(input_path)', + 'includes': [ '../../../build/grit_action.gypi' ], }, ], - 'direct_dependent_settings': { - 'include_dirs': [ - '<(SHARED_INTERMEDIATE_DIR)/test_shell', - ], - }, + 'includes': [ '../../../build/grit_target.gypi' ], }, ], }], -- cgit v1.1