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