1LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
5# platform-robolectric-android-all-stubs is a stubbed out android-all JAR. This is used in place of
6# the SDK stubs JAR for apps that can use hidden APIs like Settings.
7# To use this, add this to LOCAL_STATIC_JAVA_LIBRARIES of your test library.
8
9# This jar is generated from the command
10#   java -jar \
11#     $ANDROID_HOST_OUT/framework/mkstubs.jar \
12#     $OUT/../../common/obj/JAVA_LIBRARIES/robolectric_android-all_intermediates/classes.jar \
13#     android-all-stubs.jar '+*'
14
15LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \
16    platform-robolectric-android-all-stubs:android-all/android-all-stubs.jar
17
18include $(BUILD_MULTI_PREBUILT)
19
20include $(call all-makefiles-under,$(LOCAL_PATH))
21