OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//services/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 source_set("lib") { | 9 source_set("lib") { |
10 sources = [ | 10 sources = [ |
11 "clipboard_impl.cc", | 11 "clipboard_impl.cc", |
12 "clipboard_impl.h", | 12 "clipboard_impl.h", |
13 ] | 13 ] |
14 | 14 |
15 deps = [ | 15 deps = [ |
16 "//base", | 16 "//base", |
17 "//mojo/common", | 17 "//mojo/common", |
18 "//mojo/public/cpp/bindings", | 18 "//mojo/public/cpp/bindings", |
19 "//services/shell/public/cpp", | 19 "//services/service_manager/public/cpp", |
20 "//services/tracing/public/cpp", | 20 "//services/tracing/public/cpp", |
21 "//services/ui/public/interfaces", | 21 "//services/ui/public/interfaces", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 group("tests") { | 25 group("tests") { |
26 testonly = true | 26 testonly = true |
27 deps = [ | 27 deps = [ |
28 ":mus_clipboard_unittests", | 28 ":mus_clipboard_unittests", |
29 ] | 29 ] |
30 } | 30 } |
31 | 31 |
32 test("mus_clipboard_unittests") { | 32 test("mus_clipboard_unittests") { |
33 sources = [ | 33 sources = [ |
34 "clipboard_unittest.cc", | 34 "clipboard_unittest.cc", |
35 ] | 35 ] |
36 | 36 |
37 deps = [ | 37 deps = [ |
38 "//base", | 38 "//base", |
39 "//mojo/common", | 39 "//mojo/common", |
40 "//services/shell/public/cpp:service_test_support", | 40 "//services/service_manager/public/cpp:service_test_support", |
41 "//services/shell/public/cpp:sources", | 41 "//services/service_manager/public/cpp:sources", |
42 "//services/shell/public/cpp/test:run_all_shelltests", | 42 "//services/service_manager/public/cpp/test:run_all_shelltests", |
43 "//services/ui/public/interfaces", | 43 "//services/ui/public/interfaces", |
44 ] | 44 ] |
45 | 45 |
46 data_deps = [ | 46 data_deps = [ |
47 ":test_manifest", | 47 ":test_manifest", |
48 ":lib", | 48 ":lib", |
49 "//services/ui", | 49 "//services/ui", |
50 ] | 50 ] |
51 } | 51 } |
52 | 52 |
53 service_manifest("test_manifest") { | 53 service_manifest("test_manifest") { |
54 type = "exe" | 54 type = "exe" |
55 name = "mus_clipboard_unittests" | 55 name = "mus_clipboard_unittests" |
56 source = "test_manifest.json" | 56 source = "test_manifest.json" |
57 } | 57 } |
OLD | NEW |