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 'variables': { | 5 'variables': { |
6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', | 6 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', | 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', |
8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', | 8 'additional_modules_list_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/i nternal/additional_modules_list.txt', |
9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om nibox/omnibox.mojom.js', | |
10 }, | 9 }, |
11 'targets': [ | 10 'targets': [ |
12 { | 11 { |
13 # GN version: //chrome:extra_resources | 12 # GN version: //chrome:extra_resources |
14 'target_name': 'chrome_extra_resources', | 13 'target_name': 'chrome_extra_resources', |
15 'type': 'none', | 14 'type': 'none', |
16 # These resources end up in resources.pak because they are resources | 15 # These resources end up in resources.pak because they are resources |
17 # used by internal pages. Putting them in a separate pak file makes | 16 # used by internal pages. Putting them in a separate pak file makes |
18 # it easier for us to reference them internally. | 17 # it easier for us to reference them internally. |
19 'actions': [ | 18 'actions': [ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 ], | 194 ], |
196 'actions': [ | 195 'actions': [ |
197 { | 196 { |
198 # GN version: //chrome/browser:resources | 197 # GN version: //chrome/browser:resources |
199 'action_name': 'generate_browser_resources', | 198 'action_name': 'generate_browser_resources', |
200 'variables': { | 199 'variables': { |
201 'grit_grd_file': 'browser/browser_resources.grd', | 200 'grit_grd_file': 'browser/browser_resources.grd', |
202 'grit_additional_defines': [ | 201 'grit_additional_defines': [ |
203 '-E', 'about_credits_file=<(about_credits_file)', | 202 '-E', 'about_credits_file=<(about_credits_file)', |
204 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', | 203 '-E', 'additional_modules_list_file=<(additional_modules_list_file )', |
205 '-E', 'omnibox_mojom_file=<(omnibox_mojom_file)', | 204 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', |
sky
2015/09/10 17:22:24
How is the omnibox.mojom.js file picked up after y
calamity
2015/09/11 07:48:24
The change in browser_resources.grd specifies the
| |
206 ], | 205 ], |
207 }, | 206 }, |
208 'includes': [ '../build/grit_action.gypi' ], | 207 'includes': [ '../build/grit_action.gypi' ], |
209 }, | 208 }, |
210 { | 209 { |
211 # GN version: //chrome/common:resources | 210 # GN version: //chrome/common:resources |
212 'action_name': 'generate_common_resources', | 211 'action_name': 'generate_common_resources', |
213 'variables': { | 212 'variables': { |
214 'grit_grd_file': 'common/common_resources.grd', | 213 'grit_grd_file': 'common/common_resources.grd', |
215 }, | 214 }, |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
665 '<(generator_path)', | 664 '<(generator_path)', |
666 'credits', | 665 'credits', |
667 '<(about_credits_file)', | 666 '<(about_credits_file)', |
668 ], | 667 ], |
669 'message': 'Generating about:credits', | 668 'message': 'Generating about:credits', |
670 }, | 669 }, |
671 ], | 670 ], |
672 }, | 671 }, |
673 ], # targets | 672 ], # targets |
674 } | 673 } |
OLD | NEW |