| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/rules.gni") |
| |
| # GYP: //third_party/mockito.gyp:cglib_and_asm_jar |
| java_prebuilt("cglib_and_asm_java") { |
| jar_path = "src/lib/repackaged/cglib-and-asm-1.0.jar" |
| } |
| |
| # GYP: //third_party/mockito.gyp:objenesis_jar |
| java_prebuilt("objenesis_java") { |
| jar_path = "src/lib/run/objenesis-2.1.jar" |
| } |
| |
| # GYP: //third_party/mockito.gyp:mockito_jar |
| java_library("mockito_java") { |
| chromium_code = false |
| testonly = true |
| deps = [ |
| ":cglib_and_asm_java", |
| ":objenesis_java", |
| "../junit:junit", |
| "../junit:hamcrest", |
| ] |
| DEPRECATED_java_in_dir = "src/src" |
| } |