| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 "//chrome/chrome_watcher", | 166 "//chrome/chrome_watcher", |
| 167 "//chrome/chrome_watcher:client", | 167 "//chrome/chrome_watcher:client", |
| 168 "//chrome/common:constants", | 168 "//chrome/common:constants", |
| 169 "//chrome/common:metrics_constants_util_win", | 169 "//chrome/common:metrics_constants_util_win", |
| 170 "//chrome/install_static:install_static_util", | 170 "//chrome/install_static:install_static_util", |
| 171 "//chrome/installer/util:with_no_strings", | 171 "//chrome/installer/util:with_no_strings", |
| 172 "//chrome_elf", | 172 "//chrome_elf", |
| 173 "//components/browser_watcher:browser_watcher_client", | 173 "//components/browser_watcher:browser_watcher_client", |
| 174 "//components/crash/content/app:run_as_crashpad_handler", | 174 "//components/crash/content/app:run_as_crashpad_handler", |
| 175 "//components/flags_ui:switches", | 175 "//components/flags_ui:switches", |
| 176 "//components/startup_metric_utils/common", | |
| 177 "//content:sandbox_helper_win", | 176 "//content:sandbox_helper_win", |
| 178 "//content/public/common:static_switches", | 177 "//content/public/common:static_switches", |
| 179 "//crypto", | 178 "//crypto", |
| 180 "//sandbox", | 179 "//sandbox", |
| 181 "//ui/gfx", | 180 "//ui/gfx", |
| 182 ] | 181 ] |
| 183 data_deps = [ | 182 data_deps = [ |
| 184 "//chrome/app/version_assembly:version_assembly_manifest", | 183 "//chrome/app/version_assembly:version_assembly_manifest", |
| 185 ] | 184 ] |
| 186 | 185 |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 } | 845 } |
| 847 | 846 |
| 848 _should_bundle_widevine = | 847 _should_bundle_widevine = |
| 849 (is_chrome_branded || enable_widevine) && enable_pepper_cdms | 848 (is_chrome_branded || enable_widevine) && enable_pepper_cdms |
| 850 if (_should_bundle_widevine) { | 849 if (_should_bundle_widevine) { |
| 851 # The Widevine CDM and manifest are either the actual Widevine CDM and | 850 # The Widevine CDM and manifest are either the actual Widevine CDM and |
| 852 # manifest or stubs used for testing only. The choice is made within the | 851 # manifest or stubs used for testing only. The choice is made within the |
| 853 # corresponding Widevine targets based on branding. | 852 # corresponding Widevine targets based on branding. |
| 854 bundle_data("widevine_cdm_library_binaries") { | 853 bundle_data("widevine_cdm_library_binaries") { |
| 855 sources = [ | 854 sources = [ |
| 855 "$root_out_dir/$widevine_cdm_path/widevinecdmadapter.plugin", |
| 856 "$root_out_dir/libwidevinecdm.dylib", | 856 "$root_out_dir/libwidevinecdm.dylib", |
| 857 "$root_out_dir/$widevine_cdm_path/widevinecdmadapter.plugin", | |
| 858 ] | 857 ] |
| 859 outputs = [ | 858 outputs = [ |
| 860 "{{bundle_root_dir}}/Libraries/$widevine_cdm_path/{{source_file_part}}", | 859 "{{bundle_root_dir}}/Libraries/$widevine_cdm_path/{{source_file_part}}", |
| 861 ] | 860 ] |
| 862 public_deps = [ | 861 public_deps = [ |
| 863 # Need this intermediate dependency because "widevinecdm" is a | 862 # Need this intermediate dependency because "widevinecdm" is a |
| 864 # shared_library if !is_chrome_branded, and then depending on | 863 # shared_library if !is_chrome_branded, and then depending on |
| 865 # "widevinecdm" directly would cause it to be linked into the Chromium | 864 # "widevinecdm" directly would cause it to be linked into the Chromium |
| 866 # Framework, which we don't want. | 865 # Framework, which we don't want. |
| 867 ":widevine_cdm_library_copy", | 866 ":widevine_cdm_library_copy", |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 output = "$target_gen_dir/other_version.rc" | 1253 output = "$target_gen_dir/other_version.rc" |
| 1255 } | 1254 } |
| 1256 | 1255 |
| 1257 source_set("file_pre_reader") { | 1256 source_set("file_pre_reader") { |
| 1258 sources = [ | 1257 sources = [ |
| 1259 "app/file_pre_reader_win.cc", | 1258 "app/file_pre_reader_win.cc", |
| 1260 "app/file_pre_reader_win.h", | 1259 "app/file_pre_reader_win.h", |
| 1261 ] | 1260 ] |
| 1262 deps = [ | 1261 deps = [ |
| 1263 "//base", | 1262 "//base", |
| 1264 "//components/startup_metric_utils/common", | |
| 1265 ] | 1263 ] |
| 1266 } | 1264 } |
| 1267 } | 1265 } |
| 1268 | 1266 |
| 1269 # GYP version: chrome/chrome_exe.gypi:visual_elements_resources | 1267 # GYP version: chrome/chrome_exe.gypi:visual_elements_resources |
| 1270 copy("visual_elements_resources") { | 1268 copy("visual_elements_resources") { |
| 1271 sources = [ | 1269 sources = [ |
| 1272 "//chrome/app/theme/$branding_path_component/win/tiles/Logo.png", | 1270 "//chrome/app/theme/$branding_path_component/win/tiles/Logo.png", |
| 1273 "//chrome/app/theme/$branding_path_component/win/tiles/SmallLogo.png", | 1271 "//chrome/app/theme/$branding_path_component/win/tiles/SmallLogo.png", |
| 1274 "app/visual_elements_resources/chrome.VisualElementsManifest.xml", | 1272 "app/visual_elements_resources/chrome.VisualElementsManifest.xml", |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1787 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1785 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1788 "//chrome/tools/build/linux/chrome-wrapper", | 1786 "//chrome/tools/build/linux/chrome-wrapper", |
| 1789 "//third_party/xdg-utils/scripts/xdg-mime", | 1787 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1790 "//third_party/xdg-utils/scripts/xdg-settings", | 1788 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1791 ] | 1789 ] |
| 1792 outputs = [ | 1790 outputs = [ |
| 1793 "$root_out_dir/{{source_file_part}}", | 1791 "$root_out_dir/{{source_file_part}}", |
| 1794 ] | 1792 ] |
| 1795 } | 1793 } |
| 1796 } | 1794 } |
| OLD | NEW |