| Index: components/filesystem/BUILD.gn
|
| diff --git a/components/filesystem/BUILD.gn b/components/filesystem/BUILD.gn
|
| index e09c1666937a3d4bdde0a4e18e1b37996a6e0c74..bd7c4c8fa89a9a664a8402b58393cd5b15c9b5cb 100644
|
| --- a/components/filesystem/BUILD.gn
|
| +++ b/components/filesystem/BUILD.gn
|
| @@ -4,6 +4,7 @@
|
|
|
| import("//mojo/public/mojo_application.gni")
|
| import("//mojo/public/mojo_application_manifest.gni")
|
| +import("//testing/test.gni")
|
|
|
| source_set("lib") {
|
| sources = [
|
| @@ -60,10 +61,8 @@ mojo_application_manifest("manifest") {
|
| source = "manifest.json"
|
| }
|
|
|
| -mojo_native_application("apptests") {
|
| - output_name = "filesystem_apptests"
|
| -
|
| - testonly = true
|
| +test("unittests") {
|
| + output_name = "filesystem_service_unittests"
|
|
|
| sources = [
|
| "directory_impl_unittest.cc",
|
| @@ -78,16 +77,19 @@ mojo_native_application("apptests") {
|
| "//mojo/common",
|
| "//mojo/platform_handle:for_shared_library",
|
| "//mojo/public/cpp/bindings",
|
| - "//mojo/shell/public/cpp:test_support",
|
| + "//mojo/shell/public/cpp:shell_test_support",
|
| + "//mojo/shell/public/cpp:sources",
|
| + "//mojo/shell/public/cpp/test:run_all_shelltests",
|
| ]
|
|
|
| data_deps = [
|
| - ":apptest_manifest",
|
| + ":test_manifest",
|
| ":filesystem",
|
| ]
|
| }
|
|
|
| -mojo_application_manifest("apptest_manifest") {
|
| - application_name = "filesystem_apptests"
|
| - source = "apptest_manifest.json"
|
| +mojo_application_manifest("test_manifest") {
|
| + type = "exe"
|
| + application_name = "filesystem_service_unittests"
|
| + source = "test_manifest.json"
|
| }
|
|
|