OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | |
6 'chrome_features.gypi', | |
7 ], | |
5 'variables': { | 8 'variables': { |
9 # Apply Chrome-specific grit settings to all grit actions in this file. | |
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 10 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
11 'grit_additional_defines': [ '<@(chrome_grit_defines)' ], | |
12 | |
7 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', | 13 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', |
8 }, | 14 }, |
9 'targets': [ | 15 'targets': [ |
10 { | 16 { |
11 # GN version: //chrome:extra_resources | 17 # GN version: //chrome:extra_resources |
12 'target_name': 'chrome_extra_resources', | 18 'target_name': 'chrome_extra_resources', |
13 'type': 'none', | 19 'type': 'none', |
14 # These resources end up in resources.pak because they are resources | 20 # These resources end up in resources.pak because they are resources |
15 # used by internal pages. Putting them in a separate pak file makes | 21 # used by internal pages. Putting them in a separate pak file makes |
16 # it easier for us to reference them internally. | 22 # it easier for us to reference them internally. |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
181 'dependencies': [ | 187 'dependencies': [ |
182 'chrome_internal_resources_gen', | 188 'chrome_internal_resources_gen', |
183 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', | 189 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', |
184 ], | 190 ], |
185 'actions': [ | 191 'actions': [ |
186 { | 192 { |
187 # GN version: //chrome/browser:resources | 193 # GN version: //chrome/browser:resources |
188 'action_name': 'generate_browser_resources', | 194 'action_name': 'generate_browser_resources', |
189 'variables': { | 195 'variables': { |
190 'grit_grd_file': 'browser/browser_resources.grd', | 196 'grit_grd_file': 'browser/browser_resources.grd', |
191 'grit_additional_defines': [ | 197 'grit_additional_defines': [ |
Dan Beam
2015/12/31 03:08:38
this blocks <@(chrome_grit_defines) (and hence: -D
| |
192 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', | 198 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', |
193 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', | 199 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', |
194 ], | 200 ], |
195 }, | 201 }, |
196 'includes': [ '../build/grit_action.gypi' ], | 202 'includes': [ '../build/grit_action.gypi' ], |
197 }, | 203 }, |
198 { | 204 { |
199 # GN version: //chrome/common:resources | 205 # GN version: //chrome/common:resources |
200 'action_name': 'generate_common_resources', | 206 'action_name': 'generate_common_resources', |
201 'variables': { | 207 'variables': { |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
684 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 690 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
685 ], | 691 ], |
686 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 692 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
687 }, | 693 }, |
688 'includes': [ '../build/repack_action.gypi' ], | 694 'includes': [ '../build/repack_action.gypi' ], |
689 }, | 695 }, |
690 ], | 696 ], |
691 }, | 697 }, |
692 ], # targets | 698 ], # targets |
693 } | 699 } |
OLD | NEW |