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("//mojo/public/mojo_application.gni") | |
6 import("//mojo/public/tools/bindings/mojom.gni") | |
7 | |
8 group("test_service") { | |
9 # Meta-target, don't link into production code. | |
10 testonly = true | |
11 deps = [ | |
12 ":bindings", | |
13 ":test_app", | |
14 ":test_request_tracker_app", | |
15 ] | |
16 } | |
17 | |
18 mojom("bindings") { | |
19 sources = [ | |
20 "test_request_tracker.mojom", | |
21 "test_service.mojom", | |
22 ] | |
23 } | |
24 | |
25 mojo_native_application("test_app") { | |
26 sources = [ | |
27 "test_service_application.cc", | |
28 "test_service_application.h", | |
29 "test_service_impl.cc", | |
30 "test_service_impl.h", | |
31 "test_time_service_impl.cc", | |
32 "test_time_service_impl.h", | |
33 "tracked_service.cc", | |
34 "tracked_service.h", | |
35 ] | |
36 | |
37 deps = [ | |
38 ":bindings", | |
39 "//base", | |
40 "//base:i18n", | |
41 "//mojo/shell/public/cpp", | |
42 ] | |
43 } | |
44 | |
45 mojo_native_application("test_request_tracker_app") { | |
46 sources = [ | |
47 "test_request_tracker_application.cc", | |
48 "test_request_tracker_application.h", | |
49 "test_request_tracker_impl.cc", | |
50 "test_request_tracker_impl.h", | |
51 "test_time_service_impl.cc", | |
52 "test_time_service_impl.h", | |
53 "tracked_service.cc", | |
54 "tracked_service.h", | |
55 ] | |
56 | |
57 deps = [ | |
58 ":bindings", | |
59 "//base", | |
60 "//base:i18n", | |
61 "//mojo/shell/public/cpp", | |
62 ] | |
63 } | |
OLD | NEW |