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-constraintlayout_constraintlayout \ 15 androidx.legacy_legacy-support-v4 16 17LOCAL_USE_AAPT2 := true 18 19LOCAL_PACKAGE_NAME := ApiDemos 20LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 21LOCAL_LICENSE_CONDITIONS := notice 22 23LOCAL_SDK_VERSION := current 24 25LOCAL_DEX_PREOPT := false 26 27LOCAL_COMPATIBILITY_SUITE := device-tests 28 29include $(BUILD_PACKAGE) 30 31# Use the folloing include to make our test apk. 32include $(call all-makefiles-under,$(LOCAL_PATH)) 33