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) \ $(call all-Iaidl-files-under, ../src) LOCAL_PACKAGE_NAME := CarServicesTest LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 LOCAL_LICENSE_CONDITIONS := notice 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 \ android.hardware.automotive.vehicle-V2.0-java \ com.android.car.internal.common LOCAL_STATIC_JAVA_LIBRARIES := \ android.car.test.utils \ android.car.watchdoglib \ androidx.test.ext.junit \ androidx.test.rules \ com.android.car.internal.system \ mockito-target-extended-minus-junit4 \ services.core \ testng \ truth-prebuilt # mockito-target-extended dependencies LOCAL_JNI_SHARED_LIBRARIES := \ libdexmakerjvmtiagent \ libstaticjvmtiagent \ include $(BUILD_PACKAGE)