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

Side by Side Diff: components/leveldb/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 | « components/font_service/BUILD.gn ('k') | components/leveldb/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 static_library("lib") { 10 static_library("lib") {
10 sources = [ 11 sources = [
11 "env_mojo.cc", 12 "env_mojo.cc",
12 "env_mojo.h", 13 "env_mojo.h",
13 "leveldb_database_impl.cc", 14 "leveldb_database_impl.cc",
14 "leveldb_database_impl.h", 15 "leveldb_database_impl.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 57
57 service_manifest("manifest") { 58 service_manifest("manifest") {
58 name = "leveldb" 59 name = "leveldb"
59 source = "manifest.json" 60 source = "manifest.json"
60 } 61 }
61 62
62 test("leveldb_service_unittests") { 63 test("leveldb_service_unittests") {
63 sources = [ 64 sources = [
64 "leveldb_service_unittest.cc", 65 "leveldb_service_unittest.cc",
65 "remote_iterator_unittest.cc", 66 "remote_iterator_unittest.cc",
67 "run_all_unittests.cc",
66 ] 68 ]
67 69
68 deps = [ 70 deps = [
69 "//base", 71 "//base",
72 "//base/test:test_support",
70 "//components/filesystem/public/interfaces", 73 "//components/filesystem/public/interfaces",
71 "//components/leveldb/public/cpp", 74 "//components/leveldb/public/cpp",
72 "//components/leveldb/public/interfaces", 75 "//components/leveldb/public/interfaces",
73 "//mojo/common", 76 "//mojo/common",
77 "//mojo/edk/system",
74 "//mojo/public/cpp/bindings", 78 "//mojo/public/cpp/bindings",
75 "//mojo/public/cpp/system", 79 "//mojo/public/cpp/system",
80 "//services/catalog:lib",
76 "//services/service_manager/public/cpp:service_test_support", 81 "//services/service_manager/public/cpp:service_test_support",
77 "//services/service_manager/public/cpp:sources", 82 "//services/service_manager/public/cpp:sources",
78 "//services/service_manager/public/cpp/test:run_all_service_tests",
79 "//third_party/leveldatabase", 83 "//third_party/leveldatabase",
80 ] 84 ]
81 85
82 data_deps = [ 86 data_deps = [
83 ":test_manifest",
84 ":leveldb", 87 ":leveldb",
88 ":leveldb_service_unittests_catalog_copy",
85 "//components/filesystem:filesystem", 89 "//components/filesystem:filesystem",
86 ] 90 ]
87 } 91 }
88 92
89 service_manifest("test_manifest") { 93 service_manifest("test_manifest") {
90 name = "leveldb_service_unittests" 94 name = "leveldb_service_unittests"
91 source = "test_manifest.json" 95 source = "test_manifest.json"
92 } 96 }
97
98 catalog("leveldb_service_unittests_catalog") {
99 embedded_services = [ ":test_manifest" ]
100 standalone_services = [
101 ":manifest",
102 "//components/filesystem:manifest",
103 ]
104 }
105
106 copy("leveldb_service_unittests_catalog_copy") {
107 sources = get_target_outputs(":leveldb_service_unittests_catalog")
108 outputs = [
109 "${root_out_dir}/leveldb_service_unittests_catalog.json",
110 ]
111 deps = [
112 ":leveldb_service_unittests_catalog",
113 ]
114 }
OLDNEW
« no previous file with comments | « components/font_service/BUILD.gn ('k') | components/leveldb/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698