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

Side by Side Diff: components/filesystem/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 | « chromecast/browser/BUILD.gn ('k') | components/filesystem/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 "directory_impl.cc", 11 "directory_impl.cc",
13 "directory_impl.h", 12 "directory_impl.h",
14 "file_impl.cc", 13 "file_impl.cc",
15 "file_impl.h", 14 "file_impl.h",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 name = "filesystem" 61 name = "filesystem"
63 source = "manifest.json" 62 source = "manifest.json"
64 } 63 }
65 64
66 test("filesystem_service_unittests") { 65 test("filesystem_service_unittests") {
67 sources = [ 66 sources = [
68 "directory_impl_unittest.cc", 67 "directory_impl_unittest.cc",
69 "file_impl_unittest.cc", 68 "file_impl_unittest.cc",
70 "files_test_base.cc", 69 "files_test_base.cc",
71 "files_test_base.h", 70 "files_test_base.h",
72 "run_all_unittests.cc",
73 ] 71 ]
74 72
75 deps = [ 73 deps = [
76 "//base", 74 "//base",
77 "//base/test:test_support",
78 "//components/filesystem/public/interfaces", 75 "//components/filesystem/public/interfaces",
79 "//mojo/common", 76 "//mojo/common",
80 "//mojo/edk/system",
81 "//mojo/public/cpp/bindings", 77 "//mojo/public/cpp/bindings",
82 "//mojo/public/cpp/system", 78 "//mojo/public/cpp/system",
83 "//services/catalog:lib",
84 "//services/service_manager/public/cpp:service_test_support", 79 "//services/service_manager/public/cpp:service_test_support",
85 "//services/service_manager/public/cpp:sources", 80 "//services/service_manager/public/cpp:sources",
81 "//services/service_manager/public/cpp/test:run_all_service_tests",
86 ] 82 ]
87 83
88 data_deps = [ 84 data_deps = [
85 ":test_manifest",
89 ":filesystem", 86 ":filesystem",
90 ":filesystem_service_unittests_catalog_copy",
91 ] 87 ]
92 } 88 }
93 89
94 service_manifest("test_manifest") { 90 service_manifest("test_manifest") {
95 name = "filesystem_service_unittests" 91 name = "filesystem_service_unittests"
96 source = "test_manifest.json" 92 source = "test_manifest.json"
97 } 93 }
98
99 catalog("filesystem_service_unittests_catalog") {
100 embedded_services = [ ":test_manifest" ]
101 standalone_services = [ ":manifest" ]
102 }
103
104 copy("filesystem_service_unittests_catalog_copy") {
105 sources = get_target_outputs(":filesystem_service_unittests_catalog")
106 outputs = [
107 "${root_out_dir}/filesystem_service_unittests_catalog.json",
108 ]
109 deps = [
110 ":filesystem_service_unittests_catalog",
111 ]
112 }
OLDNEW
« no previous file with comments | « chromecast/browser/BUILD.gn ('k') | components/filesystem/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698