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