2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
|
2020-03-04 01:29:39 +01:00
|
|
|
index b2eaaf2b29fd..842e99c37e95 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-03-04 01:29:39 +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",
|
2020-03-04 01:29:39 +01:00
|
|
|
@@ -194,6 +196,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",
|