Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: build/config/ui.gni

Issue 853103004: Import Mojo Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ui.gni
diff --git a/build/config/ui.gni b/build/config/ui.gni
index dc7a05905d7f085e525d10754b5b4d3e804b075f..72303ac945bb7847781264e55d9b6867f79f5a01 100644
--- a/build/config/ui.gni
+++ b/build/config/ui.gni
@@ -29,13 +29,16 @@ declare_args() {
# True means the UI is built using the "views" framework.
toolkit_views = is_win || is_chromeos || use_aura
+
+ # Whether we should use glib, a low level C utility library.
+ use_glib = is_linux && !use_ozone
}
# Additional dependent variables -----------------------------------------------
#
# These variables depend on other variables and can't be set externally.
-if (is_linux) {
+if (is_linux && use_glib) {
use_cairo = true
use_pango = true
} else {
@@ -54,8 +57,6 @@ use_x11 = is_linux && !use_ozone
use_ozone_evdev = use_ozone
-use_glib = is_linux && !use_ozone
scottmg 2015/01/20 18:09:51 could it be "&& some_condition" down here instead
Elliot Glaysher 2015/01/20 18:14:13 I don't know how I'd do that. This file is copied
scottmg 2015/01/20 18:16:36 OK. I meant more checking whatever it is that's no
-
use_clipboard_aurax11 = is_linux && use_aura && use_x11
use_athena = false
« no previous file with comments | « base/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698