Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / mojo / services / test_service / BUILD.gn
blob90bf19a21bf20caaf80bf455f168f7cbafeebedb
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.
5 import("//mojo/public/mojo_application.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 group("test_service") {
9   # Meta-target, don't link into production code.
10   testonly = true
11   deps = [
12     ":bindings",
13     ":test_app",
14     ":test_request_tracker_app",
15   ]
18 mojom("bindings") {
19   sources = [
20     "test_request_tracker.mojom",
21     "test_service.mojom",
22   ]
25 mojo_native_application("test_app") {
26   sources = [
27     "test_service_application.cc",
28     "test_service_application.h",
29     "test_service_impl.cc",
30     "test_service_impl.h",
31     "test_time_service_impl.cc",
32     "test_time_service_impl.h",
33     "tracked_service.cc",
34     "tracked_service.h",
35   ]
37   deps = [
38     ":bindings",
39     "//base",
40     "//base:i18n",
41     "//mojo/application/public/cpp",
42   ]
45 mojo_native_application("test_request_tracker_app") {
46   sources = [
47     "test_request_tracker_application.cc",
48     "test_request_tracker_application.h",
49     "test_request_tracker_impl.cc",
50     "test_request_tracker_impl.h",
51     "test_time_service_impl.cc",
52     "test_time_service_impl.h",
53     "tracked_service.cc",
54     "tracked_service.h",
55   ]
57   deps = [
58     ":bindings",
59     "//base",
60     "//base:i18n",
61     "//mojo/application/public/cpp",
62   ]