1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# We only want this apk build for tests. 5LOCAL_MODULE_TAGS := tests 6 7LOCAL_SRC_FILES := $(call all-java-files-under, src) \ 8 $(call all-java-files-under, ../src/com/android/internal/car) \ 9 $(call all-Iaidl-files-under, ../src/com/android/internal/car) 10 11LOCAL_PACKAGE_NAME := CarServicesTest 12LOCAL_PRIVATE_PLATFORM_APIS := true 13 14LOCAL_CERTIFICATE := platform 15 16LOCAL_MODULE_TAGS := tests 17 18# When built explicitly put it in the data partition 19LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) 20 21LOCAL_PROGUARD_ENABLED := disabled 22 23LOCAL_JAVA_LIBRARIES += \ 24 android.test.runner \ 25 android.test.base \ 26 services 27 28LOCAL_STATIC_JAVA_LIBRARIES := \ 29 androidx.test.rules \ 30 android.car.userlib \ 31 junit \ 32 mockito-target-minus-junit4 \ 33 services \ 34 truth-prebuilt 35 36include $(BUILD_PACKAGE)