2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
|
2020-04-14 21:31:00 +02:00
|
|
|
index 88cbad65b714..2d899f1805e2 100644
|
2017-12-07 22:44:24 +01:00
|
|
|
--- chrome/renderer/BUILD.gn
|
|
|
|
+++ chrome/renderer/BUILD.gn
|
2020-03-04 01:29:39 +01:00
|
|
|
@@ -5,6 +5,7 @@
|
|
|
|
import("//build/config/buildflags_paint_preview.gni")
|
2017-12-07 22:44:24 +01:00
|
|
|
import("//build/config/features.gni")
|
2018-08-09 22:18:24 +02:00
|
|
|
import("//build/config/jumbo.gni")
|
2017-12-07 22:44:24 +01:00
|
|
|
+import("//cef/libcef/features/features.gni")
|
|
|
|
import("//chrome/common/features.gni")
|
|
|
|
import("//components/nacl/features.gni")
|
2018-04-19 17:44:42 +02:00
|
|
|
import("//components/offline_pages/buildflags/features.gni")
|
2020-04-14 21:31:00 +02:00
|
|
|
@@ -129,6 +130,7 @@ jumbo_static_library("renderer") {
|
2017-12-07 22:44:24 +01:00
|
|
|
defines = []
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
+ "//cef/libcef/features",
|
|
|
|
"//chrome:resources",
|
|
|
|
"//chrome:strings",
|
|
|
|
"//chrome/common",
|
2020-04-14 21:31:00 +02:00
|
|
|
@@ -193,6 +195,10 @@ jumbo_static_library("renderer") {
|
2017-12-07 22:44:24 +01:00
|
|
|
|
|
|
|
configs += [ "//build/config/compiler:wexit_time_destructors" ]
|
|
|
|
|
|
|
|
+ if (enable_cef) {
|
|
|
|
+ configs += [ "//cef/libcef/features:config" ]
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
if (enable_nacl) {
|
|
|
|
deps += [
|
|
|
|
"//components/nacl/loader",
|