2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
|
2019-11-12 17:11:44 +01:00
|
|
|
index 5c4d8b63894d..996e15be52b9 100644
|
2017-12-07 22:44:24 +01:00
|
|
|
--- chrome/renderer/BUILD.gn
|
|
|
|
+++ chrome/renderer/BUILD.gn
|
2018-08-09 22:18:24 +02:00
|
|
|
@@ -4,6 +4,7 @@
|
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")
|
2019-11-12 17:11:44 +01: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",
|
2019-11-12 17:11:44 +01:00
|
|
|
@@ -196,6 +198,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",
|