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

Unified Diff: ui/base/BUILD.gn

Issue 1306473003: make use of use_glib variable rather than is_linux when adding glib config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/BUILD.gn
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 15ad86c835b844328f628e0acf325ae16b329a6b..17e3eb6981487a19ac10f2f69781bb847d61448f 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -386,10 +386,11 @@ component("base") {
}
if (is_linux) {
- configs += [
- "//build/config/linux:fontconfig",
- "//build/config/linux:glib",
- ]
+ configs += [ "//build/config/linux:fontconfig" ]
+ }
+
+ if (use_glib) {
+ configs += [ "//build/config/linux:glib" ]
}
if ((is_linux && !is_chromeos) || is_chromeos) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698