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