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

Unified Diff: chrome/android/BUILD.gn

Issue 994283006: Add initial test and build files for Robolectric unit test suites. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jbudorick's comments. Created 5 years, 9 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 | chrome/android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/BUILD.gn
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
index 02226f68d721de8fa1884c54a0dfc9570e13a952..9aed3b7acfee5bd0fa204748bfb41a4d9ff8dd1f 100644
--- a/chrome/android/BUILD.gn
+++ b/chrome/android/BUILD.gn
@@ -447,6 +447,19 @@ android_apk("chrome_shell_test_apk") {
android_manifest = "shell/javatests/AndroidManifest.xml"
}
+# GYP: //chrome/chrome_tests.gypi:chrome_shell_unit_tests
+java_binary("chrome_shell_unit_tests") {
+ testonly = true
+ java_files = [ "android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java" ]
+ main_class = "org.chromium.testing.local.JunitTestMain"
+ deps = [
+ ":chrome_java",
+ "//base:base_java",
+ "//base:base_java_test_support",
+ "//testing/android/junit:junit_test_support",
+ ]
+}
+
# GYP: //chrome/chrome_tests.gypi:chrome_sync_shell_test_apk
android_apk("chrome_sync_shell_test_apk") {
testonly = true
« no previous file with comments | « no previous file | chrome/android/junit/src/org/chromium/chrome/browser/omaha/ResponseParserTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698