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