cef/patch/patches/chrome_renderer.patch

32 lines
967 B
Diff
Raw Normal View History

diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
index ce49b5924986..596069095d86 100644
--- chrome/renderer/BUILD.gn
+++ chrome/renderer/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/buildflags_paint_preview.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")
@@ -141,6 +142,7 @@ static_library("renderer") {
public_deps = [ "//components/contextual_search:buildflags" ]
deps = [
+ "//cef/libcef/features",
"//chrome:resources",
"//chrome:strings",
"//chrome/common",
@@ -206,6 +208,10 @@ static_library("renderer") {
configs += [ "//build/config/compiler:wexit_time_destructors" ]
+ if (enable_cef) {
+ configs += [ "//cef/libcef/features:config" ]
+ }
+
if (enable_nacl) {
deps += [
"//components/nacl/loader",