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

Side by Side Diff: chrome/BUILD.gn

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/locales.gni") 8 import("//build/config/locales.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 "$root_out_dir/default_apps/{{source_file_part}}", 613 "$root_out_dir/default_apps/{{source_file_part}}",
614 ] 614 ]
615 615
616 # Force anybody that depends on this to get the default apps as data files. 616 # Force anybody that depends on this to get the default apps as data files.
617 data = process_file_template(sources, outputs) 617 data = process_file_template(sources, outputs)
618 } 618 }
619 } 619 }
620 620
621 group("packed_resources") { 621 group("packed_resources") {
622 public_deps = [ 622 public_deps = [
623 ":repack_chrome_100_percent",
623 ":repack_locales_pack", 624 ":repack_locales_pack",
624 ":repack_pseudo_locales_pack", 625 ":repack_pseudo_locales_pack",
625 ":repack_chrome_100_percent",
626 ] 626 ]
627 627
628 if (is_chrome_branded) { 628 if (is_chrome_branded) {
629 public_deps += [ ":default_apps" ] 629 public_deps += [ ":default_apps" ]
630 } 630 }
631 631
632 if (enable_hidpi) { 632 if (enable_hidpi) {
633 public_deps += [ ":repack_chrome_200_percent" ] 633 public_deps += [ ":repack_chrome_200_percent" ]
634 } 634 }
635 635
(...skipping 16 matching lines...) Expand all
652 "$root_gen_dir/chrome/memory_internals_resources.pak", 652 "$root_gen_dir/chrome/memory_internals_resources.pak",
653 "$root_gen_dir/chrome/net_internals_resources.pak", 653 "$root_gen_dir/chrome/net_internals_resources.pak",
654 "$root_gen_dir/chrome/password_manager_internals_resources.pak", 654 "$root_gen_dir/chrome/password_manager_internals_resources.pak",
655 "$root_gen_dir/chrome/signin_internals_resources.pak", 655 "$root_gen_dir/chrome/signin_internals_resources.pak",
656 "$root_gen_dir/chrome/translate_internals_resources.pak", 656 "$root_gen_dir/chrome/translate_internals_resources.pak",
657 "$root_gen_dir/components/components_resources.pak", 657 "$root_gen_dir/components/components_resources.pak",
658 "$root_gen_dir/net/net_resources.pak", 658 "$root_gen_dir/net/net_resources.pak",
659 "$root_gen_dir/ui/resources/webui_resources.pak", 659 "$root_gen_dir/ui/resources/webui_resources.pak",
660 ] 660 ]
661 deps = [ 661 deps = [
662 "//chrome/app/theme:chrome_unscaled_resources",
662 "//chrome/browser:resources", 663 "//chrome/browser:resources",
663 "//chrome/app/theme:chrome_unscaled_resources",
664 "//chrome/common:resources",
665 "//chrome/browser/resources:invalidations_resources", 664 "//chrome/browser/resources:invalidations_resources",
666 "//chrome/browser/resources:memory_internals_resources", 665 "//chrome/browser/resources:memory_internals_resources",
667 "//chrome/browser/resources:net_internals_resources", 666 "//chrome/browser/resources:net_internals_resources",
668 "//chrome/browser/resources:password_manager_internals_resources", 667 "//chrome/browser/resources:password_manager_internals_resources",
669 "//chrome/browser/resources:signin_internals_resources", 668 "//chrome/browser/resources:signin_internals_resources",
670 "//chrome/browser/resources:translate_internals_resources", 669 "//chrome/browser/resources:translate_internals_resources",
670 "//chrome/common:resources",
671 "//components/resources", 671 "//components/resources",
672 "//net:net_resources", 672 "//net:net_resources",
673 "//ui/resources", 673 "//ui/resources",
674 ] 674 ]
675 675
676 if (!is_ios && !is_android) { 676 if (!is_ios && !is_android) {
677 # New paks should be added here by default. 677 # New paks should be added here by default.
678 sources += [ 678 sources += [
679 "$root_gen_dir/blink/devtools_resources.pak", 679 "$root_gen_dir/blink/devtools_resources.pak",
680 "$root_gen_dir/chrome/component_extension_resources.pak", 680 "$root_gen_dir/chrome/component_extension_resources.pak",
681 "$root_gen_dir/chrome/options_resources.pak", 681 "$root_gen_dir/chrome/options_resources.pak",
682 "$root_gen_dir/chrome/quota_internals_resources.pak", 682 "$root_gen_dir/chrome/quota_internals_resources.pak",
683 "$root_gen_dir/chrome/settings_resources.pak", 683 "$root_gen_dir/chrome/settings_resources.pak",
684 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak", 684 "$root_gen_dir/chrome/sync_file_system_internals_resources.pak",
685 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak", 685 "$root_gen_dir/chrome/webrtc_device_provider_resources.pak",
686 ] 686 ]
687 deps += [ 687 deps += [
688 "//chrome/browser/devtools:webrtc_device_provider_resources", 688 "//chrome/browser/devtools:webrtc_device_provider_resources",
689 "//chrome/browser/resources:component_extension_resources", 689 "//chrome/browser/resources:component_extension_resources",
690 "//chrome/browser/resources:options_resources", 690 "//chrome/browser/resources:options_resources",
691 "//chrome/browser/resources:quota_internals_resources",
691 "//chrome/browser/resources:settings_resources", 692 "//chrome/browser/resources:settings_resources",
692 "//chrome/browser/resources:quota_internals_resources",
693 "//chrome/browser/resources:sync_file_system_internals_resources", 693 "//chrome/browser/resources:sync_file_system_internals_resources",
694 "//content/browser/devtools:devtools_resources", 694 "//content/browser/devtools:devtools_resources",
695 ] 695 ]
696 } 696 }
697 if (!is_ios) { 697 if (!is_ios) {
698 sources += [ 698 sources += [
699 "$root_gen_dir/blink/public/resources/blink_resources.pak", 699 "$root_gen_dir/blink/public/resources/blink_resources.pak",
700 "$root_gen_dir/content/browser/tracing/tracing_resources.pak", 700 "$root_gen_dir/content/browser/tracing/tracing_resources.pak",
701 "$root_gen_dir/content/content_resources.pak", 701 "$root_gen_dir/content/content_resources.pak",
702 ] 702 ]
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1068 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1069 "//chrome/tools/build/linux/chrome-wrapper", 1069 "//chrome/tools/build/linux/chrome-wrapper",
1070 "//third_party/xdg-utils/scripts/xdg-mime", 1070 "//third_party/xdg-utils/scripts/xdg-mime",
1071 "//third_party/xdg-utils/scripts/xdg-settings", 1071 "//third_party/xdg-utils/scripts/xdg-settings",
1072 ] 1072 ]
1073 outputs = [ 1073 outputs = [
1074 "$root_out_dir/{{source_file_part}}", 1074 "$root_out_dir/{{source_file_part}}",
1075 ] 1075 ]
1076 } 1076 }
1077 } 1077 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698