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

Unified Diff: third_party/robolectric/BUILD.gn

Issue 831173005: Add Robolectric build and license files to third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed klundberg's nits. Created 5 years, 10 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
« no previous file with comments | « DEPS ('k') | third_party/robolectric/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3271e126726756eadbf9c6ebfd1e3d7351ff443f
--- /dev/null
+++ b/third_party/robolectric/BUILD.gn
@@ -0,0 +1,34 @@
+# Copyright 2015 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") {
+ visibility = [ ":*" ]
+ jar_path = "lib/android-all-4.3_r2-robolectric-0.jar"
+}
+
+# GYP: //third_party/robolectric/robolectric.gyp:tagsoup_jar
+java_prebuilt("tagsoup_java") {
+ visibility = [ ":*" ]
+ jar_path = "lib/tagsoup-1.2.jar"
+}
+
+# GYP: //third_party/robolectric/robolectric.gyp:json_jar
+java_prebuilt("json_java") {
+ visibility = [ ":*" ]
+ 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",
+ ]
+}
« no previous file with comments | « DEPS ('k') | third_party/robolectric/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698