mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-19 05:04:08 +01:00
015e3621a3
- Windows: VS2015 Update 2 is now the minimum version requirement for linking cef_sandbox from official build binary distributions.
124 lines
4.1 KiB
Diff
124 lines
4.1 KiB
Diff
diff --git .gn .gn
|
|
index c5c73f805e8f..449ad9eaaf5e 100644
|
|
--- .gn
|
|
+++ .gn
|
|
@@ -350,6 +350,8 @@ exec_script_whitelist =
|
|
|
|
"//chrome/android/webapk/shell_apk/prepare_upload_dir/BUILD.gn",
|
|
|
|
+ "//cef/BUILD.gn",
|
|
+
|
|
# TODO(dgn): Layer violation but breaks the build otherwise, see
|
|
# https://crbug.com/474506.
|
|
"//clank/java/BUILD.gn",
|
|
diff --git BUILD.gn BUILD.gn
|
|
index 39b9075b1267..f25586e6cb72 100644
|
|
--- BUILD.gn
|
|
+++ BUILD.gn
|
|
@@ -230,6 +230,7 @@ group("gn_all") {
|
|
|
|
if (!is_ios && !is_fuchsia) {
|
|
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
|
|
index 982fbe8d3f0d..e757be4688f1 100644
|
|
--- build/config/win/visual_studio_version.gni
|
|
+++ build/config/win/visual_studio_version.gni
|
|
@@ -12,9 +12,8 @@ declare_args() {
|
|
# Currently always "2015".
|
|
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
|
|
@@ -28,12 +27,11 @@ if (visual_studio_path == "") {
|
|
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")
|
|
}
|
|
diff --git chrome/chrome_paks.gni chrome/chrome_paks.gni
|
|
index 9323a774a565..913b5cdc6be4 100644
|
|
--- chrome/chrome_paks.gni
|
|
+++ chrome/chrome_paks.gni
|
|
@@ -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")
|
|
@@ -325,6 +326,7 @@ template("chrome_paks") {
|
|
}
|
|
}
|
|
|
|
+ if (!enable_cef) {
|
|
chrome_repack_locales("${target_name}_locales") {
|
|
forward_variables_from(invoker,
|
|
[
|
|
@@ -347,14 +349,17 @@ template("chrome_paks") {
|
|
output_locales = locales
|
|
}
|
|
}
|
|
+ } # !enable_cef
|
|
|
|
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" ]
|
|
}
|
|
diff --git chrome/installer/mini_installer/BUILD.gn chrome/installer/mini_installer/BUILD.gn
|
|
index 7c7af8c0d948..c7869c760b12 100644
|
|
--- chrome/installer/mini_installer/BUILD.gn
|
|
+++ chrome/installer/mini_installer/BUILD.gn
|
|
@@ -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/ffmpeg/ffmpeg_options.gni")
|
|
@@ -139,11 +140,13 @@ template("generate_mini_installer") {
|
|
inputs = [
|
|
"$chrome_dll_file",
|
|
"$root_out_dir/chrome.exe",
|
|
- "$root_out_dir/locales/en-US.pak",
|
|
"$root_out_dir/setup.exe",
|
|
"//chrome/tools/build/win/makecab.py",
|
|
release_file,
|
|
]
|
|
+ if (!enable_cef) {
|
|
+ inputs += [ "$root_out_dir/locales/en-US.pak" ]
|
|
+ }
|
|
|
|
outputs = [
|
|
# See also chrome.packed.7z conditionally added below.
|