Index: apps/apps.gypi |
diff --git a/apps/apps.gypi b/apps/apps.gypi |
index 78dcd5f7c87e2434a5f812be492dc3edef662b8c..9953f67b699b8f161ad56e4af6dff42dd73de035 100644 |
--- a/apps/apps.gypi |
+++ b/apps/apps.gypi |
@@ -100,6 +100,35 @@ |
['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1)', { |
'targets': [ |
{ |
+ 'target_name': 'app_shell_pak', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '../content/content_shell_and_tests.gyp:generate_content_shell_resources', |
+ ], |
+ 'variables': { |
+ 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', |
+ }, |
+ 'actions': [ |
+ { |
+ 'action_name': 'repack_app_shell_pack', |
+ 'variables': { |
+ 'pak_inputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
+ ], |
+ }, |
+ 'inputs': [ |
+ '<(repack_path)', |
+ '<@(pak_inputs)', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/app_shell.pak', |
+ ], |
+ 'action': ['python', '<(repack_path)', '<@(_outputs)', |
+ '<@(pak_inputs)'], |
+ }, |
+ ], |
+ }, |
+ { |
'target_name': 'app_shell', |
'type': 'executable', |
'defines!': ['CONTENT_IMPLEMENTATION'], |
@@ -107,6 +136,7 @@ |
'chromium_code': 1, |
}, |
'dependencies': [ |
+ 'app_shell_pak', |
'apps', |
'chrome_resources.gyp:packed_resources', |
# For resources.pak for features JSON files. |