cef/patch/patches/chrome_renderer.patch

32 lines
896 B
Diff
Raw Normal View History

diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
index 3f68c173d1c2..3906f588c7c2 100644
--- chrome/renderer/BUILD.gn
+++ chrome/renderer/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/features.gni")
+import("//cef/libcef/features/features.gni")
import("//chrome/common/features.gni")
import("//components/nacl/features.gni")
import("//components/spellcheck/spellcheck_build_features.gni")
@@ -106,6 +107,7 @@ static_library("renderer") {
defines = []
deps = [
+ "//cef/libcef/features",
"//chrome:resources",
"//chrome:strings",
"//chrome/common",
@@ -166,6 +168,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",