Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Side by Side Diff: chrome/chrome_resources.gyp

Issue 2257003002: [Extensions] Generate all schema resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_repack_resources.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_resources.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698