Tradefed needs these tests to be in the /DATA directory.
Test: cd vendor/widevine && ./build_and_run_all_unit_tests
All tests should build and pass.
make tests
unzip android-tests.zip and verify all tests located in DATA/bin
Bug: 62055647
Change-Id: I35925e29558561c4726bb2249499bfee4e54cf45
24 lines
580 B
Makefile
24 lines
580 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
|
|
|
LOCAL_PACKAGE_NAME := MediaDrmAPITest
|
|
|
|
LOCAL_JAVA_LIBRARIES := org.apache.http.legacy
|
|
|
|
LOCAL_DEX_PREOPT := false
|
|
|
|
# When built, explicitly put it in the data/app partition.
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
|
|
|
|
# TODO: This test app depends on framework implementation details.
|
|
# LOCAL_SDK_VERSION := current
|
|
|
|
include $(BUILD_PACKAGE)
|
|
|
|
# Use the following include to make our test apk.
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|