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

Side by Side Diff: chrome/BUILD.gn

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Synchronize with new version of gn patch Created 5 years, 1 month 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
OLDNEW
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/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//build/config/win/manifest.gni") 10 import("//build/config/win/manifest.gni")
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 "$root_out_dir/default_apps/{{source_file_part}}", 605 "$root_out_dir/default_apps/{{source_file_part}}",
606 ] 606 ]
607 607
608 # Force anybody that depends on this to get the default apps as data files. 608 # Force anybody that depends on this to get the default apps as data files.
609 data = process_file_template(sources, outputs) 609 data = process_file_template(sources, outputs)
610 } 610 }
611 } 611 }
612 612
613 group("packed_resources") { 613 group("packed_resources") {
614 public_deps = [ 614 public_deps = [
615 ":repack_chrome_100_percent",
615 ":repack_locales_pack", 616 ":repack_locales_pack",
616 ":repack_pseudo_locales_pack", 617 ":repack_pseudo_locales_pack",
617 ":repack_chrome_100_percent",
618 ] 618 ]
619 619
620 if (is_chrome_branded) { 620 if (is_chrome_branded) {
621 public_deps += [ ":default_apps" ] 621 public_deps += [ ":default_apps" ]
622 } 622 }
623 623
624 if (enable_hidpi) { 624 if (enable_hidpi) {
625 public_deps += [ ":repack_chrome_200_percent" ] 625 public_deps += [ ":repack_chrome_200_percent" ]
626 } 626 }
627 627
(...skipping 16 matching lines...) Expand all
644 "$root_gen_dir/chrome/memory_internals_resources.pak", 644 "$root_gen_dir/chrome/memory_internals_resources.pak",
645 "$root_gen_dir/chrome/net_internals_resources.pak", 645 "$root_gen_dir/chrome/net_internals_resources.pak",
646 "$root_gen_dir/chrome/password_manager_internals_resources.pak", 646 "$root_gen_dir/chrome/password_manager_internals_resources.pak",
647 "$root_gen_dir/chrome/signin_internals_resources.pak", 647 "$root_gen_dir/chrome/signin_internals_resources.pak",
648 "$root_gen_dir/chrome/translate_internals_resources.pak", 648 "$root_gen_dir/chrome/translate_internals_resources.pak",
649 "$root_gen_dir/components/components_resources.pak", 649 "$root_gen_dir/components/components_resources.pak",
650 "$root_gen_dir/net/net_resources.pak", 650 "$root_gen_dir/net/net_resources.pak",
651 "$root_gen_dir/ui/resources/webui_resources.pak", 651 "$root_gen_dir/ui/resources/webui_resources.pak",
652 ] 652 ]
653 deps = [ 653 deps = [
654 "//chrome/app/theme:chrome_unscaled_resources",
654 "//chrome/browser:resources", 655 "//chrome/browser:resources",
655 "//chrome/app/theme:chrome_unscaled_resources",
656 "//chrome/common:resources",
657 "//chrome/browser/resources:invalidations_resources", 656 "//chrome/browser/resources:invalidations_resources",
658 "//chrome/browser/resources:memory_internals_resources", 657 "//chrome/browser/resources:memory_internals_resources",
659 "//chrome/browser/resources:net_internals_resources", 658 "//chrome/browser/resources:net_internals_resources",
660 "//chrome/browser/resources:password_manager_internals_resources", 659 "//chrome/browser/resources:password_manager_internals_resources",
661 "//chrome/browser/resources:signin_internals_resources", 660 "//chrome/browser/resources:signin_internals_resources",
662 "//chrome/browser/resources:translate_internals_resources", 661 "//chrome/browser/resources:translate_internals_resources",
662 "//chrome/common:resources",
663 "//components/resources", 663 "//components/resources",
664 "//net:net_resources", 664 "//net:net_resources",
665 "//ui/resources", 665 "//ui/resources",
666 ] 666 ]
667 667
668 if (!is_ios && !is_android) { 668 if (!is_ios && !is_android) {
669 # New paks should be added here by default. 669 # New paks should be added here by default.
670 sources += [ 670 sources += [
671 "$root_gen_dir/blink/devtools_resources.pak", 671 "$root_gen_dir/blink/devtools_resources.pak",
672 "$root_gen_dir/chrome/component_extension_resources.pak", 672 "$root_gen_dir/chrome/component_extension_resources.pak",
673 "$root_gen_dir/chrome/options_resources.pak", 673 "$root_gen_dir/chrome/options_resources.pak",
674 "$root_gen_dir/chrome/quota_internals_resources.pak", 674 "$root_gen_dir/chrome/quota_internals_resources.pak",
675 "$root_gen_dir/chrome/settings_resources.pak", 675 "$root_gen_dir/chrome/settings_resources.pak",
676 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", 676 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak",
677 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", 677 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak",
678 ] 678 ]
679 deps += [ 679 deps += [
680 "//chrome/browser/devtools:webrtc_device_provider_resources", 680 "//chrome/browser/devtools:webrtc_device_provider_resources",
681 "//chrome/browser/resources:component_extension_resources", 681 "//chrome/browser/resources:component_extension_resources",
682 "//chrome/browser/resources:options_resources", 682 "//chrome/browser/resources:options_resources",
683 "//chrome/browser/resources:quota_internals_resources",
683 "//chrome/browser/resources:settings_resources", 684 "//chrome/browser/resources:settings_resources",
684 "//chrome/browser/resources:quota_internals_resources",
685 "//chrome/browser/resources:sync_file_system_internals_resources", 685 "//chrome/browser/resources:sync_file_system_internals_resources",
686 "//content/browser/devtools:devtools_resources", 686 "//content/browser/devtools:devtools_resources",
687 ] 687 ]
688 } 688 }
689 if (!is_ios) { 689 if (!is_ios) {
690 sources += [ 690 sources += [
691 "$root_gen_dir/blink/public/resources/blink_resources.pak", 691 "$root_gen_dir/blink/public/resources/blink_resources.pak",
692 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", 692 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
693 "$root_gen_dir/content/content_resources.pak", 693 "$root_gen_dir/content/content_resources.pak",
694 ] 694 ]
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1060 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1061 "//chrome/tools/build/linux/chrome-wrapper", 1061 "//chrome/tools/build/linux/chrome-wrapper",
1062 "//third_party/xdg-utils/scripts/xdg-mime", 1062 "//third_party/xdg-utils/scripts/xdg-mime",
1063 "//third_party/xdg-utils/scripts/xdg-settings", 1063 "//third_party/xdg-utils/scripts/xdg-settings",
1064 ] 1064 ]
1065 outputs = [ 1065 outputs = [
1066 "$root_out_dir/{{source_file_part}}", 1066 "$root_out_dir/{{source_file_part}}",
1067 ] 1067 ]
1068 } 1068 }
1069 } 1069 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698