Index: components/filesystem/BUILD.gn |
diff --git a/components/filesystem/BUILD.gn b/components/filesystem/BUILD.gn |
index 85c78cca70182ad75c474bd0c5400c2b07609559..78ce4515a36f84d5195169749cdcac51cd97fa60 100644 |
--- a/components/filesystem/BUILD.gn |
+++ b/components/filesystem/BUILD.gn |
@@ -2,6 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//services/catalog/public/tools/catalog.gni") |
import("//services/service_manager/public/cpp/service.gni") |
import("//services/service_manager/public/service_manifest.gni") |
import("//testing/test.gni") |
@@ -68,22 +69,25 @@ test("filesystem_service_unittests") { |
"file_impl_unittest.cc", |
"files_test_base.cc", |
"files_test_base.h", |
+ "run_all_unittests.cc", |
] |
deps = [ |
"//base", |
+ "//base/test:test_support", |
"//components/filesystem/public/interfaces", |
"//mojo/common", |
+ "//mojo/edk/system", |
"//mojo/public/cpp/bindings", |
"//mojo/public/cpp/system", |
+ "//services/catalog:lib", |
"//services/service_manager/public/cpp:service_test_support", |
"//services/service_manager/public/cpp:sources", |
- "//services/service_manager/public/cpp/test:run_all_service_tests", |
] |
data_deps = [ |
- ":test_manifest", |
":filesystem", |
+ ":filesystem_service_unittests_catalog_copy", |
] |
} |
@@ -91,3 +95,18 @@ service_manifest("test_manifest") { |
name = "filesystem_service_unittests" |
source = "test_manifest.json" |
} |
+ |
+catalog("filesystem_service_unittests_catalog") { |
+ embedded_services = [ ":test_manifest" ] |
+ standalone_services = [ ":manifest" ] |
+} |
+ |
+copy("filesystem_service_unittests_catalog_copy") { |
+ sources = get_target_outputs(":filesystem_service_unittests_catalog") |
+ outputs = [ |
+ "${root_out_dir}/filesystem_service_unittests_catalog.json", |
+ ] |
+ deps = [ |
+ ":filesystem_service_unittests_catalog", |
+ ] |
+} |