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', | 9 'omnibox_mojom_file': '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/ui/webui/om
nibox/omnibox.mojom.js', |
| 10 'get_salient_image_url_gen_js': '<(SHARED_INTERMEDIATE_DIR)/closure/chrome/b
rowser/resources/enhanced_bookmarks/get_salient_image_url.js', |
10 }, | 11 }, |
11 'targets': [ | 12 'targets': [ |
12 { | 13 { |
13 # GN version: //chrome:extra_resources | 14 # GN version: //chrome:extra_resources |
14 'target_name': 'chrome_extra_resources', | 15 'target_name': 'chrome_extra_resources', |
15 'type': 'none', | 16 'type': 'none', |
16 # These resources end up in resources.pak because they are resources | 17 # These resources end up in resources.pak because they are resources |
17 # used by internal pages. Putting them in a separate pak file makes | 18 # used by internal pages. Putting them in a separate pak file makes |
18 # it easier for us to reference them internally. | 19 # it easier for us to reference them internally. |
19 'actions': [ | 20 'actions': [ |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 'actions': [ | 189 'actions': [ |
189 { | 190 { |
190 # GN version: //chrome/browser:resources | 191 # GN version: //chrome/browser:resources |
191 'action_name': 'generate_browser_resources', | 192 'action_name': 'generate_browser_resources', |
192 'variables': { | 193 'variables': { |
193 'grit_grd_file': 'browser/browser_resources.grd', | 194 'grit_grd_file': 'browser/browser_resources.grd', |
194 'grit_additional_defines': [ | 195 'grit_additional_defines': [ |
195 '-E', 'about_credits_file=<(about_credits_file)', | 196 '-E', 'about_credits_file=<(about_credits_file)', |
196 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', | 197 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', |
197 '-E', 'omnibox_mojom_file=<(omnibox_mojom_file)', | 198 '-E', 'omnibox_mojom_file=<(omnibox_mojom_file)', |
| 199 '-E', 'get_salient_image_url_gen_js=<(get_salient_image_url_gen_js
)', |
198 ], | 200 ], |
199 }, | 201 }, |
200 'includes': [ '../build/grit_action.gypi' ], | 202 'includes': [ '../build/grit_action.gypi' ], |
201 }, | 203 }, |
202 { | 204 { |
203 # GN version: //chrome/common:resources | 205 # GN version: //chrome/common:resources |
204 'action_name': 'generate_common_resources', | 206 'action_name': 'generate_common_resources', |
205 'variables': { | 207 'variables': { |
206 'grit_grd_file': 'common/common_resources.grd', | 208 'grit_grd_file': 'common/common_resources.grd', |
207 }, | 209 }, |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 '<(generator_path)', | 614 '<(generator_path)', |
613 'credits', | 615 'credits', |
614 '<(about_credits_file)', | 616 '<(about_credits_file)', |
615 ], | 617 ], |
616 'message': 'Generating about:credits', | 618 'message': 'Generating about:credits', |
617 }, | 619 }, |
618 ], | 620 ], |
619 }, | 621 }, |
620 ], # targets | 622 ], # targets |
621 } | 623 } |
OLD | NEW |