2017-12-07 22:44:24 +01:00
|
|
|
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
2019-03-13 22:27:37 +01:00
|
|
|
index f8dfe8e20824..ec6fc42d11de 100644
|
2017-12-07 22:44:24 +01:00
|
|
|
--- chrome/browser/BUILD.gn
|
|
|
|
+++ chrome/browser/BUILD.gn
|
2018-03-20 21:15:08 +01:00
|
|
|
@@ -8,6 +8,7 @@ import("//build/config/features.gni")
|
|
|
|
import("//build/config/jumbo.gni")
|
2017-12-07 22:44:24 +01:00
|
|
|
import("//build/config/ui.gni")
|
|
|
|
import("//build/split_static_library.gni")
|
|
|
|
+import("//cef/libcef/features/features.gni")
|
|
|
|
import("//chrome/common/features.gni")
|
|
|
|
import("//components/feature_engagement/features.gni")
|
2018-05-20 15:51:42 +02:00
|
|
|
import("//components/feed/features.gni")
|
2019-03-13 22:27:37 +01:00
|
|
|
@@ -1812,6 +1813,7 @@ jumbo_split_static_library("browser") {
|
2017-12-07 22:44:24 +01:00
|
|
|
"//base:i18n",
|
2018-03-20 21:15:08 +01:00
|
|
|
"//base/allocator:buildflags",
|
2017-12-07 22:44:24 +01:00
|
|
|
"//cc",
|
|
|
|
+ "//cef/libcef/features",
|
|
|
|
"//chrome:extra_resources",
|
|
|
|
"//chrome:resources",
|
|
|
|
"//chrome:strings",
|
2019-03-13 22:27:37 +01:00
|
|
|
@@ -2109,6 +2111,10 @@ jumbo_split_static_library("browser") {
|
2018-05-16 11:28:49 +02:00
|
|
|
]
|
|
|
|
}
|
2017-12-07 22:44:24 +01:00
|
|
|
|
|
|
|
+ if (enable_cef) {
|
|
|
|
+ configs += [ "//cef/libcef/features:config" ]
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
if (is_android) {
|
|
|
|
sources += [
|
|
|
|
"after_startup_task_utils_android.cc",
|
2019-03-13 22:27:37 +01:00
|
|
|
@@ -3858,7 +3864,7 @@ jumbo_split_static_library("browser") {
|
2018-09-24 15:45:39 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (use_aura && !use_ozone && is_desktop_linux) {
|
|
|
|
+ if (use_aura && !use_ozone && is_desktop_linux && use_gtk) {
|
|
|
|
deps += [ "//chrome/browser/ui/libgtkui" ]
|
|
|
|
}
|
|
|
|
|