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

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: Simplified names of build targets. Created 5 years, 11 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 | « no previous file | third_party/robolectric/LICENSE » ('j') | third_party/robolectric/README.chromium » ('J')
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..302bde1b89cd16c068de7c6fc5ba73f29c506350
--- /dev/null
+++ b/third_party/robolectric/BUILD.gn
@@ -0,0 +1,19 @@
+# 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") {
+ jar_path = "lib/android-all-5.0.0_r2-robolectric-0.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"
cjhopman 2015/01/12 18:53:23 What is in this jar? Looking at https://repo1.mav
mikecase (-- gone --) 2015/01/13 18:36:20 I tried using Robolectric without the android-all
jbudorick 2015/01/13 18:42:39 I would be extremely surprised if we do. IIRC the
cjhopman 2015/01/13 21:26:19 Yeah, sounds like an OSPO question. Also, we have
+ deps = [
+ ":android_all_java",
+ ]
+}
« no previous file with comments | « no previous file | third_party/robolectric/LICENSE » ('j') | third_party/robolectric/README.chromium » ('J')

Powered by Google App Engine
This is Rietveld 408576698