2016-06-23 19:42:00 +02:00
|
|
|
diff --git .gn .gn
|
2020-06-09 19:48:00 +02:00
|
|
|
index b6d50b724d74..f6f87492bd93 100644
|
2016-06-23 19:42:00 +02:00
|
|
|
--- .gn
|
|
|
|
+++ .gn
|
2020-06-09 19:48:00 +02:00
|
|
|
@@ -638,6 +638,8 @@ exec_script_whitelist =
|
2019-09-04 17:13:32 +02:00
|
|
|
|
|
|
|
"//chrome/android/webapk/shell_apk/prepare_upload_dir/BUILD.gn",
|
2016-10-17 20:14:44 +02:00
|
|
|
|
2017-04-20 21:28:17 +02:00
|
|
|
+ "//cef/BUILD.gn",
|
|
|
|
+
|
2017-01-23 18:36:54 +01:00
|
|
|
# TODO(dgn): Layer violation but breaks the build otherwise, see
|
2017-04-20 21:28:17 +02:00
|
|
|
# https://crbug.com/474506.
|
|
|
|
"//clank/java/BUILD.gn",
|
2016-06-23 19:42:00 +02:00
|
|
|
diff --git BUILD.gn BUILD.gn
|
2020-06-09 19:48:00 +02:00
|
|
|
index 97494c0a0782..da1c1eeabd85 100644
|
2016-06-23 19:42:00 +02:00
|
|
|
--- BUILD.gn
|
|
|
|
+++ BUILD.gn
|
2020-06-09 19:48:00 +02:00
|
|
|
@@ -223,6 +223,7 @@ group("gn_all") {
|
2018-02-15 01:12:09 +01:00
|
|
|
|
2017-05-31 17:33:30 +02:00
|
|
|
if (!is_ios && !is_fuchsia) {
|
2016-06-23 19:42:00 +02:00
|
|
|
deps += [
|
|
|
|
+ "//cef",
|
|
|
|
"//chrome/test:telemetry_perf_unittests",
|
|
|
|
"//chrome/test:unit_tests",
|
|
|
|
"//components:components_browsertests",
|
|
|
|
diff --git build/config/win/visual_studio_version.gni build/config/win/visual_studio_version.gni
|
2017-09-06 23:40:58 +02:00
|
|
|
index 982fbe8d3f0d..e757be4688f1 100644
|
2016-06-23 19:42:00 +02:00
|
|
|
--- build/config/win/visual_studio_version.gni
|
|
|
|
+++ build/config/win/visual_studio_version.gni
|
|
|
|
@@ -12,9 +12,8 @@ declare_args() {
|
2016-11-23 21:54:29 +01:00
|
|
|
# Currently always "2015".
|
2016-06-23 19:42:00 +02:00
|
|
|
visual_studio_version = ""
|
|
|
|
|
|
|
|
- # Directory of the Windows driver kit. If visual_studio_path is empty, this
|
|
|
|
- # will be auto-filled.
|
|
|
|
- wdk_path = ""
|
|
|
|
+ # Path to Visual Studio runtime libraries.
|
|
|
|
+ visual_studio_runtime_dirs = ""
|
|
|
|
|
|
|
|
# Full path to the Windows SDK, not including a backslash at the end.
|
|
|
|
# This value is the default location, override if you have a different
|
2016-07-06 21:34:09 +02:00
|
|
|
@@ -28,12 +27,11 @@ if (visual_studio_path == "") {
|
2016-06-23 19:42:00 +02:00
|
|
|
visual_studio_path = toolchain_data.vs_path
|
|
|
|
windows_sdk_path = toolchain_data.sdk_path
|
|
|
|
visual_studio_version = toolchain_data.vs_version
|
|
|
|
- wdk_path = toolchain_data.wdk_dir
|
|
|
|
visual_studio_runtime_dirs = toolchain_data.runtime_dirs
|
|
|
|
} else {
|
|
|
|
assert(visual_studio_version != "",
|
|
|
|
"You must set the visual_studio_version if you set the path")
|
|
|
|
- assert(wdk_path != "",
|
|
|
|
- "You must set the wdk_path if you set the visual studio path")
|
|
|
|
- visual_studio_runtime_dirs = []
|
|
|
|
+ assert(visual_studio_runtime_dirs != "",
|
|
|
|
+ "You must set the visual_studio_runtime_dirs if you set the visual " +
|
|
|
|
+ "studio path")
|
|
|
|
}
|
2016-10-21 21:52:29 +02:00
|
|
|
diff --git chrome/chrome_paks.gni chrome/chrome_paks.gni
|
2020-07-06 20:14:57 +02:00
|
|
|
index deef406b9273..ad338636cf5d 100644
|
2016-10-21 21:52:29 +02:00
|
|
|
--- chrome/chrome_paks.gni
|
|
|
|
+++ chrome/chrome_paks.gni
|
2020-07-06 20:14:57 +02:00
|
|
|
@@ -3,6 +3,7 @@
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
import("//build/config/locales.gni")
|
|
|
|
+import("//cef/libcef/features/features.gni")
|
|
|
|
import("//chrome/browser/buildflags.gni")
|
|
|
|
import("//chrome/common/features.gni")
|
|
|
|
import("//chromeos/components/media_app_ui/media_app_ui.gni")
|
|
|
|
@@ -289,6 +290,7 @@ template("chrome_paks") {
|
2017-07-27 01:19:27 +02:00
|
|
|
}
|
2020-07-06 20:14:57 +02:00
|
|
|
}
|
2017-07-27 01:19:27 +02:00
|
|
|
|
2020-07-06 20:14:57 +02:00
|
|
|
+ if (!enable_cef) {
|
|
|
|
chrome_repack_locales("${target_name}_locales") {
|
|
|
|
forward_variables_from(invoker,
|
|
|
|
[
|
|
|
|
@@ -311,14 +313,17 @@ template("chrome_paks") {
|
|
|
|
output_locales = locales
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+ } # !enable_cef
|
2017-07-27 01:19:27 +02:00
|
|
|
|
2020-07-06 20:14:57 +02:00
|
|
|
group(target_name) {
|
|
|
|
forward_variables_from(invoker, [ "deps" ])
|
|
|
|
public_deps = [
|
|
|
|
":${target_name}_100_percent",
|
|
|
|
":${target_name}_extra",
|
|
|
|
- ":${target_name}_locales",
|
|
|
|
]
|
|
|
|
+ if (!enable_cef) {
|
|
|
|
+ public_deps += [ ":${target_name}_locales" ]
|
|
|
|
+ }
|
|
|
|
if (enable_hidpi) {
|
|
|
|
public_deps += [ ":${target_name}_200_percent" ]
|
|
|
|
}
|
2016-06-23 19:42:00 +02:00
|
|
|
diff --git chrome/installer/mini_installer/BUILD.gn chrome/installer/mini_installer/BUILD.gn
|
2020-07-06 20:14:57 +02:00
|
|
|
index 056d425c4194..0c0e0f22ab66 100644
|
2016-06-23 19:42:00 +02:00
|
|
|
--- chrome/installer/mini_installer/BUILD.gn
|
|
|
|
+++ chrome/installer/mini_installer/BUILD.gn
|
2020-07-06 20:14:57 +02:00
|
|
|
@@ -5,6 +5,7 @@
|
|
|
|
import("//build/config/compiler/compiler.gni")
|
|
|
|
import("//build/config/features.gni")
|
|
|
|
import("//build/config/ui.gni")
|
|
|
|
+import("//cef/libcef/features/features.gni")
|
|
|
|
import("//chrome/process_version_rc_template.gni")
|
|
|
|
import("//components/nacl/features.gni")
|
|
|
|
import("//third_party/icu/config.gni")
|
|
|
|
@@ -134,11 +135,13 @@ template("generate_mini_installer") {
|
2016-07-06 21:34:09 +02:00
|
|
|
inputs = [
|
|
|
|
"$chrome_dll_file",
|
|
|
|
"$root_out_dir/chrome.exe",
|
|
|
|
- "$root_out_dir/locales/en-US.pak",
|
|
|
|
"$root_out_dir/setup.exe",
|
2018-02-15 01:12:09 +01:00
|
|
|
"//chrome/tools/build/win/makecab.py",
|
2018-03-20 21:15:08 +01:00
|
|
|
release_file,
|
2020-07-06 20:14:57 +02:00
|
|
|
]
|
|
|
|
+ if (!enable_cef) {
|
|
|
|
+ inputs += [ "$root_out_dir/locales/en-US.pak" ]
|
|
|
|
+ }
|
|
|
|
|
|
|
|
outputs = [
|
|
|
|
# See also chrome.packed.7z conditionally added below.
|