Chromium Code Reviews| 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:v8_context_snapshot_for_blink", | |
| 117 ] | 118 ] |
| 118 data_deps = [ | 119 data_deps = [ |
| 119 ":chrome_initial", | 120 ":chrome_initial", |
| 120 ] | 121 ] |
| 122 data = [ | |
| 123 "$root_out_dir/context_blob.bin", | |
|
Yuki
2017/05/30 14:35:55
super nit: s/context_blob/v8_context_blob/
I thin
peria
2017/06/01 08:33:32
Renamed it blink_snapshot_blob.bin.
| |
| 124 ] | |
| 121 if (is_win) { | 125 if (is_win) { |
| 122 public_deps += [ ":reorder_imports" ] | 126 public_deps += [ ":reorder_imports" ] |
| 123 } | 127 } |
| 124 if (use_aura && (is_win || is_linux)) { | 128 if (use_aura && (is_win || is_linux)) { |
| 125 data_deps += [ "//chrome/app:service_manifests" ] | 129 data_deps += [ "//chrome/app:service_manifests" ] |
| 126 } | 130 } |
| 127 } | 131 } |
| 128 | 132 |
| 129 executable("chrome_initial") { | 133 executable("chrome_initial") { |
| 130 if (is_win) { | 134 if (is_win) { |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 785 if (using_sanitizer) { | 789 if (using_sanitizer) { |
| 786 # crashpad_handler requires the ASan runtime at its @executable_path. | 790 # crashpad_handler requires the ASan runtime at its @executable_path. |
| 787 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] | 791 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] |
| 788 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] | 792 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] |
| 789 } | 793 } |
| 790 } | 794 } |
| 791 | 795 |
| 792 bundle_data("chrome_framework_resources") { | 796 bundle_data("chrome_framework_resources") { |
| 793 sources = [ | 797 sources = [ |
| 794 "$root_out_dir/app_mode_loader.app", | 798 "$root_out_dir/app_mode_loader.app", |
| 799 "$root_out_dir/context_blob.bin", | |
| 795 | 800 |
| 796 # This image is used to badge the lock icon in the | 801 # This image is used to badge the lock icon in the |
| 797 # authentication dialogs, such as those used for installation | 802 # authentication dialogs, such as those used for installation |
| 798 # from disk image and Keystone promotion (if so enabled). It | 803 # from disk image and Keystone promotion (if so enabled). It |
| 799 # needs to exist as a file on disk and not just something in a | 804 # needs to exist as a file on disk and not just something in a |
| 800 # resource bundle because that's the interface that | 805 # resource bundle because that's the interface that |
| 801 # Authorization Services uses. Also, Authorization Services | 806 # Authorization Services uses. Also, Authorization Services |
| 802 # can't deal with .icns files. | 807 # can't deal with .icns files. |
| 803 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn g", | 808 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn g", |
| 804 "browser/mac/install.sh", | 809 "browser/mac/install.sh", |
| 805 ] | 810 ] |
| 806 | 811 |
| 807 outputs = [ | 812 outputs = [ |
| 808 "{{bundle_resources_dir}}/{{source_file_part}}", | 813 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 809 ] | 814 ] |
| 810 | 815 |
| 811 public_deps = [ | 816 public_deps = [ |
| 812 ":packed_resources", | 817 ":packed_resources", |
| 813 "//chrome/app_shim:app_mode_loader", | 818 "//chrome/app_shim:app_mode_loader", |
| 819 "//gin:v8_context_snapshot_for_blink", | |
| 814 ] | 820 ] |
| 815 | 821 |
| 816 if (is_chrome_branded) { | 822 if (is_chrome_branded) { |
| 817 sources += [ | 823 sources += [ |
| 818 "browser/mac/keystone_promote_postflight.sh", | 824 "browser/mac/keystone_promote_postflight.sh", |
| 819 "browser/mac/keystone_promote_preflight.sh", | 825 "browser/mac/keystone_promote_preflight.sh", |
| 820 ] | 826 ] |
| 821 } | 827 } |
| 822 | 828 |
| 823 if (icu_use_data_file) { | 829 if (icu_use_data_file) { |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1769 "//chrome/tools/build/linux/chrome-wrapper", | 1775 "//chrome/tools/build/linux/chrome-wrapper", |
| 1770 "//third_party/xdg-utils/scripts/xdg-mime", | 1776 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1771 "//third_party/xdg-utils/scripts/xdg-settings", | 1777 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1772 ] | 1778 ] |
| 1773 outputs = [ | 1779 outputs = [ |
| 1774 "$root_out_dir/{{source_file_part}}", | 1780 "$root_out_dir/{{source_file_part}}", |
| 1775 ] | 1781 ] |
| 1776 } | 1782 } |
| 1777 } | 1783 } |
| OLD | NEW |