Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: services/ui/demo/BUILD.gn

Issue 2651953002: Revert of [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/clipboard/run_all_unittests.cc ('k') | services/ui/demo/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//services/catalog/public/tools/catalog.gni")
6 import("//services/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
7 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
8 import("//testing/test.gni") 7 import("//testing/test.gni")
9 8
10 source_set("lib") { 9 source_set("lib") {
11 sources = [ 10 sources = [
12 "mus_demo.cc", 11 "mus_demo.cc",
13 "mus_demo.h", 12 "mus_demo.h",
14 ] 13 ]
15 14
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 service_manifest("test_manifest") { 54 service_manifest("test_manifest") {
56 name = "mus_demo_unittests" 55 name = "mus_demo_unittests"
57 source = "test_manifest.json" 56 source = "test_manifest.json"
58 } 57 }
59 58
60 test("mus_demo_unittests") { 59 test("mus_demo_unittests") {
61 testonly = true 60 testonly = true
62 61
63 sources = [ 62 sources = [
64 "mus_demo_unittests.cc", 63 "mus_demo_unittests.cc",
65 "run_all_unittests.cc",
66 ] 64 ]
67 65
68 deps = [ 66 deps = [
69 ":demo", 67 ":demo",
70 "//base", 68 "//base",
71 "//base/test:test_support",
72 "//mojo/edk/system",
73 "//services/catalog:lib",
74 "//services/service_manager/public/cpp", 69 "//services/service_manager/public/cpp",
75 "//services/service_manager/public/cpp:service_test_support", 70 "//services/service_manager/public/cpp:service_test_support",
71 "//services/ui/common:run_all_service_tests",
76 "//services/ui/public/interfaces", 72 "//services/ui/public/interfaces",
77 "//testing/gtest", 73 "//testing/gtest",
78 ] 74 ]
79 75
80 data_deps = [ 76 data_deps = [
81 ":mus_demo", 77 ":mus_demo",
82 ":mus_demo_unittests_catalog_copy", 78 ":test_manifest",
83 ] 79 ]
84 } 80 }
85 81
86 group("demo") { 82 group("demo") {
87 deps = [ 83 deps = [
88 ":mus_demo", 84 ":mus_demo",
89 ] 85 ]
90 } 86 }
91
92 catalog("mus_demo_unittests_catalog") {
93 embedded_services = [ ":test_manifest" ]
94
95 standalone_services = [
96 ":manifest",
97 "//services/ui:manifest",
98 ]
99 }
100
101 copy("mus_demo_unittests_catalog_copy") {
102 sources = get_target_outputs(":mus_demo_unittests_catalog")
103 outputs = [
104 "${root_out_dir}/mus_demo_unittests_catalog.json",
105 ]
106 deps = [
107 ":mus_demo_unittests_catalog",
108 ]
109 }
OLDNEW
« no previous file with comments | « services/ui/clipboard/run_all_unittests.cc ('k') | services/ui/demo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698