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

Unified Diff: testing/android/junit/BUILD.gn

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 8 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: testing/android/junit/BUILD.gn
diff --git a/testing/android/junit/BUILD.gn b/testing/android/junit/BUILD.gn
index f80d0b57377e5acef0e05f14ec981328c4285f5c..d4796292785fe444add6abf402540c7ef621415b 100644
--- a/testing/android/junit/BUILD.gn
+++ b/testing/android/junit/BUILD.gn
@@ -8,20 +8,17 @@ import("//build/config/android/rules.gni")
# GYP: //testing/android/junit_test.gyp:junit_test_support
java_library("junit_test_support") {
+ testonly = true
DEPRECATED_java_in_dir = "java/src"
deps = [
"//third_party/junit",
"//third_party/mockito:mockito_java",
"//third_party/robolectric:robolectric_java",
+ "//third_party/robolectric:android-all-4.3_r2-robolectric-0",
]
}
# GYP: //testing/android/junit_test.gyp:junit_unit_tests
-java_binary("junit_unittests") {
- deps = [
- ":junit_test_support",
- "//third_party/junit",
- ]
- main_class = "org.chromium.testing.local.JunitTestMain"
+junit_binary("junit_unittests") {
DEPRECATED_java_in_dir = "javatests/src"
}

Powered by Google App Engine
This is Rietveld 408576698