| OLD | NEW |
| (Empty) |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/ui.gni") | |
| 6 import("//testing/test.gni") | |
| 7 | |
| 8 source_set("unittest_support") { | |
| 9 testonly = true | |
| 10 | |
| 11 sources = [ | |
| 12 "test_window.h", | |
| 13 "test_window_tree.cc", | |
| 14 "test_window_tree.h", | |
| 15 "test_window_tree_client_setup.cc", | |
| 16 "test_window_tree_client_setup.h", | |
| 17 "window_tree_client_private.cc", | |
| 18 "window_tree_client_private.h", | |
| 19 ] | |
| 20 | |
| 21 deps = [ | |
| 22 "//base", | |
| 23 "//components/mus/public/cpp", | |
| 24 "//testing/gtest", | |
| 25 "//ui/display", | |
| 26 "//ui/gfx/geometry/mojo", | |
| 27 ] | |
| 28 } | |
| 29 | |
| 30 source_set("test_support") { | |
| 31 testonly = true | |
| 32 | |
| 33 sources = [ | |
| 34 "window_server_shelltest_base.cc", | |
| 35 "window_server_shelltest_base.h", | |
| 36 "window_server_test_base.cc", | |
| 37 "window_server_test_base.h", | |
| 38 ] | |
| 39 | |
| 40 deps = [ | |
| 41 "//base", | |
| 42 "//base/test:test_config", | |
| 43 "//components/mus/common:mus_common", | |
| 44 "//components/mus/public/cpp", | |
| 45 "//services/shell/public/cpp:shell_test_support", | |
| 46 "//services/shell/public/cpp:sources", | |
| 47 "//testing/gtest", | |
| 48 "//ui/gl", | |
| 49 ] | |
| 50 } | |
| 51 | |
| 52 test("mus_public_unittests") { | |
| 53 sources = [ | |
| 54 "property_type_converters_unittest.cc", | |
| 55 "run_all_unittests.cc", | |
| 56 "window_server_test_suite.cc", | |
| 57 "window_server_test_suite.h", | |
| 58 "window_tree_client_unittest.cc", | |
| 59 "window_unittest.cc", | |
| 60 ] | |
| 61 | |
| 62 deps = [ | |
| 63 ":unittest_support", | |
| 64 "//base", | |
| 65 "//base/test:test_support", | |
| 66 "//components/mus/common:mus_common", | |
| 67 "//components/mus/public/cpp", | |
| 68 "//mojo/common:common_base", | |
| 69 "//mojo/edk/system", | |
| 70 "//mojo/public/cpp/system", | |
| 71 "//services/shell/public/cpp", | |
| 72 "//testing/gtest", | |
| 73 "//ui/events", | |
| 74 "//ui/gfx:test_support", | |
| 75 "//ui/gfx/geometry", | |
| 76 "//ui/gfx/geometry/mojo", | |
| 77 ] | |
| 78 | |
| 79 if (use_x11) { | |
| 80 deps += [ "//ui/gfx/x" ] | |
| 81 } | |
| 82 } | |
| OLD | NEW |