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

Unified Diff: ui/compositor/BUILD.gn

Issue 399683005: Enable more tests in GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more android printing mode Created 6 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 | « ui/base/BUILD.gn ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/BUILD.gn
diff --git a/ui/compositor/BUILD.gn b/ui/compositor/BUILD.gn
index 73010ee67ba0e0ac2c030c34d2f78e120c679a69..517af0f9f6f6fba33c2b566abc1c01d3986f628e 100644
--- a/ui/compositor/BUILD.gn
+++ b/ui/compositor/BUILD.gn
@@ -84,9 +84,7 @@ source_set("test_support") {
"test/layer_animator_test_controller.h",
"test/test_compositor_host.h",
"test/test_compositor_host_mac.mm",
- "test/test_compositor_host_ozone.cc",
"test/test_compositor_host_win.cc",
- "test/test_compositor_host_x11.cc",
"test/test_layer_animation_delegate.cc",
"test/test_layer_animation_delegate.h",
"test/test_layer_animation_observer.cc",
@@ -118,6 +116,12 @@ source_set("test_support") {
configs += [ "//build/config/linux:x11" ]
deps += [ "//ui/gfx/x" ]
}
+
+ if (use_ozone) {
+ sources += [ "test/test_compositor_host_ozone.cc" ]
+ } else if (use_x11) {
+ sources += [ "test/test_compositor_host_x11.cc" ]
+ }
}
# TODO(GYP) enable this when all dependencies are complete and it links.
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698