| 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 assert(is_android) | 5 assert(is_android) |
| 6 | 6 |
| 7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 | 8 |
| 9 # GYP: //testing/android/junit_test.gyp:junit_test_support | 9 # GYP: //testing/android/junit_test.gyp:junit_test_support |
| 10 java_library("junit_test_support") { | 10 java_library("junit_test_support") { |
| 11 DEPRECATED_java_in_dir = "java/src" | 11 DEPRECATED_java_in_dir = "java/src" |
| 12 deps = [ | 12 deps = [ |
| 13 "//third_party/junit", | 13 "//third_party/junit", |
| 14 "//third_party/mockito:mockito_java", |
| 14 ] | 15 ] |
| 15 } | 16 } |
| 16 | 17 |
| 17 # GYP: //testing/android/junit_test.gyp:junit_unit_tests | 18 # GYP: //testing/android/junit_test.gyp:junit_unit_tests |
| 18 java_binary("junit_unittests") { | 19 java_binary("junit_unittests") { |
| 19 deps = [ | 20 deps = [ |
| 20 ":junit_test_support", | 21 ":junit_test_support", |
| 21 "//third_party/junit", | 22 "//third_party/junit", |
| 22 ] | 23 ] |
| 23 main_class = "org.chromium.testing.local.JunitTestMain" | 24 main_class = "org.chromium.testing.local.JunitTestMain" |
| 24 DEPRECATED_java_in_dir = "javatests/src" | 25 DEPRECATED_java_in_dir = "javatests/src" |
| 25 } | 26 } |
| OLD | NEW |