Index: third_party/junit/BUILD.gn |
diff --git a/third_party/junit/BUILD.gn b/third_party/junit/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..038e1ac319270f43739d92181d9395e9294fc6b1 |
--- /dev/null |
+++ b/third_party/junit/BUILD.gn |
@@ -0,0 +1,20 @@ |
+# 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") |
+ |
+# TODO(GYP): should be java_prebuilt |
+# GYP: //third_party/junit.gyp:hamcrest_jar |
+android_java_prebuilt("hamcrest") { |
+ jar_path = "src/lib/hamcrest-core-1.3.jar" |
+} |
+ |
+# TODO(GYP): should be java_library |
+# GYP: //third_party/junit.gyp:junit_jar |
+android_library("junit") { |
+ deps = [ |
+ ":hamcrest" |
+ ] |
+ DEPRECATED_java_in_dir = "src/src/main/java" |
+} |