cef/patch/patches/chrome_renderer.patch

32 lines
971 B
Diff

diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
index 2e4dc8c6f3e4a..f79b276435e6a 100644
--- chrome/renderer/BUILD.gn
+++ chrome/renderer/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/config/buildflags_paint_preview.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/features.gni")
+import("//cef/libcef/features/features.gni")
import("//chrome/common/features.gni")
import("//components/nacl/features.gni")
import("//components/offline_pages/buildflags/features.gni")
@@ -136,6 +137,7 @@ static_library("renderer") {
":process_state",
"//base/allocator:buildflags",
"//build:chromeos_buildflags",
+ "//cef/libcef/features",
"//chrome:resources",
"//chrome:strings",
"//chrome/common",
@@ -251,6 +253,10 @@ static_library("renderer") {
]
}
+ if (enable_cef) {
+ configs += [ "//cef/libcef/features:config" ]
+ }
+
if (enable_nacl) {
deps += [ "//components/nacl/renderer" ]