1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE_TAGS := samples tests 5 6# Only compile source java files in this apk. 7LOCAL_SRC_FILES := \ 8 $(call all-java-files-under, src) \ 9 src/com/example/android/apis/app/IRemoteService.aidl \ 10 src/com/example/android/apis/app/IRemoteServiceCallback.aidl \ 11 src/com/example/android/apis/app/ISecondary.aidl \ 12 13LOCAL_STATIC_ANDROID_LIBRARIES += \ 14 androidx.legacy_legacy-support-v4 15 16LOCAL_USE_AAPT2 := true 17 18LOCAL_PACKAGE_NAME := ApiDemos 19 20LOCAL_SDK_VERSION := current 21 22LOCAL_DEX_PREOPT := false 23 24LOCAL_COMPATIBILITY_SUITE := device-tests 25 26include $(BUILD_PACKAGE) 27 28# Use the folloing include to make our test apk. 29include $(call all-makefiles-under,$(LOCAL_PATH)) 30