Build widevine tests with BOARD_VNDK_VERSION set
The tests are using vendor only libs such as libcdm and libwvlevel3, thus marked as LOCAL_PROPRIETARY_MODULE to use the libs. In addition, the dependency to libmedia is changed to libmedia_omx since libmedia is not available to vendor modules. UniquePtr is replaced with std::unique_ptr since UniquePtr.h in /libnativehelper is not available to vendors (and will not be completely removed in a near future). Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j tests Change-Id: I4e9d3267b20c1d52f57664b89f15330e2ebd953d
This commit is contained in:
@@ -45,6 +45,7 @@ LOCAL_MODULE := libwvdrmdrmplugin_test
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_MODULE_OWNER := widevine
|
||||
LOCAL_PROPRIETARY_MODULE := true
|
||||
|
||||
# When built, explicitly put it in the DATA/bin directory.
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/bin
|
||||
@@ -108,6 +109,7 @@ LOCAL_MODULE := libwvdrmdrmplugin_hidl_test
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_MODULE_OWNER := widevine
|
||||
LOCAL_PROPRIETARY_MODULE := true
|
||||
|
||||
# When built, explicitly put it in the DATA/bin directory.
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/bin
|
||||
|
||||
Reference in New Issue
Block a user