OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/locales.gni") | 7 import("//build/config/locales.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
10 import("//chrome/chrome_repack_locales.gni") | 10 import("//chrome/chrome_repack_locales.gni") |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 "//chrome/browser/resources:net_internals_resources", | 520 "//chrome/browser/resources:net_internals_resources", |
521 "//chrome/browser/resources:password_manager_internals_resources", | 521 "//chrome/browser/resources:password_manager_internals_resources", |
522 "//chrome/browser/resources:signin_internals_resources", | 522 "//chrome/browser/resources:signin_internals_resources", |
523 "//chrome/browser/resources:sync_internals_resources", | 523 "//chrome/browser/resources:sync_internals_resources", |
524 "//chrome/browser/resources:translate_internals_resources", | 524 "//chrome/browser/resources:translate_internals_resources", |
525 "//components/resources", | 525 "//components/resources", |
526 "//net:net_resources", | 526 "//net:net_resources", |
527 "//ui/resources", | 527 "//ui/resources", |
528 ] | 528 ] |
529 | 529 |
530 if (!is_ios && !is_android) { | 530 if (!is_ios && (!is_android || use_aura)) { |
531 # New paks should be added here by default. | 531 sources += [ |
532 sources += [ | 532 "$root_gen_dir/blink/devtools_resources.pak", |
533 "$root_gen_dir/blink/devtools_resources.pak", | 533 "$root_gen_dir/chrome/component_extension_resources.pak", |
534 "$root_gen_dir/chrome/component_extension_resources.pak", | 534 "$root_gen_dir/chrome/options_resources.pak", |
535 "$root_gen_dir/chrome/options_resources.pak", | 535 ] |
536 "$root_gen_dir/chrome/quota_internals_resources.pak", | 536 deps += [ |
537 "$root_gen_dir/chrome/settings_resources.pak", | 537 "//chrome/browser/resources:component_extension_resources", |
538 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", | 538 "//content/browser/devtools:devtools_resources", |
539 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", | 539 "//chrome/browser/resources:options_resources", |
540 ] | 540 ] |
541 deps += [ | 541 if (!is_android) { |
542 "//chrome/browser/devtools:webrtc_device_provider_resources", | 542 # New paks should be added here by default. |
543 "//chrome/browser/resources:component_extension_resources", | 543 sources += [ |
544 "//chrome/browser/resources:options_resources", | 544 "$root_gen_dir/chrome/quota_internals_resources.pak", |
545 "//chrome/browser/resources:settings_resources", | 545 "$root_gen_dir/chrome/settings_resources.pak", |
546 "//chrome/browser/resources:quota_internals_resources", | 546 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", |
547 "//chrome/browser/resources:sync_file_system_internals_resources", | 547 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", |
548 "//content/browser/devtools:devtools_resources", | 548 ] |
549 ] | 549 deps += [ |
| 550 "//chrome/browser/devtools:webrtc_device_provider_resources", |
| 551 "//chrome/browser/resources:settings_resources", |
| 552 "//chrome/browser/resources:quota_internals_resources", |
| 553 "//chrome/browser/resources:sync_file_system_internals_resources", |
| 554 ] |
| 555 } |
550 } | 556 } |
551 if (!is_ios) { | 557 if (!is_ios) { |
552 sources += [ | 558 sources += [ |
553 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 559 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
554 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", | 560 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", |
555 "$root_gen_dir/content/content_resources.pak", | 561 "$root_gen_dir/content/content_resources.pak", |
556 ] | 562 ] |
557 deps += [ | 563 deps += [ |
558 "//content:resources", | 564 "//content:resources", |
559 "//content/browser/tracing:resources", | 565 "//content/browser/tracing:resources", |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 deps += [ "//ui/views/resources" ] | 691 deps += [ "//ui/views/resources" ] |
686 } | 692 } |
687 if (is_chromeos) { | 693 if (is_chromeos) { |
688 sources += [ "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${
percent}_percent.pak" ] | 694 sources += [ "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_${
percent}_percent.pak" ] |
689 deps += [ "//ui/chromeos/resources" ] | 695 deps += [ "//ui/chromeos/resources" ] |
690 } | 696 } |
691 if (enable_extensions) { | 697 if (enable_extensions) { |
692 sources += [ "$root_gen_dir/extensions/extensions_browser_resources_${perc
ent}_percent.pak" ] | 698 sources += [ "$root_gen_dir/extensions/extensions_browser_resources_${perc
ent}_percent.pak" ] |
693 deps += [ "//extensions:extensions_browser_resources" ] | 699 deps += [ "//extensions:extensions_browser_resources" ] |
694 } | 700 } |
| 701 if (enable_app_list) { |
| 702 sources += [ "$root_gen_dir/ui/app_list/resources/app_list_resources_${per
cent}_percent.pak" ] |
| 703 deps += [ "//ui/app_list/resources" ] |
| 704 } |
695 | 705 |
696 output = repack_output_file | 706 output = repack_output_file |
697 } | 707 } |
698 | 708 |
699 copy(copy_name) { | 709 copy(copy_name) { |
700 visibility = [ ":*" ] | 710 visibility = [ ":*" ] |
701 deps = [ | 711 deps = [ |
702 ":$repack_name", | 712 ":$repack_name", |
703 ] | 713 ] |
704 sources = [ | 714 sources = [ |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 rebase_path(chrome_binary, root_build_dir), | 918 rebase_path(chrome_binary, root_build_dir), |
909 rebase_path(symbol_file, root_build_dir), | 919 rebase_path(symbol_file, root_build_dir), |
910 ] | 920 ] |
911 | 921 |
912 deps = [ | 922 deps = [ |
913 ":chrome", | 923 ":chrome", |
914 dump_syms_label, | 924 dump_syms_label, |
915 ] | 925 ] |
916 } | 926 } |
917 } | 927 } |
OLD | NEW |