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 # Apply Chrome-specific grit settings to all of this file. | 6 # Apply Chrome-specific grit settings to all of this file. |
7 # The advantage is that one entry here applies to the entire file. | 7 # The advantage is that one entry here applies to the entire file. |
8 # The caveat is these variables cannot be merged with other variable | 8 # The caveat is these variables cannot be merged with other variable |
9 # dictionaries in more inner scopes. If the variable should be merged, | 9 # dictionaries in more inner scopes. If the variable should be merged, |
10 # consider putting them in a gypi file and including it at the right scope | 10 # consider putting them in a gypi file and including it at the right scope |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 # TODO(mark): It would be better if each static library that needed | 170 # TODO(mark): It would be better if each static library that needed |
171 # to run grit would list its own .grd files, but unfortunately some | 171 # to run grit would list its own .grd files, but unfortunately some |
172 # of the static libraries currently have circular dependencies among | 172 # of the static libraries currently have circular dependencies among |
173 # generated headers. | 173 # generated headers. |
174 # | 174 # |
175 # GN version: //chrome:resources | 175 # GN version: //chrome:resources |
176 'target_name': 'chrome_resources', | 176 'target_name': 'chrome_resources', |
177 'type': 'none', | 177 'type': 'none', |
178 'dependencies': [ | 178 'dependencies': [ |
179 'chrome_internal_resources_gen', | 179 'chrome_internal_resources_gen', |
| 180 'chrome_mojo_manifests', |
180 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', | 181 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', |
181 ], | 182 ], |
182 'actions': [ | 183 'actions': [ |
183 { | 184 { |
184 # GN version: //chrome/browser:resources | 185 # GN version: //chrome/browser:resources |
185 'action_name': 'generate_browser_resources', | 186 'action_name': 'generate_browser_resources', |
186 'variables': { | 187 'variables': { |
187 'grit_grd_file': 'browser/browser_resources.grd', | 188 'grit_grd_file': 'browser/browser_resources.grd', |
188 'grit_additional_defines': [ | 189 'grit_additional_defines': [ |
189 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', | 190 '-E', 'additional_modules_list_file=<(additional_modules_list_file
)', |
190 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', | 191 '-E', 'root_gen_dir=<(SHARED_INTERMEDIATE_DIR)', |
| 192 '-E', 'root_out_dir=<(PRODUCT_DIR)', |
191 ], | 193 ], |
192 }, | 194 }, |
193 'includes': [ 'chrome_grit_action.gypi' ], | 195 'includes': [ 'chrome_grit_action.gypi' ], |
194 }, | 196 }, |
195 { | 197 { |
196 # GN version: //chrome/common:resources | 198 # GN version: //chrome/common:resources |
197 'action_name': 'generate_common_resources', | 199 'action_name': 'generate_common_resources', |
198 'variables': { | 200 'variables': { |
199 'grit_grd_file': 'common/common_resources.grd', | 201 'grit_grd_file': 'common/common_resources.grd', |
200 }, | 202 }, |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 'pak_inputs': [ | 681 'pak_inputs': [ |
680 '<(SHARED_INTERMEDIATE_DIR)/chrome/options_test_resources.pak', | 682 '<(SHARED_INTERMEDIATE_DIR)/chrome/options_test_resources.pak', |
681 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 683 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
682 ], | 684 ], |
683 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 685 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
684 }, | 686 }, |
685 'includes': [ '../build/repack_action.gypi' ], | 687 'includes': [ '../build/repack_action.gypi' ], |
686 }, | 688 }, |
687 ], | 689 ], |
688 }, | 690 }, |
| 691 { |
| 692 # GN version: //chrome/app:chrome_manifest |
| 693 'target_name': 'chrome_manifest', |
| 694 'type': 'none', |
| 695 'variables': { |
| 696 'application_type': 'exe', |
| 697 'application_name': 'chrome', |
| 698 'source_manifest': '<(DEPTH)/chrome/app/mojo/chrome_manifest.json', |
| 699 }, |
| 700 'includes': [ |
| 701 '../mojo/public/mojo_application_manifest.gypi', |
| 702 ], |
| 703 'hard_dependency': 1, |
| 704 }, |
| 705 { |
| 706 # GN version: //chrome/app:chrome_renderer_manifest |
| 707 'target_name': 'chrome_renderer_manifest', |
| 708 'type': 'none', |
| 709 'variables': { |
| 710 'application_type': 'exe', |
| 711 'application_name': 'chrome_renderer', |
| 712 'source_manifest': |
| 713 '<(DEPTH)/chrome/app/mojo/chrome_renderer_manifest.json', |
| 714 }, |
| 715 'includes': [ |
| 716 '../mojo/public/mojo_application_manifest.gypi', |
| 717 ], |
| 718 'hard_dependency': 1, |
| 719 }, |
| 720 { |
| 721 # GN version: //chrome/app:mojo_manifests |
| 722 'target_name': 'chrome_mojo_manifests', |
| 723 'type': 'none', |
| 724 'dependencies': [ |
| 725 'chrome_manifest', |
| 726 'chrome_renderer_manifest', |
| 727 ], |
| 728 'hard_dependency': 1, |
| 729 }, |
689 ], # targets | 730 ], # targets |
690 } | 731 } |
OLD | NEW |