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

Unified Diff: ui/aura/BUILD.gn

Issue 886323002: Remove more targets from GN Windows build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/app_list/BUILD.gn ('k') | ui/keyboard/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 0ebe448e17594b81a477cc5884b865705b0022d2..78f12d035b25084dc95ea09a70b4ff8f3d864c7a 100644
--- a/ui/aura/BUILD.gn
+++ b/ui/aura/BUILD.gn
@@ -237,61 +237,63 @@ executable("demo") {
}
}
-executable("bench") {
- output_name = "aura_bench"
- testonly = true
+if (!is_win || link_chrome_on_windows) {
+ executable("bench") {
+ output_name = "aura_bench"
+ testonly = true
- sources = [
- "bench/bench_main.cc",
- ]
+ sources = [
+ "bench/bench_main.cc",
+ ]
- deps = [
- ":test_support",
- "//base",
- "//base:i18n",
- "//cc",
- "//gpu/command_buffer/client:gles2_interface",
- "//skia",
- "//third_party/icu",
- "//ui/base",
- "//ui/compositor",
- "//ui/compositor:test_support",
- "//ui/events",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
+ deps = [
+ ":test_support",
+ "//base",
+ "//base:i18n",
+ "//cc",
+ "//gpu/command_buffer/client:gles2_interface",
+ "//skia",
+ "//third_party/icu",
+ "//ui/base",
+ "//ui/compositor",
+ "//ui/compositor:test_support",
+ "//ui/events",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ ]
- if (use_x11) {
- deps += [ "//ui/gfx/x" ]
+ if (use_x11) {
+ deps += [ "//ui/gfx/x" ]
+ }
}
-}
-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",
- ]
+ 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 = [
- ":test_support",
- "//base/allocator",
- "//base/test:test_support",
- "//skia",
- "//testing/gtest",
- "//ui/base:test_support",
- "//ui/compositor:test_support",
- "//ui/events:test_support",
- "//ui/events:gesture_detection",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
- ]
+ deps = [
+ ":test_support",
+ "//base/allocator",
+ "//base/test:test_support",
+ "//skia",
+ "//testing/gtest",
+ "//ui/base:test_support",
+ "//ui/compositor:test_support",
+ "//ui/events:test_support",
+ "//ui/events:gesture_detection",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ ]
- if (is_linux) {
- deps += [ "//third_party/mesa" ]
+ if (is_linux) {
+ deps += [ "//third_party/mesa" ]
+ }
}
}
« no previous file with comments | « ui/app_list/BUILD.gn ('k') | ui/keyboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698