Chromium Code Reviews| Index: ui/ui_resources.gypi |
| diff --git a/ui/ui_resources.gypi b/ui/ui_resources.gypi |
| index 8336ef39828410366e94978ccbfd9287b91c6f5b..6a557bfc2fa0f138657449f8e31a8ac415c71e58 100644 |
| --- a/ui/ui_resources.gypi |
| +++ b/ui/ui_resources.gypi |
| @@ -35,5 +35,39 @@ |
| ], |
| 'includes': [ '../build/grit_target.gypi' ], |
| }, |
| + { |
| + # We build a minimal set of resources so WebKit in content_shell has |
| + # access to necessary resources. |
| + 'target_name': 'ui_test_pak', |
| + 'type': 'none', |
| + 'dependencies': [ |
| + 'base/strings/ui_strings.gyp:ui_strings', |
| + 'ui_resources', |
| + ], |
| + 'variables': { |
| + 'repack_path': '../tools/grit/grit/format/repack.py', |
| + }, |
| + 'actions': [ |
| + { |
|
tony
2013/11/11 17:22:36
Nit: Weird indent. I guess the whole file has thi
|
| + 'action_name': 'repack_ui_test_pack', |
| + 'variables': { |
| + 'pak_inputs': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_settings_en-US.pak', |
| + '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_percent.pak', |
| + '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/webui_resources.pak', |
| + '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak', |
| + ], |
| + }, |
| + 'inputs': [ |
| + '<(repack_path)', |
| + '<@(pak_inputs)', |
| + ], |
| + 'outputs': [ |
| + '<(PRODUCT_DIR)/ui_test.pak', |
| + ], |
| + 'action': ['python', '<(repack_path)', '<@(_outputs)', '<@(pak_inputs)'], |
| + }, |
| + ], |
| + }, |
| ], |
| } |