mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-13 10:06:28 +01:00
41 lines
1.2 KiB
Diff
41 lines
1.2 KiB
Diff
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
|
index c9a0e95880f3..2a3667c5acc5 100644
|
|
--- chrome/browser/BUILD.gn
|
|
+++ chrome/browser/BUILD.gn
|
|
@@ -8,6 +8,7 @@ import("//build/config/features.gni")
|
|
import("//build/config/jumbo.gni")
|
|
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")
|
|
import("//components/feed/features.gni")
|
|
@@ -1807,6 +1808,7 @@ jumbo_split_static_library("browser") {
|
|
"//base:i18n",
|
|
"//base/allocator:buildflags",
|
|
"//cc",
|
|
+ "//cef/libcef/features",
|
|
"//chrome:extra_resources",
|
|
"//chrome:resources",
|
|
"//chrome:strings",
|
|
@@ -2105,6 +2107,10 @@ jumbo_split_static_library("browser") {
|
|
]
|
|
}
|
|
|
|
+ if (enable_cef) {
|
|
+ configs += [ "//cef/libcef/features:config" ]
|
|
+ }
|
|
+
|
|
if (is_android) {
|
|
sources += [
|
|
"after_startup_task_utils_android.cc",
|
|
@@ -3877,7 +3883,7 @@ jumbo_split_static_library("browser") {
|
|
]
|
|
}
|
|
|
|
- if (use_aura && !use_ozone && is_desktop_linux) {
|
|
+ if (use_aura && !use_ozone && is_desktop_linux && use_gtk) {
|
|
deps += [ "//chrome/browser/ui/libgtkui" ]
|
|
}
|
|
|