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

Unified Diff: ui/aura/BUILD.gn

Issue 431693002: Reland "ui/aura: Enable the build of demo, bench and unit..." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | ui/events/BUILD.gn » ('j') | 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 6395c56095e47902fb45513e73d490511b084cd7..7f4c9c4e58dc8a767139167c7c31c0c4e2518eb3 100644
--- a/ui/aura/BUILD.gn
+++ b/ui/aura/BUILD.gn
@@ -206,101 +206,95 @@ source_set("test_support") {
}
}
-#TODO(GYP): Enable this when everything it depends links.
-#executable("aura_demo") {
-# sources = [
-# "demo/demo_main.cc",
-# ]
-#
-# deps = [
-# ":aura",
-# ":test_support",
-# "//base",
-# "//base:i18n",
-# "//skia",
-# "//third_party/icu",
-# "//ui/base",
-# "//ui/compositor",
-# "//ui/compositor:test_support",
-# "//ui/events",
-# "//ui/gfx",
-# "//ui/gfx/geometry",
-# ]
-#
-# if (use_x11) {
-# deps += [
-# "//ui/gfx/x",
-# ]
-# }
-#}
+executable("demo") {
+ output_name = "aura_demo"
+ sources = [
+ "demo/demo_main.cc",
+ ]
+
+ deps = [
+ ":aura",
+ ":test_support",
+ "//base",
+ "//base:i18n",
+ "//skia",
+ "//third_party/icu",
+ "//ui/base",
+ "//ui/compositor",
+ "//ui/compositor:test_support",
+ "//ui/events",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (use_x11) {
+ deps += [
+ "//ui/gfx/x",
+ ]
+ }
+}
-#TODO(GYP): Enable this when everything it depends links.
-#executable("aura_bench") {
-# sources = [
-# "bench/bench_main.cc",
-# ]
-#
-# deps = [
-# ":aura",
-# ":test_support",
-# "//base",
-# "//base:i18n",
-# "//cc",
-# "//skia",
-# "//third_party/icu",
-# "//ui/base",
-# "//ui/compositor",
-# "//ui/compositor:test_support",
-# "//ui/events",
-# "//ui/gfx",
-# "//ui/gfx/geometry",
-# ]
-#
-# if (use_x11) {
-# deps += [
-# "//ui/gfx/x",
-# ]
-# }
-#}
+executable("bench") {
+ output_name = "aura_bench"
+ sources = [
+ "bench/bench_main.cc",
+ ]
-#TODO(GYP): Enable this when everything it depends links.
-#test("aura_unittests") {
-# sources = [
-# "gestures/gesture_recognizer_unittest.cc",
-# "test/run_all_unittests.cc",
-# "window_event_dispatcher_unittest.cc",
-# "window_targeter_unittest.cc",
-# "window_unittest.cc",
-# ]
-#
-# deps = [
-# ":aura",
-# ":test_support",
-# "//base/test:test_support",
-# "//skia",
-# "//testing/gtest",
-# "//ui/base",
-# "//ui/base:test_support",
-# "//ui/compositor",
-# "//ui/compositor:test_support",
-# "//ui/events",
-# "//ui/events:events_base",
-# "//ui/events:gesture_detection",
-# "//ui/gfx",
-# "//ui/gfx/geometry",
-# "//ui/gl",
-# ]
-#
-# if (is_linux) {
-# deps += [
-# "<(DEPTH)/third_party/mesa/mesa.gyp:osmesa",
-# ]
-# }
-#
-# if (is_linux) { # && use_allocator != "none") {
-# deps += [
-# # See http://crbug.com/162998#c4 for why this is needed.
-# "//base/allocator",
-# ]
-# }
-#}
+ deps = [
+ ":aura",
+ ":test_support",
+ "//base",
+ "//base:i18n",
+ "//cc",
+ "//skia",
+ "//third_party/icu",
+ "//ui/base",
+ "//ui/compositor",
+ "//ui/compositor:test_support",
+ "//ui/events",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ if (use_x11) {
+ deps += [
+ "//ui/gfx/x",
+ ]
+ }
+}
+
+test("unittests") {
+ output_name = "aura_unittests"
+ sources = [
+ "gestures/gesture_recognizer_unittest.cc",
+ "test/run_all_unittests.cc",
+ "window_event_dispatcher_unittest.cc",
+ "window_targeter_unittest.cc",
+ "window_unittest.cc",
+ ]
+
+ deps = [
+ ":aura",
+ ":test_support",
+ "//base/allocator",
+ "//base/test:test_support",
+ "//skia",
+ "//testing/gtest",
+ "//ui/base",
+ "//ui/base:test_support",
+ "//ui/compositor",
+ "//ui/compositor:test_support",
+ "//ui/events",
+ "//ui/events:events_base",
+ "//ui/events:gesture_detection",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ ]
+
+ if (is_linux) {
+ deps += [
+ "//third_party/mesa",
+ ]
+ }
+}
« no previous file with comments | « no previous file | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698