OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 test("mus_public_unittests") { | 8 source_set("tests") { |
| 9 testonly = true |
| 10 |
9 sources = [ | 11 sources = [ |
10 "property_type_converters_unittest.cc", | 12 "property_type_converters_unittest.cc", |
11 "run_all_unittests.cc", | |
12 "window_server_test_suite.cc", | 13 "window_server_test_suite.cc", |
13 "window_server_test_suite.h", | 14 "window_server_test_suite.h", |
14 ] | 15 ] |
15 | 16 |
16 deps = [ | 17 deps = [ |
17 "//base", | 18 "//base", |
18 "//base/test:test_support", | 19 "//base/test:test_support", |
19 "//mojo/common:common_base", | 20 "//mojo/common:common_base", |
20 "//mojo/edk/system", | 21 "//mojo/edk/system", |
21 "//mojo/public/cpp/system", | 22 "//mojo/public/cpp/system", |
22 "//services/service_manager/public/cpp", | 23 "//services/service_manager/public/cpp", |
23 "//services/ui/public/cpp", | 24 "//services/ui/public/cpp", |
24 "//testing/gtest", | 25 "//testing/gtest", |
25 "//ui/gfx:test_support", | 26 "//ui/gfx:test_support", |
26 "//ui/gfx/geometry", | 27 "//ui/gfx/geometry", |
27 "//ui/gfx/geometry/mojo", | 28 "//ui/gfx/geometry/mojo", |
28 ] | 29 ] |
29 | 30 |
30 if (use_x11) { | 31 if (use_x11) { |
31 deps += [ "//ui/gfx/x" ] | 32 deps += [ "//ui/gfx/x" ] |
32 } | 33 } |
33 } | 34 } |
OLD | NEW |