OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") |
| 6 |
5 source_set("common") { | 7 source_set("common") { |
6 sources = [ | 8 sources = [ |
7 "args.cc", | 9 "args.cc", |
8 "args.h", | 10 "args.h", |
| 11 "event_param_traits.cc", |
| 12 "event_param_traits.h", |
| 13 "event_param_traits_macros.h", |
| 14 "mus_ipc_export.h", |
9 "transient_window_utils.h", | 15 "transient_window_utils.h", |
10 "types.h", | 16 "types.h", |
11 "util.h", | 17 "util.h", |
12 "window_tracker.h", | 18 "window_tracker.h", |
13 ] | 19 ] |
14 deps = [ | 20 deps = [ |
15 "//components/mus/public/interfaces", | 21 "//components/mus/public/interfaces", |
| 22 "//ipc:ipc", |
| 23 "//ui/events:events", |
16 ] | 24 ] |
17 } | 25 } |
| 26 |
| 27 test("mus_common_unittests") { |
| 28 sources = [ |
| 29 "event_param_traits_unittest.cc", |
| 30 ] |
| 31 deps = [ |
| 32 ":common", |
| 33 "//base", |
| 34 "//base/test:run_all_unittests", |
| 35 "//base/test:test_config", |
| 36 "//ipc:ipc", |
| 37 "//mojo/edk/test:test_support", |
| 38 "//testing/gtest", |
| 39 "//ui/events:events", |
| 40 "//ui/gfx:test_support", |
| 41 "//ui/gfx/ipc", |
| 42 ] |
| 43 } |
OLD | NEW |