2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
|
2020-12-02 23:31:49 +01:00
|
|
|
index fb7fa9ff4ed2..cf7be804968e 100644
|
2017-12-07 22:44:24 +01:00
|
|
|
--- chrome/renderer/BUILD.gn
|
|
|
|
+++ chrome/renderer/BUILD.gn
|
2020-06-09 19:48:00 +02:00
|
|
|
@@ -4,6 +4,7 @@
|
|
|
|
|
2020-03-04 01:29:39 +01:00
|
|
|
import("//build/config/buildflags_paint_preview.gni")
|
2017-12-07 22:44:24 +01:00
|
|
|
import("//build/config/features.gni")
|
|
|
|
+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-12-02 23:31:49 +01:00
|
|
|
@@ -137,6 +138,7 @@ static_library("renderer") {
|
2017-12-07 22:44:24 +01:00
|
|
|
|
|
|
|
deps = [
|
2020-12-02 23:31:49 +01:00
|
|
|
"//base/allocator:buildflags",
|
2017-12-07 22:44:24 +01:00
|
|
|
+ "//cef/libcef/features",
|
|
|
|
"//chrome:resources",
|
|
|
|
"//chrome:strings",
|
|
|
|
"//chrome/common",
|
2020-12-02 23:31:49 +01:00
|
|
|
@@ -218,6 +220,10 @@ 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",
|