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

Side by Side Diff: services/catalog/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 | « media/mojo/services/run_all_unittests.cc ('k') | services/catalog/catalog.h » ('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/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 group("catalog") { 9 group("catalog") {
10 testonly = true 10 testonly = true
11 deps = [ 11 deps = [
12 ":lib", 12 ":lib",
13 ] 13 ]
14 } 14 }
15 15
16 source_set("lib") { 16 source_set("lib") {
17 sources = [ 17 sources = [
18 "catalog.cc", 18 "catalog.cc",
19 "catalog.h", 19 "catalog.h",
20 "constants.cc", 20 "constants.cc",
21 "constants.h", 21 "constants.h",
22 "entry.cc", 22 "entry.cc",
23 "entry.h", 23 "entry.h",
24 "entry_cache.cc", 24 "entry_cache.cc",
25 "entry_cache.h", 25 "entry_cache.h",
26 "instance.cc", 26 "instance.cc",
27 "instance.h", 27 "instance.h",
28 "manifest_provider.h", 28 "manifest_provider.h",
29 "reader.cc",
30 "reader.h",
31 "store.cc", 29 "store.cc",
32 "store.h", 30 "store.h",
33 ] 31 ]
34 32
35 deps = [ 33 deps = [
36 "//base", 34 "//base",
37 "//components/filesystem:lib", 35 "//components/filesystem:lib",
38 "//services/catalog/public/interfaces", 36 "//services/catalog/public/interfaces",
39 "//services/service_manager/public/cpp", 37 "//services/service_manager/public/cpp",
40 ] 38 ]
41 39
42 public_deps = [ 40 public_deps = [
43 # directory.mojom.h is #included by catalog.h 41 # directory.mojom.h is #included by catalog.h
44 "//components/filesystem/public/interfaces", 42 "//components/filesystem/public/interfaces",
45 ] 43 ]
46
47 data_deps = [
48 ":manifest",
49 ]
50 } 44 }
51 45
52 service_manifest("manifest") { 46 service_manifest("manifest") {
53 name = "catalog" 47 name = "catalog"
54 source = "manifest.json" 48 source = "manifest.json"
55 } 49 }
56 50
57 source_set("unittests") { 51 source_set("unittests") {
58 testonly = true 52 testonly = true
59 sources = [ 53 sources = [
60 "entry_unittest.cc", 54 "entry_unittest.cc",
61 ] 55 ]
62 data = [ 56 data = [
63 "//services/catalog/data/", 57 "//services/catalog/data/",
64 ] 58 ]
65 deps = [ 59 deps = [
66 ":lib", 60 ":lib",
67 "//base", 61 "//base",
68 "//services/service_manager/public/cpp", 62 "//services/service_manager/public/cpp",
69 "//testing/gtest", 63 "//testing/gtest",
70 ] 64 ]
71 } 65 }
OLDNEW
« no previous file with comments | « media/mojo/services/run_all_unittests.cc ('k') | services/catalog/catalog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698