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

Side by Side Diff: chrome/BUILD.gn

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for nits and libc fix? Created 3 years, 5 months 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/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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 # This should not pull in installer strings. This is will bloat the binary 109 # This should not pull in installer strings. This is will bloat the binary
110 # for no reason and is easy to mess up. See the comment at the top of 110 # for no reason and is easy to mess up. See the comment at the top of
111 # //chrome/installer/util/BUILD.gn. 111 # //chrome/installer/util/BUILD.gn.
112 assert_no_deps = [ "//chrome/installer/util:strings" ] 112 assert_no_deps = [ "//chrome/installer/util:strings" ]
113 } 113 }
114 114
115 if (!is_android && !is_mac) { 115 if (!is_android && !is_mac) {
116 group("chrome") { 116 group("chrome") {
117 public_deps = [ 117 public_deps = [
118 ":chrome_initial", 118 ":chrome_initial",
119 "//tools/v8_context_snapshot:v8_context_snapshot",
119 ] 120 ]
120 data_deps = [ 121 data_deps = [
121 ":chrome_initial", 122 ":chrome_initial",
122 ] 123 ]
123 if (is_win) { 124 if (is_win) {
124 public_deps += [ ":reorder_imports" ] 125 public_deps += [ ":reorder_imports" ]
125 } 126 }
126 if (use_aura && (is_win || is_linux)) { 127 if (use_aura && (is_win || is_linux)) {
127 data_deps += [ "//chrome/app:service_manifests" ] 128 data_deps += [ "//chrome/app:service_manifests" ]
128 } 129 }
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698