LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_DEX_PREOPT := false LOCAL_PACKAGE_NAME := WidevineSamplePlayer LOCAL_JAVA_LIBRARIES := \ org.apache.http.legacy \ LOCAL_STATIC_JAVA_LIBRARIES := \ android-support-v4 \ android-support-v7-appcompat \ android-support-design LOCAL_RESOURCE_DIR := \ $(addprefix $(LOCAL_PATH)/, res) \ frameworks/support/design/res \ frameworks/support/v7/appcompat/res \ LOCAL_AAPT_FLAGS := \ --auto-add-overlay \ --extra-packages android.support.design \ --extra-packages android.support.v7.appcompat \ LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) # Use the following include to make our test apk. include $(call all-makefiles-under,$(LOCAL_PATH))