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/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/compiler/pgo/pgo.gni") | 7 import("//build/config/compiler/pgo/pgo.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 # This should not pull in installer strings. This is will bloat the binary | 110 # This should not pull in installer strings. This is will bloat the binary |
111 # for no reason and is easy to mess up. See the comment at the top of | 111 # for no reason and is easy to mess up. See the comment at the top of |
112 # //chrome/installer/util/BUILD.gn. | 112 # //chrome/installer/util/BUILD.gn. |
113 assert_no_deps = [ "//chrome/installer/util:strings" ] | 113 assert_no_deps = [ "//chrome/installer/util:strings" ] |
114 } | 114 } |
115 | 115 |
116 if (!is_android && !is_mac) { | 116 if (!is_android && !is_mac) { |
117 group("chrome") { | 117 group("chrome") { |
118 public_deps = [ | 118 public_deps = [ |
119 ":chrome_initial", | 119 ":chrome_initial", |
120 "//tools/v8_context_snapshot:v8_context_snapshot", | |
121 ] | 120 ] |
122 data_deps = [ | 121 data_deps = [ |
123 ":chrome_initial", | 122 ":chrome_initial", |
124 ] | 123 ] |
125 if (is_win) { | 124 if (is_win) { |
126 public_deps += [ ":reorder_imports" ] | 125 public_deps += [ ":reorder_imports" ] |
127 } | 126 } |
128 if (use_aura && (is_win || is_linux)) { | 127 if (use_aura && (is_win || is_linux)) { |
129 data_deps += [ "//chrome/app:service_manifests" ] | 128 data_deps += [ "//chrome/app:service_manifests" ] |
130 } | 129 } |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 if (using_sanitizer) { | 855 if (using_sanitizer) { |
857 # crashpad_handler requires the ASan runtime at its @executable_path. | 856 # crashpad_handler requires the ASan runtime at its @executable_path. |
858 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] | 857 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] |
859 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] | 858 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] |
860 } | 859 } |
861 } | 860 } |
862 | 861 |
863 bundle_data("chrome_framework_resources") { | 862 bundle_data("chrome_framework_resources") { |
864 sources = [ | 863 sources = [ |
865 "$root_out_dir/app_mode_loader.app", | 864 "$root_out_dir/app_mode_loader.app", |
866 "$root_out_dir/v8_context_snapshot.bin", | |
867 | 865 |
868 # This image is used to badge the lock icon in the | 866 # This image is used to badge the lock icon in the |
869 # authentication dialogs, such as those used for installation | 867 # authentication dialogs, such as those used for installation |
870 # from disk image and Keystone promotion (if so enabled). It | 868 # from disk image and Keystone promotion (if so enabled). It |
871 # needs to exist as a file on disk and not just something in a | 869 # needs to exist as a file on disk and not just something in a |
872 # resource bundle because that's the interface that | 870 # resource bundle because that's the interface that |
873 # Authorization Services uses. Also, Authorization Services | 871 # Authorization Services uses. Also, Authorization Services |
874 # can't deal with .icns files. | 872 # can't deal with .icns files. |
875 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn
g", | 873 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn
g", |
876 "browser/mac/install.sh", | 874 "browser/mac/install.sh", |
877 ] | 875 ] |
878 | 876 |
879 outputs = [ | 877 outputs = [ |
880 "{{bundle_resources_dir}}/{{source_file_part}}", | 878 "{{bundle_resources_dir}}/{{source_file_part}}", |
881 ] | 879 ] |
882 | 880 |
883 public_deps = [ | 881 public_deps = [ |
884 ":packed_resources", | 882 ":packed_resources", |
885 "//chrome/app_shim:app_mode_loader", | 883 "//chrome/app_shim:app_mode_loader", |
886 "//tools/v8_context_snapshot:v8_context_snapshot", | |
887 ] | 884 ] |
888 | 885 |
889 if (is_chrome_branded) { | 886 if (is_chrome_branded) { |
890 sources += [ | 887 sources += [ |
891 "browser/mac/keystone_promote_postflight.sh", | 888 "browser/mac/keystone_promote_postflight.sh", |
892 "browser/mac/keystone_promote_preflight.sh", | 889 "browser/mac/keystone_promote_preflight.sh", |
893 ] | 890 ] |
894 } | 891 } |
895 | 892 |
896 if (icu_use_data_file) { | 893 if (icu_use_data_file) { |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1862 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1859 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1863 "//chrome/tools/build/linux/chrome-wrapper", | 1860 "//chrome/tools/build/linux/chrome-wrapper", |
1864 "//third_party/xdg-utils/scripts/xdg-mime", | 1861 "//third_party/xdg-utils/scripts/xdg-mime", |
1865 "//third_party/xdg-utils/scripts/xdg-settings", | 1862 "//third_party/xdg-utils/scripts/xdg-settings", |
1866 ] | 1863 ] |
1867 outputs = [ | 1864 outputs = [ |
1868 "$root_out_dir/{{source_file_part}}", | 1865 "$root_out_dir/{{source_file_part}}", |
1869 ] | 1866 ] |
1870 } | 1867 } |
1871 } | 1868 } |
OLD | NEW |