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") | 5 source_set("common") { |
6 | |
7 component("mus_common") { | |
8 sources = [ | 6 sources = [ |
9 "args.cc", | 7 "args.cc", |
10 "args.h", | 8 "args.h", |
11 "event_param_traits.cc", | |
12 "event_param_traits.h", | |
13 "event_param_traits_macros.h", | |
14 "mus_common_export.h", | |
15 "transient_window_utils.h", | 9 "transient_window_utils.h", |
16 "types.h", | 10 "types.h", |
17 "util.h", | 11 "util.h", |
18 "window_tracker.h", | 12 "window_tracker.h", |
19 ] | 13 ] |
20 | |
21 defines = [ "MUS_IPC_IMPLEMENTATION" ] | |
22 | |
23 deps = [ | 14 deps = [ |
24 "//components/mus/public/interfaces", | 15 "//components/mus/public/interfaces", |
25 "//ipc:ipc", | |
26 "//mojo/public/c/system:for_component", | |
27 "//ui/events:events", | |
28 "//ui/gfx/ipc", | |
29 ] | 16 ] |
30 } | 17 } |
31 | |
32 test("mus_common_unittests") { | |
33 sources = [ | |
34 "event_param_traits_unittest.cc", | |
35 ] | |
36 public_deps = [ | |
37 ":mus_common", | |
38 ] | |
39 deps = [ | |
40 "//base", | |
41 "//base/test:run_all_unittests", | |
42 "//base/test:test_config", | |
43 "//ipc:ipc", | |
44 "//mojo/edk/test:test_support", | |
45 "//testing/gtest", | |
46 "//ui/events:events", | |
47 "//ui/gfx:test_support", | |
48 "//ui/gfx/ipc", | |
49 ] | |
50 } | |
OLD | NEW |