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("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 # GYP: //third_party/mockito.gyp:cglib_and_asm_jar | 7 # GYP: //third_party/mockito.gyp:cglib_and_asm_jar |
8 java_prebuilt("cglib_and_asm_java") { | 8 java_prebuilt("cglib_and_asm_java") { |
9 jar_path = "src/lib/repackaged/cglib-and-asm-1.0.jar" | 9 jar_path = "src/lib/repackaged/cglib-and-asm-1.0.jar" |
10 } | 10 } |
11 | 11 |
12 # GYP: //third_party/mockito.gyp:objenesis_jar | 12 # GYP: //third_party/mockito.gyp:objenesis_jar |
13 java_prebuilt("objenesis_java") { | 13 java_prebuilt("objenesis_java") { |
14 jar_path = "src/lib/run/objenesis-2.1.jar" | 14 jar_path = "src/lib/run/objenesis-2.1.jar" |
15 } | 15 } |
16 | 16 |
17 # GYP: //third_party/mockito.gyp:mockito_jar | 17 # GYP: //third_party/mockito.gyp:mockito_jar |
18 java_library("mockito_java") { | 18 java_library("mockito_java") { |
19 chromium_code = false | 19 chromium_code = false |
20 testonly = true | 20 testonly = true |
21 deps = [ | 21 deps = [ |
22 ":cglib_and_asm_java", | 22 ":cglib_and_asm_java", |
23 ":objenesis_java", | 23 ":objenesis_java", |
| 24 "../junit:hamcrest", |
24 "../junit:junit", | 25 "../junit:junit", |
25 "../junit:hamcrest", | |
26 ] | 26 ] |
27 DEPRECATED_java_in_dir = "src/src" | 27 DEPRECATED_java_in_dir = "src/src" |
28 } | 28 } |
OLD | NEW |