Merging CL: https://widevine-internal-review.googlesource.com/c/cdm/+/108203 and https://widevine-internal-review.git.corp.google.com/c/cdm/+/103904 (changes to the L3 source files are excluded) Generated L3 v16 for Android and added ODK dependency required by L3 v16. Test: Unit tests on gLinux jenkins/linux_unit_tests jenkins/ce_cdm_tests Test: Unit tests on Pixel 4(flame-userdebug, rvc-qpr-dev) vendor/widevine/libwvdrmengine/build_and_run_all_unit_tests.sh Test: Manual ExoPlayer playback tests on Pixel 4(flame-userdebug) for L1 and L3 WV: Secure HD/SD (cenc,MP4,H264) WV: Secure HD/SD (cbc1,MP4,H264) WV: Secure HD/SD (cbcs,MP4,H264) Test: Widevine GTS tests(bramble-userdebug, rvc-qpr-dev) https://android-build.googleplex.com/builds/tests/view?invocationId=I35000006266076664&testResultId=TR45714199883476235 (Note: the two failures are due to GTS/http issue and not related/specific to L3 and the change) Bug: 136317881 Bug: 139814713 Change-Id: If3d4999ca3b725eab76c41588f202beec3873928
28 lines
982 B
Makefile
28 lines
982 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
LOCAL_CFLAGS := \
|
|
-DDYNAMIC_ADAPTER \
|
|
-Wno-unused \
|
|
-Wno-unused-parameter
|
|
LOCAL_C_INCLUDES := \
|
|
system/core/base/include \
|
|
system/core/include \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/cdm/util/include \
|
|
vendor/widevine/libwvdrmengine/level3/include \
|
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
|
vendor/widevine/libwvdrmengine/oemcrypto/odk/include \
|
|
vendor/widevine/libwvdrmengine/oemcrypto/odk/src
|
|
LOCAL_MODULE := libwvlevel3
|
|
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
|
LOCAL_SRC_FILES := libl3oemcrypto.cpp \
|
|
../src/generate_entropy_android.cpp \
|
|
../src/get_unique_id_android.cpp \
|
|
../src/level3_file_system_android.cpp \
|
|
../src/level3_file_system_android_factory.cpp
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_OWNER := widevine
|
|
LOCAL_MODULE_TARGET_ARCH := x86
|
|
include $(BUILD_STATIC_LIBRARY)
|