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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 { | 204 { |
205 # GN version: //chrome/renderer:resources | 205 # GN version: //chrome/renderer:resources |
206 'action_name': 'generate_renderer_resources', | 206 'action_name': 'generate_renderer_resources', |
207 'variables': { | 207 'variables': { |
208 'grit_grd_file': 'renderer/resources/renderer_resources.grd', | 208 'grit_grd_file': 'renderer/resources/renderer_resources.grd', |
209 }, | 209 }, |
210 'includes': [ 'chrome_grit_action.gypi' ], | 210 'includes': [ 'chrome_grit_action.gypi' ], |
211 }, | 211 }, |
212 ], | 212 ], |
213 'conditions': [ | 213 'conditions': [ |
214 ['enable_extensions==1', { | |
215 'actions': [ | |
216 { | |
217 # GN version: //chrome/common:extensions_api_resources | |
218 'action_name': 'generate_extensions_api_resources', | |
219 'variables': { | |
220 'grit_grd_file': 'common/extensions_api_resources.grd', | |
221 }, | |
222 'includes': [ 'chrome_grit_action.gypi' ], | |
223 } | |
224 ], | |
225 }], | |
226 ['OS != "android" and OS != "ios"', { | 214 ['OS != "android" and OS != "ios"', { |
227 'dependencies': [ 'make_file_types_protobuf' ] | 215 'dependencies': [ 'make_file_types_protobuf' ] |
228 }], | 216 }], |
229 ], | 217 ], |
230 'includes': [ '../build/grit_target.gypi' ], | 218 'includes': [ '../build/grit_target.gypi' ], |
231 }, | 219 }, |
232 { | 220 { |
233 # TODO(mark): It would be better if each static library that needed | 221 # TODO(mark): It would be better if each static library that needed |
234 # to run grit would list its own .grd files, but unfortunately some | 222 # to run grit would list its own .grd files, but unfortunately some |
235 # of the static libraries currently have circular dependencies among | 223 # of the static libraries currently have circular dependencies among |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', | 675 '<(SHARED_INTERMEDIATE_DIR)/chrome/webui_test_resources.pak', |
688 ], | 676 ], |
689 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', | 677 'pak_output': '<(PRODUCT_DIR)/browser_tests.pak', |
690 }, | 678 }, |
691 'includes': [ '../build/repack_action.gypi' ], | 679 'includes': [ '../build/repack_action.gypi' ], |
692 }, | 680 }, |
693 ], | 681 ], |
694 }, | 682 }, |
695 ], # targets | 683 ], # targets |
696 } | 684 } |
OLD | NEW |