blob: 1f2a2679a93863b8fc236273b340e6763d7a7548 [file] [log] [blame]
James Robinson646469d2014-10-03 15:33:28 -07001# 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
Benjamin Lerman2150a7b2014-11-14 21:49:31 +01005import("//mojo/public/mojo_application.gni")
James Robinson646469d2014-10-03 15:33:28 -07006import("//mojo/public/tools/bindings/mojom.gni")
7
James Robinson646469d2014-10-03 15:33:28 -07008mojom("bindings") {
9 sources = [
10 "test_request_tracker.mojom",
11 "test_service.mojom",
12 ]
13}
14
Benjamin Lerman2150a7b2014-11-14 21:49:31 +010015mojo_native_application("test_app") {
James Robinson646469d2014-10-03 15:33:28 -070016 sources = [
James Robinson646469d2014-10-03 15:33:28 -070017 "test_service_application.cc",
18 "test_service_application.h",
19 "test_service_impl.cc",
20 "test_service_impl.h",
21 "test_time_service_impl.cc",
22 "test_time_service_impl.h",
James Robinson51b4cd62015-02-04 11:27:40 -080023 "tracked_service.cc",
24 "tracked_service.h",
James Robinson646469d2014-10-03 15:33:28 -070025 ]
James Robinson646469d2014-10-03 15:33:28 -070026
James Robinson646469d2014-10-03 15:33:28 -070027 deps = [
28 ":bindings",
29 "//base",
30 "//base:i18n",
James Robinson646469d2014-10-03 15:33:28 -070031 "//mojo/public/cpp/application",
32 "//mojo/public/cpp/application:standalone",
James Robinson55a1e4c2014-11-24 16:57:45 -080033 "//mojo/public/cpp/bindings",
34 "//mojo/public/cpp/system",
James Robinson646469d2014-10-03 15:33:28 -070035 "//mojo/public/cpp/utility",
36 ]
Dave Moore84f21ac2014-10-23 21:38:10 -070037}
James Robinson646469d2014-10-03 15:33:28 -070038
Benjamin Lerman2150a7b2014-11-14 21:49:31 +010039mojo_native_application("test_request_tracker_app") {
James Robinson646469d2014-10-03 15:33:28 -070040 sources = [
James Robinson646469d2014-10-03 15:33:28 -070041 "test_request_tracker_application.cc",
42 "test_request_tracker_application.h",
James Robinson646469d2014-10-03 15:33:28 -070043 "test_request_tracker_impl.cc",
44 "test_request_tracker_impl.h",
James Robinson51b4cd62015-02-04 11:27:40 -080045 "test_time_service_impl.cc",
46 "test_time_service_impl.h",
47 "tracked_service.cc",
48 "tracked_service.h",
James Robinson646469d2014-10-03 15:33:28 -070049 ]
Dave Moore84f21ac2014-10-23 21:38:10 -070050
51 deps = [
52 ":bindings",
53 "//base",
54 "//base:i18n",
Dave Moore84f21ac2014-10-23 21:38:10 -070055 "//mojo/public/cpp/application",
56 "//mojo/public/cpp/application:standalone",
James Robinson55a1e4c2014-11-24 16:57:45 -080057 "//mojo/public/cpp/bindings",
58 "//mojo/public/cpp/system",
Dave Moore84f21ac2014-10-23 21:38:10 -070059 "//mojo/public/cpp/utility",
60 ]
James Robinson646469d2014-10-03 15:33:28 -070061}