OLD | NEW |
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("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
6 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 source_set("lib") { | 9 source_set("lib") { |
10 sources = [ | 10 sources = [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 data_deps = [ | 54 data_deps = [ |
55 ":manifest", | 55 ":manifest", |
56 ] | 56 ] |
57 } | 57 } |
58 | 58 |
59 mojo_application_manifest("manifest") { | 59 mojo_application_manifest("manifest") { |
60 application_name = "filesystem" | 60 application_name = "filesystem" |
61 source = "manifest.json" | 61 source = "manifest.json" |
62 } | 62 } |
63 | 63 |
64 test("unittests") { | 64 test("filesystem_service_unittests") { |
65 output_name = "filesystem_service_unittests" | |
66 | |
67 sources = [ | 65 sources = [ |
68 "directory_impl_unittest.cc", | 66 "directory_impl_unittest.cc", |
69 "file_impl_unittest.cc", | 67 "file_impl_unittest.cc", |
70 "files_test_base.cc", | 68 "files_test_base.cc", |
71 "files_test_base.h", | 69 "files_test_base.h", |
72 ] | 70 ] |
73 | 71 |
74 deps = [ | 72 deps = [ |
75 "//base", | 73 "//base", |
76 "//components/filesystem/public/interfaces", | 74 "//components/filesystem/public/interfaces", |
77 "//mojo/common", | 75 "//mojo/common", |
78 "//mojo/platform_handle", | 76 "//mojo/platform_handle", |
79 "//mojo/public/cpp/bindings", | 77 "//mojo/public/cpp/bindings", |
80 "//services/shell/public/cpp:shell_test_support", | 78 "//services/shell/public/cpp:shell_test_support", |
81 "//services/shell/public/cpp:sources", | 79 "//services/shell/public/cpp:sources", |
82 "//services/shell/public/cpp/test:run_all_shelltests", | 80 "//services/shell/public/cpp/test:run_all_shelltests", |
83 ] | 81 ] |
84 | 82 |
85 data_deps = [ | 83 data_deps = [ |
86 ":test_manifest", | 84 ":test_manifest", |
87 ":filesystem", | 85 ":filesystem", |
88 ] | 86 ] |
89 } | 87 } |
90 | 88 |
91 mojo_application_manifest("test_manifest") { | 89 mojo_application_manifest("test_manifest") { |
92 type = "exe" | 90 type = "exe" |
93 application_name = "filesystem_service_unittests" | 91 application_name = "filesystem_service_unittests" |
94 source = "test_manifest.json" | 92 source = "test_manifest.json" |
95 } | 93 } |
OLD | NEW |