| 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 'base_manifest': '<(PRODUCT_DIR)/content_browser_manifest.json', |
| 700 }, |
| 701 'includes': [ |
| 702 '../mojo/public/mojo_application_manifest.gypi', |
| 703 ], |
| 704 'dependencies': [ |
| 705 '<(DEPTH)/content/content.gyp:content_app_browser_manifest', |
| 706 ], |
| 707 'hard_dependency': 1, |
| 708 }, |
| 709 { |
| 710 # GN version: //chrome/app:chrome_renderer_manifest |
| 711 'target_name': 'chrome_renderer_manifest', |
| 712 'type': 'none', |
| 713 'variables': { |
| 714 'application_type': 'exe', |
| 715 'application_name': 'chrome_renderer', |
| 716 'source_manifest': |
| 717 '<(DEPTH)/chrome/app/mojo/chrome_renderer_manifest.json', |
| 718 'base_manifest': '<(PRODUCT_DIR)/content_renderer_manifest.json', |
| 719 }, |
| 720 'includes': [ |
| 721 '../mojo/public/mojo_application_manifest.gypi', |
| 722 ], |
| 723 'dependencies': [ |
| 724 '<(DEPTH)/content/content.gyp:content_app_renderer_manifest', |
| 725 ], |
| 726 'hard_dependency': 1, |
| 727 }, |
| 728 { |
| 729 # GN version: //chrome/app:mojo_manifests |
| 730 'target_name': 'chrome_mojo_manifests', |
| 731 'type': 'none', |
| 732 'dependencies': [ |
| 733 'chrome_manifest', |
| 734 'chrome_renderer_manifest', |
| 735 ], |
| 736 'hard_dependency': 1, |
| 737 }, |
| 689 ], # targets | 738 ], # targets |
| 690 } | 739 } |
| OLD | NEW |