OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 test("resource_provider_unittests") { | 104 test("resource_provider_unittests") { |
105 sources = [ | 105 sources = [ |
106 "file_utils_unittest.cc", | 106 "file_utils_unittest.cc", |
107 ] | 107 ] |
108 | 108 |
109 deps = [ | 109 deps = [ |
110 ":lib", | 110 ":lib", |
111 "//base", | 111 "//base", |
112 "//base/test:test_config", | 112 "//base/test:test_config", |
113 "//components/resource_provider/public/interfaces", | 113 "//components/resource_provider/public/interfaces", |
| 114 "//mojo/edk/test:run_all_unittests", |
114 "//mojo/environment:chromium", | 115 "//mojo/environment:chromium", |
115 "//mojo/platform_handle:for_shared_library", | 116 "//mojo/platform_handle:for_shared_library", |
116 "//testing/gtest", | 117 "//testing/gtest", |
117 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | |
118 "//url", | 118 "//url", |
119 ] | 119 ] |
120 } | 120 } |
121 | 121 |
122 mojo_native_application("apptests") { | 122 mojo_native_application("apptests") { |
123 output_name = "resource_provider_apptests" | 123 output_name = "resource_provider_apptests" |
124 testonly = true | 124 testonly = true |
125 | 125 |
126 sources = [ | 126 sources = [ |
127 "resource_provider_apptest.cc", | 127 "resource_provider_apptest.cc", |
(...skipping 10 matching lines...) Expand all Loading... |
138 "//components/resource_provider/public/cpp", | 138 "//components/resource_provider/public/cpp", |
139 "//components/resource_provider/public/interfaces", | 139 "//components/resource_provider/public/interfaces", |
140 "//mojo/common", | 140 "//mojo/common", |
141 "//mojo/shell/public/cpp:test_support", | 141 "//mojo/shell/public/cpp:test_support", |
142 ] | 142 ] |
143 | 143 |
144 data_deps = [ | 144 data_deps = [ |
145 ":resource_provider", | 145 ":resource_provider", |
146 ] | 146 ] |
147 } | 147 } |
OLD | NEW |