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

Unified Diff: ui/aura/BUILD.gn

Issue 787403003: ui/aura: No need to not check for 'use_aura' in a aura specific build file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/aura/BUILD.gn
diff --git a/ui/aura/BUILD.gn b/ui/aura/BUILD.gn
index c06a9e1dc3d8b1ac68d5a3bce07fe9bb89f843e7..d5ad05fc59a80ca4722b10844285cb7e4db99b66 100644
--- a/ui/aura/BUILD.gn
+++ b/ui/aura/BUILD.gn
@@ -185,25 +185,19 @@ source_set("test_support") {
]
if (is_win) {
+ sources += [ "test/ui_controls_factory_aurawin.cc" ]
+
cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
}
if (use_x11) {
- deps += [ "//ui/gfx/x" ]
- }
-
- if (use_aura) {
- if (is_win) {
- sources += [ "test/ui_controls_factory_aurawin.cc" ]
- }
+ sources += [
+ "test/ui_controls_factory_aurax11.cc",
+ "test/x11_event_sender.cc",
+ "test/x11_event_sender.h",
+ ]
- if (use_x11) {
- sources += [
- "test/ui_controls_factory_aurax11.cc",
- "test/x11_event_sender.cc",
- "test/x11_event_sender.h",
- ]
- }
+ deps += [ "//ui/gfx/x" ]
}
}
« 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