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