cef/patch/patches/chrome_browser.patch

32 lines
1004 B
Diff

diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
index e0409fb795f27..8a3023ae62e82 100644
--- chrome/browser/BUILD.gn
+++ chrome/browser/BUILD.gn
@@ -13,6 +13,7 @@ import("//build/config/features.gni")
import("//build/config/linux/gtk/gtk.gni")
import("//build/config/python.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")
@@ -1923,6 +1924,7 @@ static_library("browser") {
"//build:chromeos_buildflags",
"//build/config/compiler:compiler_buildflags",
"//cc",
+ "//cef/libcef/features",
"//chrome:extra_resources",
"//chrome:resources",
"//chrome:strings",
@@ -2480,6 +2482,10 @@ static_library("browser") {
]
}
+ if (enable_cef) {
+ configs += [ "//cef/libcef/features:config" ]
+ }
+
if (is_android) {
sources += [
"after_startup_task_utils_android.cc",