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

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

Issue 2645973006: [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")
5 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 9
9 source_set("lib") { 10 source_set("lib") {
10 sources = [ 11 sources = [
11 "clipboard_impl.cc", 12 "clipboard_impl.cc",
12 "clipboard_impl.h", 13 "clipboard_impl.h",
13 ] 14 ]
14 15
(...skipping 10 matching lines...) Expand all
25 group("tests") { 26 group("tests") {
26 testonly = true 27 testonly = true
27 deps = [ 28 deps = [
28 ":mus_clipboard_unittests", 29 ":mus_clipboard_unittests",
29 ] 30 ]
30 } 31 }
31 32
32 test("mus_clipboard_unittests") { 33 test("mus_clipboard_unittests") {
33 sources = [ 34 sources = [
34 "clipboard_unittest.cc", 35 "clipboard_unittest.cc",
36 "run_all_unittests.cc",
35 ] 37 ]
36 38
37 deps = [ 39 deps = [
38 "//base", 40 "//base",
41 "//base/test:test_support",
39 "//mojo/common", 42 "//mojo/common",
43 "//mojo/edk/system",
44 "//services/catalog:lib",
40 "//services/service_manager/public/cpp:service_test_support", 45 "//services/service_manager/public/cpp:service_test_support",
41 "//services/service_manager/public/cpp:sources", 46 "//services/service_manager/public/cpp:sources",
42 "//services/service_manager/public/cpp/test:run_all_service_tests",
43 "//services/ui/public/interfaces", 47 "//services/ui/public/interfaces",
44 ] 48 ]
45 49
46 data_deps = [ 50 data_deps = [
47 ":test_manifest",
48 ":lib", 51 ":lib",
52 ":mus_clipboard_unittests_catalog_copy",
49 "//services/ui", 53 "//services/ui",
50 ] 54 ]
51 } 55 }
52 56
53 service_manifest("test_manifest") { 57 service_manifest("test_manifest") {
54 name = "mus_clipboard_unittests" 58 name = "mus_clipboard_unittests"
55 source = "test_manifest.json" 59 source = "test_manifest.json"
56 } 60 }
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