Linux: Add missing use_gtk check (issue #2014)
This commit is contained in:
parent
3a91ccd940
commit
275af5e972
|
@ -1,5 +1,5 @@
|
||||||
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
||||||
index ae76265b33a6..a3b7580d0046 100644
|
index ae76265b33a6..5e1d8f766b48 100644
|
||||||
--- chrome/browser/BUILD.gn
|
--- chrome/browser/BUILD.gn
|
||||||
+++ chrome/browser/BUILD.gn
|
+++ chrome/browser/BUILD.gn
|
||||||
@@ -8,6 +8,7 @@ import("//build/config/features.gni")
|
@@ -8,6 +8,7 @@ import("//build/config/features.gni")
|
||||||
|
@ -29,3 +29,12 @@ index ae76265b33a6..a3b7580d0046 100644
|
||||||
if (is_android) {
|
if (is_android) {
|
||||||
sources += [
|
sources += [
|
||||||
"after_startup_task_utils_android.cc",
|
"after_startup_task_utils_android.cc",
|
||||||
|
@@ -3503,7 +3509,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" ]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue