GN: Make the wrapper script generated for junit work without extra args
[chromium-blink-merge.git] / third_party / mockito / BUILD.gn
blob2f03b7c789babc76ca8e85e1b58918b11671ab52
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
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
7 # GYP: //third_party/mockito.gyp:cglib_and_asm_jar
8 java_prebuilt("cglib_and_asm_java") {
9   jar_path = "src/lib/repackaged/cglib-and-asm-1.0.jar"
12 # GYP: //third_party/mockito.gyp:objenesis_jar
13 java_prebuilt("objenesis_java") {
14   jar_path = "src/lib/run/objenesis-2.1.jar"
17 # GYP: //third_party/mockito.gyp:mockito_jar
18 java_library("mockito_java") {
19   chromium_code = false
20   testonly = true
21   deps = [
22     ":cglib_and_asm_java",
23     ":objenesis_java",
24     "../junit:junit",
25     "../junit:hamcrest",
26   ]
27   DEPRECATED_java_in_dir = "src/src"