Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: third_party/mockito/BUILD.gn

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
+}

Powered by Google App Engine
This is Rietveld 408576698