2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/renderer/BUILD.gn chrome/renderer/BUILD.gn
|
2018-05-14 13:24:05 +02:00
|
|
|
index 859fc5b5cb25..3a2a51bd1df1 100644
|
2017-12-07 22:44:24 +01:00
|
|
|
--- 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")
|
2018-04-19 17:44:42 +02:00
|
|
|
import("//components/offline_pages/buildflags/features.gni")
|
2018-05-14 13:24:05 +02:00
|
|
|
@@ -111,6 +112,7 @@ static_library("renderer") {
|
2017-12-07 22:44:24 +01:00
|
|
|
defines = []
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
+ "//cef/libcef/features",
|
|
|
|
"//chrome:resources",
|
|
|
|
"//chrome:strings",
|
|
|
|
"//chrome/common",
|
2018-05-14 13:24:05 +02:00
|
|
|
@@ -171,6 +173,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",
|