Index: third_party/robolectric/BUILD.gn |
diff --git a/third_party/robolectric/BUILD.gn b/third_party/robolectric/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a93762297699c53f6b94d3417194427d361c3bd |
--- /dev/null |
+++ b/third_party/robolectric/BUILD.gn |
@@ -0,0 +1,31 @@ |
+# 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/robolectric/robolectric.gyp:android_all_jar |
+java_prebuilt("android_all_java") { |
cjhopman
2015/01/26 22:14:05
add to all but robolectric:
visibility = [ ":*" ]
|
+ jar_path = "lib/android-all-4.3_r2-robolectric-0.jar" |
+} |
+ |
+# GYP: //third_party/robolectric/robolectric.gyp:tagsoup_jar |
+java_prebuilt("tagsoup_java") { |
+ jar_path = "lib/tagsoup-1.2.jar" |
+} |
+ |
+# GYP: //third_party/robolectric/robolectric.gyp:json_jar |
+java_prebuilt("json_java") { |
+ jar_path = "lib/json-20080701.jar" |
+} |
+ |
+# GYP: //third_party/robolectric/robolectric.gyp:robolectric_jar |
+java_prebuilt("robolectric_java") { |
+ testonly = true |
+ jar_path = "lib/robolectric-2.4-jar-with-dependencies.jar" |
+ deps = [ |
+ ":android_all_java", |
+ ":tagsoup_java", |
+ ":json_java", |
+ ] |
+} |