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