cef/patch/patches/chrome_browser.patch
Marshall Greenblatt 015e3621a3 Update to Chromium version 87.0.4280.0 (#812852)
- Windows: VS2015 Update 2 is now the minimum version requirement for linking
  cef_sandbox from official build binary distributions.
2020-10-15 14:21:06 -04:00

41 lines
1.2 KiB
Diff

diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
index e462f7d8bef1..6c1c686f161c 100644
--- chrome/browser/BUILD.gn
+++ chrome/browser/BUILD.gn
@@ -12,6 +12,7 @@ import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//build/config/linux/gtk/gtk.gni")
import("//build/config/ui.gni")
+import("//cef/libcef/features/features.gni")
import("//chrome/browser/buildflags.gni")
import("//chrome/browser/downgrade/buildflags.gni")
import("//chrome/common/features.gni")
@@ -1876,6 +1877,7 @@ static_library("browser") {
"//build:branding_buildflags",
"//build:chromeos_buildflags",
"//cc",
+ "//cef/libcef/features",
"//chrome:extra_resources",
"//chrome:resources",
"//chrome:strings",
@@ -2354,6 +2356,10 @@ static_library("browser") {
]
}
+ if (enable_cef) {
+ configs += [ "//cef/libcef/features:config" ]
+ }
+
if (is_android) {
sources += [
"after_startup_task_utils_android.cc",
@@ -4821,7 +4827,7 @@ static_library("browser") {
]
}
- if (use_ozone) {
+ if (use_ozone && !use_x11) {
sources += [
"fullscreen_ozone.cc",
"media/webrtc/window_icon_util_ozone.cc",