blob: db8739632c8e1e9f8f94722ed1f6d2140bfa23e9 [file] [log] [blame]
// platform-robolectric-android-all-stubs is a stubbed out android-all JAR. This is used in place of
// the SDK stubs JAR for apps that can use hidden APIs like Settings.
// To use this, add this to libs / LOCAL_STATIC_JAVA_LIBRARIES of your test library.
// This jar is generated from the command
// java -jar \
// $ANDROID_HOST_OUT/framework/mkstubs.jar \
// $OUT/../../common/obj/JAVA_LIBRARIES/robolectric_android-all_intermediates/classes.jar \
// android-all-stubs.jar '+*'
java_import {
name: "platform-robolectric-android-all-stubs",
jars: ["android-all/android-all-stubs.jar"],
}
android_robolectric_runtimes {
name: "robolectric-android-all-prebuilts",
jars: ["android-all/*.jar"],
lib: "robolectric-host-android_all",
}