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

Unified Diff: ui/accessibility/BUILD.gn

Issue 2185163003: make use of existing gn args in ui build config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fixup Created 4 years, 5 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 | « chrome/browser/ui/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/BUILD.gn
diff --git a/ui/accessibility/BUILD.gn b/ui/accessibility/BUILD.gn
index 036665a61cf0e606a24e4cc4d432cf78948ed8e9..34f63b115f3a5c95f8b39156d5066431406ed22f 100644
--- a/ui/accessibility/BUILD.gn
+++ b/ui/accessibility/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/linux/pkg_config.gni")
+import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//build/json_schema_api.gni")
import("//testing/test.gni")
@@ -104,9 +105,15 @@ component("accessibility") {
configs += [
":atk",
":atk_warnings",
- "//build/config/linux/gconf",
- "//build/config/linux:glib",
]
+
+ if (use_gconf) {
+ configs += [ "//build/config/linux/gconf" ]
+ }
+
+ if (use_glib) {
+ configs += [ "//build/config/linux:glib" ]
+ }
}
}
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698