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") |
11 import("//build/config/ui.gni") | 11 import("//build/config/ui.gni") |
12 import("//build/config/win/console_app.gni") | 12 import("//build/config/win/console_app.gni") |
13 import("//build/config/win/manifest.gni") | 13 import("//build/config/win/manifest.gni") |
14 import("//build/toolchain/toolchain.gni") | 14 import("//build/toolchain/toolchain.gni") |
15 import("//chrome/chrome_paks.gni") | 15 import("//chrome/chrome_paks.gni") |
16 import("//chrome/common/features.gni") | 16 import("//chrome/common/features.gni") |
17 import("//chrome/process_version_rc_template.gni") | 17 import("//chrome/process_version_rc_template.gni") |
18 import("//extensions/features/features.gni") | 18 import("//extensions/features/features.gni") |
19 import("//ppapi/features/features.gni") | 19 import("//ppapi/features/features.gni") |
20 import("//third_party/WebKit/public/public_features.gni") | 20 import("//third_party/WebKit/public/public_features.gni") |
21 import("//third_party/widevine/cdm/widevine.gni") | 21 import("//third_party/widevine/cdm/widevine.gni") |
22 import("//tools/resources/generate_resource_whitelist.gni") | 22 import("//tools/resources/generate_resource_whitelist.gni") |
23 import("//v8/gni/v8.gni") | 23 import("//v8/gni/v8.gni") |
| 24 import("//v8/snapshot_toolchain.gni") |
24 | 25 |
25 if (is_android) { | 26 if (is_android) { |
26 import("//build/config/android/rules.gni") | 27 import("//build/config/android/rules.gni") |
27 } else if (is_mac) { | 28 } else if (is_mac) { |
28 import("//build/compiled_action.gni") | 29 import("//build/compiled_action.gni") |
29 import("//build/config/mac/rules.gni") | 30 import("//build/config/mac/rules.gni") |
30 import("//build/config/mac/symbols.gni") | 31 import("//build/config/mac/symbols.gni") |
31 import("//build/mac/tweak_info_plist.gni") | 32 import("//build/mac/tweak_info_plist.gni") |
32 import("//build/util/branding.gni") | 33 import("//build/util/branding.gni") |
33 import("//build/util/version.gni") | 34 import("//build/util/version.gni") |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 if (using_sanitizer) { | 784 if (using_sanitizer) { |
784 # crashpad_handler requires the ASan runtime at its @executable_path. | 785 # crashpad_handler requires the ASan runtime at its @executable_path. |
785 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] | 786 sources += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] |
786 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] | 787 public_deps += [ "//build/config/sanitizers:copy_asan_runtime" ] |
787 } | 788 } |
788 } | 789 } |
789 | 790 |
790 bundle_data("chrome_framework_resources") { | 791 bundle_data("chrome_framework_resources") { |
791 sources = [ | 792 sources = [ |
792 "$root_out_dir/app_mode_loader.app", | 793 "$root_out_dir/app_mode_loader.app", |
| 794 "$root_out_dir/context_blob.bin", |
793 | 795 |
794 # This image is used to badge the lock icon in the | 796 # This image is used to badge the lock icon in the |
795 # authentication dialogs, such as those used for installation | 797 # authentication dialogs, such as those used for installation |
796 # from disk image and Keystone promotion (if so enabled). It | 798 # from disk image and Keystone promotion (if so enabled). It |
797 # needs to exist as a file on disk and not just something in a | 799 # needs to exist as a file on disk and not just something in a |
798 # resource bundle because that's the interface that | 800 # resource bundle because that's the interface that |
799 # Authorization Services uses. Also, Authorization Services | 801 # Authorization Services uses. Also, Authorization Services |
800 # can't deal with .icns files. | 802 # can't deal with .icns files. |
801 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn
g", | 803 "app/theme/default_100_percent/$branding_path_component/product_logo_32.pn
g", |
802 "browser/mac/install.sh", | 804 "browser/mac/install.sh", |
803 ] | 805 ] |
804 | 806 |
805 outputs = [ | 807 outputs = [ |
806 "{{bundle_resources_dir}}/{{source_file_part}}", | 808 "{{bundle_resources_dir}}/{{source_file_part}}", |
807 ] | 809 ] |
808 | 810 |
809 public_deps = [ | 811 public_deps = [ |
810 ":packed_resources", | 812 ":packed_resources", |
811 "//chrome/app_shim:app_mode_loader", | 813 "//chrome/app_shim:app_mode_loader", |
| 814 "//gin:run_gin_blink_snapshot($v8_snapshot_toolchain)", |
812 ] | 815 ] |
813 | 816 |
814 if (is_chrome_branded) { | 817 if (is_chrome_branded) { |
815 sources += [ | 818 sources += [ |
816 "browser/mac/keystone_promote_postflight.sh", | 819 "browser/mac/keystone_promote_postflight.sh", |
817 "browser/mac/keystone_promote_preflight.sh", | 820 "browser/mac/keystone_promote_preflight.sh", |
818 ] | 821 ] |
819 } | 822 } |
820 | 823 |
821 if (icu_use_data_file) { | 824 if (icu_use_data_file) { |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1760 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1763 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
1761 "//chrome/tools/build/linux/chrome-wrapper", | 1764 "//chrome/tools/build/linux/chrome-wrapper", |
1762 "//third_party/xdg-utils/scripts/xdg-mime", | 1765 "//third_party/xdg-utils/scripts/xdg-mime", |
1763 "//third_party/xdg-utils/scripts/xdg-settings", | 1766 "//third_party/xdg-utils/scripts/xdg-settings", |
1764 ] | 1767 ] |
1765 outputs = [ | 1768 outputs = [ |
1766 "$root_out_dir/{{source_file_part}}", | 1769 "$root_out_dir/{{source_file_part}}", |
1767 ] | 1770 ] |
1768 } | 1771 } |
1769 } | 1772 } |
OLD | NEW |