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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 ], | 186 ], |
188 'actions': [ | 187 'actions': [ |
189 { | 188 { |
190 # GN version: //chrome/browser:resources | 189 # GN version: //chrome/browser:resources |
191 'action_name': 'generate_browser_resources', | 190 'action_name': 'generate_browser_resources', |
192 'variables': { | 191 'variables': { |
193 'grit_grd_file': 'browser/browser_resources.grd', | 192 'grit_grd_file': 'browser/browser_resources.grd', |
194 'grit_additional_defines': [ | 193 'grit_additional_defines': [ |
195 '-E', 'about_credits_file=<(about_credits_file)', | 194 '-E', 'about_credits_file=<(about_credits_file)', |
196 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', | 195 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', |
197 '-E', 'omnibox_mojom_file=<(omnibox_mojom_file)', | 196 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', |
198 ], | 197 ], |
199 }, | 198 }, |
200 'includes': [ '../build/grit_action.gypi' ], | 199 'includes': [ '../build/grit_action.gypi' ], |
201 }, | 200 }, |
202 { | 201 { |
203 # GN version: //chrome/common:resources | 202 # GN version: //chrome/common:resources |
204 'action_name': 'generate_common_resources', | 203 'action_name': 'generate_common_resources', |
205 'variables': { | 204 'variables': { |
206 'grit_grd_file': 'common/common_resources.grd', | 205 'grit_grd_file': 'common/common_resources.grd', |
207 }, | 206 }, |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 '<(generator_path)', | 656 '<(generator_path)', |
658 'credits', | 657 'credits', |
659 '<(about_credits_file)', | 658 '<(about_credits_file)', |
660 ], | 659 ], |
661 'message': 'Generating about:credits', | 660 'message': 'Generating about:credits', |
662 }, | 661 }, |
663 ], | 662 ], |
664 }, | 663 }, |
665 ], # targets | 664 ], # targets |
666 } | 665 } |
OLD | NEW |