LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) # We only want this apk build for tests. LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-java-files-under, ../src/com/android/internal/car) \ $(call all-Iaidl-files-under, ../src/com/android/internal/car) LOCAL_PACKAGE_NAME := CarServicesTest LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_CERTIFICATE := platform LOCAL_MODULE_TAGS := tests # When built explicitly put it in the data partition LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS) LOCAL_PROGUARD_ENABLED := disabled LOCAL_JAVA_LIBRARIES += \ android.test.runner \ android.test.base \ services LOCAL_STATIC_JAVA_LIBRARIES := \ androidx.test.rules \ android.car.userlib \ junit \ mockito-target-minus-junit4 \ services \ truth-prebuilt include $(BUILD_PACKAGE)