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("//mojo/public/mojo_application.gni") |
5 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 7 |
7 # GYP version: mojo/mojo_services.gypi:mojo_test_service_bindings | |
8 mojom("bindings") { | 8 mojom("bindings") { |
9 sources = [ | 9 sources = [ |
10 "test_request_tracker.mojom", | 10 "test_request_tracker.mojom", |
11 "test_service.mojom", | 11 "test_service.mojom", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 # GYP version: mojo/mojo_services.gypi:mojo_test_app | 15 mojo_native_application("test_app") { |
16 shared_library("test_app") { | |
17 sources = [ | 16 sources = [ |
18 "test_request_tracker_client_impl.cc", | 17 "test_request_tracker_client_impl.cc", |
19 "test_request_tracker_client_impl.h", | 18 "test_request_tracker_client_impl.h", |
20 "test_service_application.cc", | 19 "test_service_application.cc", |
21 "test_service_application.h", | 20 "test_service_application.h", |
22 "test_service_impl.cc", | 21 "test_service_impl.cc", |
23 "test_service_impl.h", | 22 "test_service_impl.h", |
24 "test_time_service_impl.cc", | 23 "test_time_service_impl.cc", |
25 "test_time_service_impl.h", | 24 "test_time_service_impl.h", |
26 ] | 25 ] |
27 | 26 |
28 deps = [ | 27 deps = [ |
29 ":bindings", | 28 ":bindings", |
30 "//base", | 29 "//base", |
31 "//base:i18n", | 30 "//base:i18n", |
32 "//mojo/public/c/system:for_shared_library", | 31 "//mojo/public/c/system:for_shared_library", |
33 "//mojo/public/cpp/application", | 32 "//mojo/public/cpp/application", |
34 "//mojo/public/cpp/application:standalone", | 33 "//mojo/public/cpp/application:standalone", |
35 "//mojo/public/cpp/utility", | 34 "//mojo/public/cpp/utility", |
36 ] | 35 ] |
37 } | 36 } |
38 | 37 |
39 # GYP version: //mojo/mojo_services.gypi:mojo_test_request_tracker_app | 38 mojo_native_application("test_request_tracker_app") { |
40 shared_library("test_request_tracker_app") { | |
41 sources = [ | 39 sources = [ |
42 "test_request_tracker_client_impl.cc", | 40 "test_request_tracker_client_impl.cc", |
43 "test_request_tracker_client_impl.h", | 41 "test_request_tracker_client_impl.h", |
44 "test_request_tracker_application.cc", | 42 "test_request_tracker_application.cc", |
45 "test_request_tracker_application.h", | 43 "test_request_tracker_application.h", |
46 "test_time_service_impl.cc", | 44 "test_time_service_impl.cc", |
47 "test_time_service_impl.h", | 45 "test_time_service_impl.h", |
48 "test_request_tracker_impl.cc", | 46 "test_request_tracker_impl.cc", |
49 "test_request_tracker_impl.h", | 47 "test_request_tracker_impl.h", |
50 ] | 48 ] |
51 | 49 |
52 deps = [ | 50 deps = [ |
53 ":bindings", | 51 ":bindings", |
54 "//base", | 52 "//base", |
55 "//base:i18n", | 53 "//base:i18n", |
56 "//mojo/public/c/system:for_shared_library", | 54 "//mojo/public/c/system:for_shared_library", |
57 "//mojo/public/cpp/application", | 55 "//mojo/public/cpp/application", |
58 "//mojo/public/cpp/application:standalone", | 56 "//mojo/public/cpp/application:standalone", |
59 "//mojo/public/cpp/utility", | 57 "//mojo/public/cpp/utility", |
60 ] | 58 ] |
61 } | 59 } |
OLD | NEW |