1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES := $(call all-java-files-under, src) 5 6LOCAL_PACKAGE_NAME := TVTestInput 7LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 8LOCAL_LICENSE_CONDITIONS := notice 9LOCAL_MODULE_TAGS := optional 10LOCAL_PROGUARD_ENABLED := disabled 11# Overlay view related functionality requires system APIs. 12LOCAL_SDK_VERSION := system_current 13LOCAL_PROGUARD_ENABLED := disabled 14 15LOCAL_STATIC_JAVA_LIBRARIES := \ 16 tv-test-common \ 17 tv-common 18 19# Disable dexpreopt and <uses-library> check for test. 20LOCAL_ENFORCE_USES_LIBRARIES := false 21LOCAL_DEX_PREOPT := false 22 23LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/../common/res $(LOCAL_PATH)/res 24LOCAL_AAPT_FLAGS := --auto-add-overlay \ 25 --extra-packages com.android.tv.testing 26 27include $(BUILD_PACKAGE) 28 29ifneq ($(filter TV,$(TARGET_BUILD_APPS)),) 30 $(call dist-for-goals,apps_only,$(LOCAL_BUILT_MODULE):$(LOCAL_PACKAGE_NAME).apk) 31endif 32