James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 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 | |
Benjamin Lerman | 2150a7b | 2014-11-14 21:49:31 +0100 | [diff] [blame] | 5 | import("//mojo/public/mojo_application.gni") |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 6 | import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 8 | mojom("bindings") { |
| 9 | sources = [ |
| 10 | "test_request_tracker.mojom", |
| 11 | "test_service.mojom", |
| 12 | ] |
| 13 | } |
| 14 | |
Benjamin Lerman | 2150a7b | 2014-11-14 21:49:31 +0100 | [diff] [blame] | 15 | mojo_native_application("test_app") { |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 16 | sources = [ |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 17 | "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 Robinson | 51b4cd6 | 2015-02-04 11:27:40 -0800 | [diff] [blame] | 23 | "tracked_service.cc", |
| 24 | "tracked_service.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 25 | ] |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 26 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 27 | deps = [ |
| 28 | ":bindings", |
| 29 | "//base", |
| 30 | "//base:i18n", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 31 | "//mojo/public/cpp/application", |
| 32 | "//mojo/public/cpp/application:standalone", |
James Robinson | 55a1e4c | 2014-11-24 16:57:45 -0800 | [diff] [blame] | 33 | "//mojo/public/cpp/bindings", |
| 34 | "//mojo/public/cpp/system", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 35 | "//mojo/public/cpp/utility", |
| 36 | ] |
Dave Moore | 84f21ac | 2014-10-23 21:38:10 -0700 | [diff] [blame] | 37 | } |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 38 | |
Benjamin Lerman | 2150a7b | 2014-11-14 21:49:31 +0100 | [diff] [blame] | 39 | mojo_native_application("test_request_tracker_app") { |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 40 | sources = [ |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 41 | "test_request_tracker_application.cc", |
| 42 | "test_request_tracker_application.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 43 | "test_request_tracker_impl.cc", |
| 44 | "test_request_tracker_impl.h", |
James Robinson | 51b4cd6 | 2015-02-04 11:27:40 -0800 | [diff] [blame] | 45 | "test_time_service_impl.cc", |
| 46 | "test_time_service_impl.h", |
| 47 | "tracked_service.cc", |
| 48 | "tracked_service.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 49 | ] |
Dave Moore | 84f21ac | 2014-10-23 21:38:10 -0700 | [diff] [blame] | 50 | |
| 51 | deps = [ |
| 52 | ":bindings", |
| 53 | "//base", |
| 54 | "//base:i18n", |
Dave Moore | 84f21ac | 2014-10-23 21:38:10 -0700 | [diff] [blame] | 55 | "//mojo/public/cpp/application", |
| 56 | "//mojo/public/cpp/application:standalone", |
James Robinson | 55a1e4c | 2014-11-24 16:57:45 -0800 | [diff] [blame] | 57 | "//mojo/public/cpp/bindings", |
| 58 | "//mojo/public/cpp/system", |
Dave Moore | 84f21ac | 2014-10-23 21:38:10 -0700 | [diff] [blame] | 59 | "//mojo/public/cpp/utility", |
| 60 | ] |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 61 | } |