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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 348663003: Work toward a chrome/common GN target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no android Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_common.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 '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 }, 10 },
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 ], 161 ],
162 }], 162 }],
163 ], 163 ],
164 }, 164 },
165 { 165 {
166 # TODO(mark): It would be better if each static library that needed 166 # TODO(mark): It would be better if each static library that needed
167 # to run grit would list its own .grd files, but unfortunately some 167 # to run grit would list its own .grd files, but unfortunately some
168 # of the static libraries currently have circular dependencies among 168 # of the static libraries currently have circular dependencies among
169 # generated headers. 169 # generated headers.
170 170 #
171 # GN version: //chrome:resources 171 # GN version: //chrome:resources
172 'target_name': 'chrome_resources', 172 'target_name': 'chrome_resources',
173 'type': 'none', 173 'type': 'none',
174 'dependencies': [ 174 'dependencies': [
175 'about_credits', 175 'about_credits',
176 'chrome_internal_resources_gen', 176 'chrome_internal_resources_gen',
177 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings', 177 'chrome_web_ui_mojo_bindings.gyp:web_ui_mojo_bindings',
178 ], 178 ],
179 'actions': [ 179 'actions': [
180 { 180 {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 ], 221 ],
222 }], 222 }],
223 ], 223 ],
224 'includes': [ '../build/grit_target.gypi' ], 224 'includes': [ '../build/grit_target.gypi' ],
225 }, 225 },
226 { 226 {
227 # TODO(mark): It would be better if each static library that needed 227 # TODO(mark): It would be better if each static library that needed
228 # to run grit would list its own .grd files, but unfortunately some 228 # to run grit would list its own .grd files, but unfortunately some
229 # of the static libraries currently have circular dependencies among 229 # of the static libraries currently have circular dependencies among
230 # generated headers. 230 # generated headers.
231 #
232 # GN version: //chrome:strings
231 'target_name': 'chrome_strings', 233 'target_name': 'chrome_strings',
232 'type': 'none', 234 'type': 'none',
233 'actions': [ 235 'actions': [
234 { 236 {
237 # GN version: //chrome/app/resources:locale_settings
235 'action_name': 'generate_locale_settings', 238 'action_name': 'generate_locale_settings',
236 'variables': { 239 'variables': {
237 'grit_grd_file': 'app/resources/locale_settings.grd', 240 'grit_grd_file': 'app/resources/locale_settings.grd',
238 }, 241 },
239 'includes': [ '../build/grit_action.gypi' ], 242 'includes': [ '../build/grit_action.gypi' ],
240 }, 243 },
241 { 244 {
245 # GN version: //chrome/app:chromium_strings
242 'action_name': 'generate_chromium_strings', 246 'action_name': 'generate_chromium_strings',
243 'variables': { 247 'variables': {
244 'grit_grd_file': 'app/chromium_strings.grd', 248 'grit_grd_file': 'app/chromium_strings.grd',
245 }, 249 },
246 'includes': [ '../build/grit_action.gypi' ], 250 'includes': [ '../build/grit_action.gypi' ],
247 }, 251 },
248 { 252 {
253 # GN version: //chrome/app:generated_resources
249 'action_name': 'generate_generated_resources', 254 'action_name': 'generate_generated_resources',
250 'variables': { 255 'variables': {
251 'grit_grd_file': 'app/generated_resources.grd', 256 'grit_grd_file': 'app/generated_resources.grd',
252 }, 257 },
253 'includes': [ '../build/grit_action.gypi' ], 258 'includes': [ '../build/grit_action.gypi' ],
254 }, 259 },
255 { 260 {
261 # GN version: //chrome/app:google_chrome_strings
256 'action_name': 'generate_google_chrome_strings', 262 'action_name': 'generate_google_chrome_strings',
257 'variables': { 263 'variables': {
258 'grit_grd_file': 'app/google_chrome_strings.grd', 264 'grit_grd_file': 'app/google_chrome_strings.grd',
259 }, 265 },
260 'includes': [ '../build/grit_action.gypi' ], 266 'includes': [ '../build/grit_action.gypi' ],
261 }, 267 },
262 ], 268 ],
263 'includes': [ '../build/grit_target.gypi' ], 269 'includes': [ '../build/grit_target.gypi' ],
264 }, 270 },
265 { 271 {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 'action_name': 'generate_platform_locale_settings', 333 'action_name': 'generate_platform_locale_settings',
328 'variables': { 334 'variables': {
329 'grit_grd_file': '<(platform_locale_settings_grd)', 335 'grit_grd_file': '<(platform_locale_settings_grd)',
330 }, 336 },
331 'includes': [ '../build/grit_action.gypi' ], 337 'includes': [ '../build/grit_action.gypi' ],
332 }, 338 },
333 ], 339 ],
334 'includes': [ '../build/grit_target.gypi' ], 340 'includes': [ '../build/grit_target.gypi' ],
335 }, 341 },
336 { 342 {
343 # GN version: //chrome/app/theme:theme_resources
337 'target_name': 'theme_resources', 344 'target_name': 'theme_resources',
338 'type': 'none', 345 'type': 'none',
339 'dependencies': [ 346 'dependencies': [
340 '../ui/resources/ui_resources.gyp:ui_resources', 347 '../ui/resources/ui_resources.gyp:ui_resources',
341 'chrome_unscaled_resources', 348 'chrome_unscaled_resources',
342 ], 349 ],
343 'actions': [ 350 'actions': [
344 { 351 {
345 'action_name': 'generate_theme_resources', 352 'action_name': 'generate_theme_resources',
346 'variables': { 353 'variables': {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 '<(generator_path)', 537 '<(generator_path)',
531 'credits', 538 'credits',
532 '<(about_credits_file)', 539 '<(about_credits_file)',
533 ], 540 ],
534 'message': 'Generating about:credits', 541 'message': 'Generating about:credits',
535 }, 542 },
536 ], 543 ],
537 }, 544 },
538 ], # targets 545 ], # targets
539 } 546 }
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698