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("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 assert(is_android) | 8 assert(is_android) |
9 | 9 |
10 component("android") { | 10 component("android") { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 deps = [ | 242 deps = [ |
243 ":ui_java", | 243 ":ui_java", |
244 "//base:base_java", | 244 "//base:base_java", |
245 "//base:base_java_test_support", | 245 "//base:base_java_test_support", |
246 "//third_party/android_support_test_runner:runner_java", | 246 "//third_party/android_support_test_runner:runner_java", |
247 ] | 247 ] |
248 } | 248 } |
249 | 249 |
250 junit_binary("ui_junit_tests") { | 250 junit_binary("ui_junit_tests") { |
251 java_files = [ | 251 java_files = [ |
| 252 "junit/src/org/chromium/ui/base/ClipboardTest.java", |
252 "junit/src/org/chromium/ui/base/SelectFileDialogTest.java", | 253 "junit/src/org/chromium/ui/base/SelectFileDialogTest.java", |
253 "junit/src/org/chromium/ui/text/SpanApplierTest.java", | 254 "junit/src/org/chromium/ui/text/SpanApplierTest.java", |
254 ] | 255 ] |
255 deps = [ | 256 deps = [ |
256 ":ui_java", | 257 ":ui_java", |
257 "//base:base_java", | 258 "//base:base_java", |
| 259 "//base:base_java_test_support", |
258 ] | 260 ] |
259 } | 261 } |
260 | 262 |
261 test("ui_android_unittests") { | 263 test("ui_android_unittests") { |
262 sources = [ | 264 sources = [ |
263 "overscroll_refresh_unittest.cc", | 265 "overscroll_refresh_unittest.cc", |
264 "resources/resource_manager_impl_unittest.cc", | 266 "resources/resource_manager_impl_unittest.cc", |
265 "run_all_unittests.cc", | 267 "run_all_unittests.cc", |
266 "view_android_unittests.cc", | 268 "view_android_unittests.cc", |
267 ] | 269 ] |
268 deps = [ | 270 deps = [ |
269 ":android", | 271 ":android", |
270 ":java_enums_srcjar", | 272 ":java_enums_srcjar", |
271 ":ui_java", | 273 ":ui_java", |
272 "//base", | 274 "//base", |
273 "//base/test:test_support", | 275 "//base/test:test_support", |
274 "//cc", | 276 "//cc", |
275 "//cc:test_support", | 277 "//cc:test_support", |
276 "//skia", | 278 "//skia", |
277 "//testing/gmock", | 279 "//testing/gmock", |
278 "//testing/gtest", | 280 "//testing/gtest", |
279 "//ui/base", | 281 "//ui/base", |
280 "//ui/events", | 282 "//ui/events", |
281 "//ui/gfx", | 283 "//ui/gfx", |
282 "//ui/resources:ui_test_pak", | 284 "//ui/resources:ui_test_pak", |
283 ] | 285 ] |
284 } | 286 } |
OLD | NEW |