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

Unified Diff: build/config/ui.gni

Issue 1442523002: Get rid of the use_glib gn variable. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
Index: build/config/ui.gni
diff --git a/build/config/ui.gni b/build/config/ui.gni
index 9d360e393b3d445007b25e29fa37aaf3eaf0175e..ba344238ebab532548d0581a0624b099655a57b8 100644
--- a/build/config/ui.gni
+++ b/build/config/ui.gni
@@ -32,22 +32,15 @@ declare_args() {
# Whether the entire browser uses toolkit-views on Mac instead of Cocoa.
mac_views_browser = false
-
- # 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 && use_glib) {
- use_cairo = true
- use_pango = true
-} else {
- use_cairo = false
- use_pango = false
-}
+# TODO(vtl): Probably should get rid of these variables.
+use_cairo = false
+use_pango = false
# Use GPU accelerated cross process image transport by default on linux builds
# with the Aura window manager.

Powered by Google App Engine
This is Rietveld 408576698