Index: testing/android/junit/BUILD.gn |
diff --git a/testing/android/junit/BUILD.gn b/testing/android/junit/BUILD.gn |
index d27b43adacf3466775e0a51f4f40e4c1c16eaeb4..e668341826927df02ce5f112d06642abf2d94efd 100644 |
--- a/testing/android/junit/BUILD.gn |
+++ b/testing/android/junit/BUILD.gn |
@@ -7,6 +7,8 @@ assert(is_android) |
import("//build/config/android/rules.gni") |
java_library("junit_test_support") { |
+ # Skip platform checks since Robolectric depends on requires_android targets. |
+ bypass_platform_checks = true |
testonly = true |
java_files = [ |
"java/src/org/chromium/testing/local/AnnotationProcessor.java", |