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

Side by Side Diff: services/ui/clipboard/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/BUILD.gn ('k') | services/ui/clipboard/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 "clipboard_impl.cc", 11 "clipboard_impl.cc",
13 "clipboard_impl.h", 12 "clipboard_impl.h",
14 ] 13 ]
15 14
(...skipping 10 matching lines...) Expand all
26 group("tests") { 25 group("tests") {
27 testonly = true 26 testonly = true
28 deps = [ 27 deps = [
29 ":mus_clipboard_unittests", 28 ":mus_clipboard_unittests",
30 ] 29 ]
31 } 30 }
32 31
33 test("mus_clipboard_unittests") { 32 test("mus_clipboard_unittests") {
34 sources = [ 33 sources = [
35 "clipboard_unittest.cc", 34 "clipboard_unittest.cc",
36 "run_all_unittests.cc",
37 ] 35 ]
38 36
39 deps = [ 37 deps = [
40 "//base", 38 "//base",
41 "//base/test:test_support",
42 "//mojo/common", 39 "//mojo/common",
43 "//mojo/edk/system",
44 "//services/catalog:lib",
45 "//services/service_manager/public/cpp:service_test_support", 40 "//services/service_manager/public/cpp:service_test_support",
46 "//services/service_manager/public/cpp:sources", 41 "//services/service_manager/public/cpp:sources",
42 "//services/service_manager/public/cpp/test:run_all_service_tests",
47 "//services/ui/public/interfaces", 43 "//services/ui/public/interfaces",
48 ] 44 ]
49 45
50 data_deps = [ 46 data_deps = [
47 ":test_manifest",
51 ":lib", 48 ":lib",
52 ":mus_clipboard_unittests_catalog_copy",
53 "//services/ui", 49 "//services/ui",
54 ] 50 ]
55 } 51 }
56 52
57 service_manifest("test_manifest") { 53 service_manifest("test_manifest") {
58 name = "mus_clipboard_unittests" 54 name = "mus_clipboard_unittests"
59 source = "test_manifest.json" 55 source = "test_manifest.json"
60 } 56 }
61
62 catalog("mus_clipboard_unittests_catalog") {
63 embedded_services = [ ":test_manifest" ]
64 standalone_services = [ "//services/ui:manifest" ]
65 }
66
67 copy("mus_clipboard_unittests_catalog_copy") {
68 sources = get_target_outputs(":mus_clipboard_unittests_catalog")
69 outputs = [
70 "${root_out_dir}/mus_clipboard_unittests_catalog.json",
71 ]
72 deps = [
73 ":mus_clipboard_unittests_catalog",
74 ]
75 }
OLDNEW
« no previous file with comments | « services/ui/BUILD.gn ('k') | services/ui/clipboard/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698