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

Side by Side Diff: chrome/chrome_resources.gyp

Issue 541153002: Hook up resources to the chrome GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_locales.gni ('k') | content/browser/devtools/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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 'action_name': 'generate_theme_resources', 371 'action_name': 'generate_theme_resources',
372 'variables': { 372 'variables': {
373 'grit_grd_file': 'app/theme/theme_resources.grd', 373 'grit_grd_file': 'app/theme/theme_resources.grd',
374 }, 374 },
375 'includes': [ '../build/grit_action.gypi' ], 375 'includes': [ '../build/grit_action.gypi' ],
376 }, 376 },
377 ], 377 ],
378 'includes': [ '../build/grit_target.gypi' ], 378 'includes': [ '../build/grit_target.gypi' ],
379 }, 379 },
380 { 380 {
381 # GN version: //chrome:packed_extra_resources
381 'target_name': 'packed_extra_resources', 382 'target_name': 'packed_extra_resources',
382 'type': 'none', 383 'type': 'none',
383 'dependencies': [ 384 'dependencies': [
384 'chrome_extra_resources', 385 'chrome_extra_resources',
385 'packed_resources', 386 'packed_resources',
386 ], 387 ],
387 'actions': [ 388 'actions': [
388 { 389 {
389 'includes': ['chrome_repack_resources.gypi'] 390 'includes': ['chrome_repack_resources.gypi']
390 }, 391 },
391 ], 392 ],
392 'conditions': [ 393 'conditions': [
393 ['OS != "mac" and OS != "ios"', { 394 ['OS != "mac" and OS != "ios"', {
394 # We'll install the resource files to the product directory. The Mac 395 # We'll install the resource files to the product directory. The Mac
395 # copies the results over as bundle resources in its own special way. 396 # copies the results over as bundle resources in its own special way.
396 'copies': [ 397 'copies': [
397 { 398 {
398 'destination': '<(PRODUCT_DIR)', 399 'destination': '<(PRODUCT_DIR)',
399 'files': [ 400 'files': [
400 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak' 401 '<(SHARED_INTERMEDIATE_DIR)/repack/resources.pak'
401 ], 402 ],
402 }, 403 },
403 ], 404 ],
404 }], 405 }],
405 ], 406 ],
406 }, 407 },
407 { 408 {
409 # GN version: //chrome:packed_resources
408 'target_name': 'packed_resources', 410 'target_name': 'packed_resources',
409 'type': 'none', 411 'type': 'none',
410 'dependencies': [ 412 'dependencies': [
411 # MSVS needs the dependencies explictly named, Make is able to 413 # MSVS needs the dependencies explictly named, Make is able to
412 # derive the dependencies from the output files. 414 # derive the dependencies from the output files.
413 'chrome_resources', 415 'chrome_resources',
414 'chrome_strings', 416 'chrome_strings',
415 'platform_locale_settings', 417 'platform_locale_settings',
416 'theme_resources', 418 'theme_resources',
417 '<(DEPTH)/components/components_strings.gyp:components_strings', 419 '<(DEPTH)/components/components_strings.gyp:components_strings',
418 '<(DEPTH)/net/net.gyp:net_resources', 420 '<(DEPTH)/net/net.gyp:net_resources',
419 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources', 421 '<(DEPTH)/ui/resources/ui_resources.gyp:ui_resources',
420 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings', 422 '<(DEPTH)/ui/strings/ui_strings.gyp:ui_strings',
421 ], 423 ],
422 'actions': [ 424 'actions': [
423 { 425 {
426 # GN version: //chrome:repack_locales_pack
424 'action_name': 'repack_locales_pack', 427 'action_name': 'repack_locales_pack',
425 'variables': { 428 'variables': {
426 'pak_locales': '<(locales)', 429 'pak_locales': '<(locales)',
427 }, 430 },
428 'includes': ['chrome_repack_locales.gypi'] 431 'includes': ['chrome_repack_locales.gypi']
429 }, 432 },
430 { 433 {
434 # GN version: //chrome:repack_pseudo_locales_pack
431 'action_name': 'repack_pseudo_locales_pack', 435 'action_name': 'repack_pseudo_locales_pack',
432 'variables': { 436 'variables': {
433 'pak_locales': '<(pseudo_locales)', 437 'pak_locales': '<(pseudo_locales)',
434 }, 438 },
435 'includes': ['chrome_repack_locales.gypi'] 439 'includes': ['chrome_repack_locales.gypi']
436 }, 440 },
437 { 441 {
438 'includes': ['chrome_repack_chrome_100_percent.gypi'] 442 'includes': ['chrome_repack_chrome_100_percent.gypi']
439 }, 443 },
440 { 444 {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 '<(generator_path)', 576 '<(generator_path)',
573 'credits', 577 'credits',
574 '<(about_credits_file)', 578 '<(about_credits_file)',
575 ], 579 ],
576 'message': 'Generating about:credits', 580 'message': 'Generating about:credits',
577 }, 581 },
578 ], 582 ],
579 }, 583 },
580 ], # targets 584 ], # targets
581 } 585 }
OLDNEW
« no previous file with comments | « chrome/chrome_repack_locales.gni ('k') | content/browser/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698