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

Side by Side Diff: components/leveldb/BUILD.gn

Issue 2651953002: Revert of [Service Manager] Get rid of dynamic service discovery (Closed)
Patch Set: Created 3 years, 10 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/filesystem/run_all_unittests.cc ('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")
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 static_library("lib") { 9 static_library("lib") {
11 sources = [ 10 sources = [
12 "env_mojo.cc", 11 "env_mojo.cc",
13 "env_mojo.h", 12 "env_mojo.h",
14 "leveldb_database_impl.cc", 13 "leveldb_database_impl.cc",
15 "leveldb_database_impl.h", 14 "leveldb_database_impl.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 56
58 service_manifest("manifest") { 57 service_manifest("manifest") {
59 name = "leveldb" 58 name = "leveldb"
60 source = "manifest.json" 59 source = "manifest.json"
61 } 60 }
62 61
63 test("leveldb_service_unittests") { 62 test("leveldb_service_unittests") {
64 sources = [ 63 sources = [
65 "leveldb_service_unittest.cc", 64 "leveldb_service_unittest.cc",
66 "remote_iterator_unittest.cc", 65 "remote_iterator_unittest.cc",
67 "run_all_unittests.cc",
68 ] 66 ]
69 67
70 deps = [ 68 deps = [
71 "//base", 69 "//base",
72 "//base/test:test_support",
73 "//components/filesystem/public/interfaces", 70 "//components/filesystem/public/interfaces",
74 "//components/leveldb/public/cpp", 71 "//components/leveldb/public/cpp",
75 "//components/leveldb/public/interfaces", 72 "//components/leveldb/public/interfaces",
76 "//mojo/common", 73 "//mojo/common",
77 "//mojo/edk/system",
78 "//mojo/public/cpp/bindings", 74 "//mojo/public/cpp/bindings",
79 "//mojo/public/cpp/system", 75 "//mojo/public/cpp/system",
80 "//services/catalog:lib",
81 "//services/service_manager/public/cpp:service_test_support", 76 "//services/service_manager/public/cpp:service_test_support",
82 "//services/service_manager/public/cpp:sources", 77 "//services/service_manager/public/cpp:sources",
78 "//services/service_manager/public/cpp/test:run_all_service_tests",
83 "//third_party/leveldatabase", 79 "//third_party/leveldatabase",
84 ] 80 ]
85 81
86 data_deps = [ 82 data_deps = [
83 ":test_manifest",
87 ":leveldb", 84 ":leveldb",
88 ":leveldb_service_unittests_catalog_copy",
89 "//components/filesystem:filesystem", 85 "//components/filesystem:filesystem",
90 ] 86 ]
91 } 87 }
92 88
93 service_manifest("test_manifest") { 89 service_manifest("test_manifest") {
94 name = "leveldb_service_unittests" 90 name = "leveldb_service_unittests"
95 source = "test_manifest.json" 91 source = "test_manifest.json"
96 } 92 }
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/filesystem/run_all_unittests.cc ('k') | components/leveldb/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698