Index: third_party/mockito/BUILD.gn |
diff --git a/third_party/mockito/BUILD.gn b/third_party/mockito/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2f03b7c789babc76ca8e85e1b58918b11671ab52 |
--- /dev/null |
+++ b/third_party/mockito/BUILD.gn |
@@ -0,0 +1,28 @@ |
+# 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" |
+} |