Changes included in this CL: 166806: Update OEMCrypto_GetDeviceInformation() | https://widevine-internal-review.googlesource.com/c/cdm/+/166806 166808: Update Android L3 after OEMCrypto_GetDeviceInformation() signature changes | https://widevine-internal-review.googlesource.com/c/cdm/+/166808 166809: Decode device info and write it to CSR payload | https://widevine-internal-review.googlesource.com/c/cdm/+/166809 167158: Fix Android include path and copy_files | https://widevine-internal-review.googlesource.com/c/cdm/+/167158 167159: Fix common typos and use inclusive language suggested by Android linter | https://widevine-internal-review.googlesource.com/c/cdm/+/167159 165618: Explicitly state python3 where needed. | https://widevine-internal-review.googlesource.com/c/cdm/+/165618 166757: Update Android.bp for Android | https://widevine-internal-review.googlesource.com/c/cdm/+/166757 164993: Refactor basic oemcrypto unit tests | https://widevine-internal-review.googlesource.com/c/cdm/+/164993 164978: Update OEMCrypto Unit Test Docs | https://widevine-internal-review.googlesource.com/c/cdm/+/164978 166941: Update make files for OEMCrypto | https://widevine-internal-review.googlesource.com/c/cdm/+/166941 165279: Refactor license unit tests | https://widevine-internal-review.googlesource.com/c/cdm/+/165279 165318: Refactor provisioning unit tests | https://widevine-internal-review.googlesource.com/c/cdm/+/165318 164800: Add extra check for renew on license load unit test | https://widevine-internal-review.googlesource.com/c/cdm/+/164800 165860: Remove duplicate definition of MaybeHex() | https://widevine-internal-review.googlesource.com/c/cdm/+/165860 164889: Updated CoreCommonRequestFromMessage and fix test | https://widevine-internal-review.googlesource.com/c/cdm/+/164889 164967: Add OPK pre-hook and post-hook error codes | https://widevine-internal-review.googlesource.com/c/cdm/+/164967 165140: Add hidden device_id_length to v18 provisioning message | https://widevine-internal-review.googlesource.com/c/cdm/+/165140 165204: Fix memory leak in oemcrypto test | https://widevine-internal-review.googlesource.com/c/cdm/+/165204 165958: Fix oemcrypto_generic_verify_fuzz mutator signature offset | https://widevine-internal-review.googlesource.com/c/cdm/+/165958 166037: Support SHA-256 in OEMCrypto Session Util | https://widevine-internal-review.googlesource.com/c/cdm/+/166037 Test: Run GtsMediaTests on Pixel 7 Bug: 270612144 Change-Id: Iff0820a2de7d043a820470a130af65b0dcadb759
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
ifeq ($(filter mips mips64, $(TARGET_ARCH)),)
|
|
# Tests need to be compatible with devices that do not support gnu hash-style
|
|
LOCAL_LDFLAGS+=-Wl,--hash-style=both
|
|
endif
|
|
|
|
# The unit tests can access v15 functions through the dynamic adapter:
|
|
LOCAL_CFLAGS += -DTEST_OEMCRYPTO_V15
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
GEN_api_lock_file.c \
|
|
oec_device_features.cpp \
|
|
oec_decrypt_fallback_chain.cpp \
|
|
oec_key_deriver.cpp \
|
|
oec_session_util.cpp \
|
|
oemcrypto_corpus_generator_helper.cpp \
|
|
oemcrypto_session_tests_helper.cpp \
|
|
oemcrypto_basic_test.cpp \
|
|
oemcrypto_license_test.cpp \
|
|
oemcrypto_provisioning_test.cpp \
|
|
oemcrypto_test.cpp \
|
|
oemcrypto_test_android.cpp \
|
|
oemcrypto_test_main.cpp \
|
|
ota_keybox_test.cpp \
|
|
../../cdm/util/test/test_sleep.cpp \
|
|
../util/src/oemcrypto_ecc_key.cpp \
|
|
../util/src/oemcrypto_rsa_key.cpp \
|
|
../util/src/wvcrc.cpp \
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(LOCAL_PATH)/fuzz_tests \
|
|
$(LOCAL_PATH)/../include \
|
|
$(LOCAL_PATH)/../odk/include \
|
|
$(LOCAL_PATH)/../odk/kdo/include \
|
|
$(LOCAL_PATH)/../ref/src \
|
|
$(LOCAL_PATH)/../util/include \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/cdm/util/include \
|
|
vendor/widevine/libwvdrmengine/cdm/util/test \
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libcdm \
|
|
libjsmn \
|
|
libgmock \
|
|
libgtest \
|
|
libgtest_main \
|
|
libwvlevel3 \
|
|
libcdm_protos \
|
|
libcdm_utils \
|
|
libwv_kdo \
|
|
libwv_odk \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbase \
|
|
libcrypto \
|
|
libdl \
|
|
libbinder_ndk \
|
|
liblog \
|
|
libmedia_omx \
|
|
libprotobuf-cpp-lite \
|
|
libstagefright_foundation \
|
|
libutils \
|
|
libz \
|