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