OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'apps', | 8 'target_name': 'apps', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 'msvs_disabled_warnings': [ 4267, ], | 96 'msvs_disabled_warnings': [ 4267, ], |
97 }, | 97 }, |
98 ], # targets | 98 ], # targets |
99 'conditions': [ | 99 'conditions': [ |
100 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1
)', { | 100 ['chromeos==1 or (OS=="linux" and use_aura==1) or (OS=="win" and use_aura==1
)', { |
101 'targets': [ | 101 'targets': [ |
102 { | 102 { |
103 'target_name': 'app_shell_pak', | 103 'target_name': 'app_shell_pak', |
104 'type': 'none', | 104 'type': 'none', |
105 'dependencies': [ | 105 'dependencies': [ |
106 # Need dev-tools related resources in shell_resources.pak and devtoo
ls_resources.pak. | 106 # Need extension related resources in common_resources.pak and |
| 107 # renderer_resources_100_percent.pak |
| 108 'chrome_resources.gyp:chrome_resources', |
| 109 # Need app related resources in theme_resources_100_percent.pak |
| 110 'chrome_resources.gyp:theme_resources', |
| 111 # Need dev-tools related resources in shell_resources.pak and |
| 112 # devtools_resources.pak. |
107 '../content/content_shell_and_tests.gyp:generate_content_shell_resou
rces', | 113 '../content/content_shell_and_tests.gyp:generate_content_shell_resou
rces', |
108 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc
es', | 114 '../content/browser/devtools/devtools_resources.gyp:devtools_resourc
es', |
109 # Need features JSON files in common_resources.pak. | 115 '../ui/base/strings/ui_strings.gyp:ui_strings', |
110 'chrome_resources.gyp:chrome_resources', | 116 '../ui/resources/ui_resources.gyp:ui_resources', |
111 ], | 117 ], |
112 'variables': { | 118 'variables': { |
113 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', | 119 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', |
114 }, | 120 }, |
115 'actions': [ | 121 'actions': [ |
116 { | 122 { |
117 'action_name': 'repack_app_shell_pack', | 123 'action_name': 'repack_app_shell_pack', |
118 'variables': { | 124 'variables': { |
119 'pak_inputs': [ | 125 'pak_inputs': [ |
120 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', | |
121 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', | |
122 '<(grit_out_dir)/common_resources.pak', | 126 '<(grit_out_dir)/common_resources.pak', |
123 '<(grit_out_dir)/extensions_api_resources.pak', | 127 '<(grit_out_dir)/extensions_api_resources.pak', |
| 128 # TODO(jamescook): extra the extension/app related resources |
| 129 # from generated_resources_en-US.pak and |
| 130 # theme_resources_100_percent.pak. |
| 131 '<(SHARED_INTERMEDIATE_DIR)/chrome/generated_resources_en-US.p
ak', |
| 132 '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources_100_perc
ent.pak', |
| 133 '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_100_percent
.pak', |
| 134 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak', |
| 135 '<(SHARED_INTERMEDIATE_DIR)/ui/app_locale_settings/app_locale_
settings_en-US.pak', |
| 136 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources_100_p
ercent.pak', |
| 137 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_strings/ui_strings_en-US.pak
', |
| 138 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak', |
124 ], | 139 ], |
125 }, | 140 }, |
126 'inputs': [ | 141 'inputs': [ |
127 '<(repack_path)', | 142 '<(repack_path)', |
128 '<@(pak_inputs)', | 143 '<@(pak_inputs)', |
129 ], | 144 ], |
130 'outputs': [ | 145 'outputs': [ |
131 '<(PRODUCT_DIR)/app_shell.pak', | 146 '<(PRODUCT_DIR)/app_shell.pak', |
132 ], | 147 ], |
133 'action': ['python', '<(repack_path)', '<@(_outputs)', | 148 'action': ['python', '<(repack_path)', '<@(_outputs)', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 'dependencies': [ | 214 'dependencies': [ |
200 '../sandbox/sandbox.gyp:sandbox', | 215 '../sandbox/sandbox.gyp:sandbox', |
201 ], | 216 ], |
202 }], | 217 }], |
203 ], | 218 ], |
204 }, | 219 }, |
205 ], # targets | 220 ], # targets |
206 }], # chromeos==1 | 221 }], # chromeos==1 |
207 ], # conditions | 222 ], # conditions |
208 } | 223 } |
OLD | NEW |