Temporarily disable WV L1

For dogfooding, force fallback to widevine L3

bug:63673310
Change-Id: Ib222d4119e358ecfdaae44d1627d914a9b79d44e
This commit is contained in:
Jeff Tinker
2017-07-13 18:27:12 -07:00
parent ce01000c1b
commit 0bbbf7d84e
2 changed files with 10 additions and 0 deletions

View File

@@ -53,6 +53,12 @@ LOCAL_C_INCLUDES := \
vendor/widevine/libwvdrmengine/oemcrypto/include \
vendor/widevine/libwvdrmengine/third_party/stringencoders/src
# Until level 1 is working on walleye/taimen we've been asked to disable it for dogfooding
ifeq (,$(filter-out aosp_walleye% walleye% aosp_taimen% taimen%, $(TARGET_PRODUCT)))
LOCAL_CFLAGS := -DDISABLE_OEMCRYPTO_LEVEL_1
endif
SRC_DIR := cdm/src
CORE_SRC_DIR := cdm/core/src
LOCAL_SRC_FILES := \

View File

@@ -147,7 +147,11 @@ bool Properties::GetOEMCryptoPath(std::string* library_name) {
LOGW("Properties::GetOEMCryptoPath: Invalid parameter");
return false;
}
#ifdef DISABLE_OEMCRYPTO_LEVEL_1
#warning !!!! OEMCRYPTO LEVEL 1 IS DISABLED!!!
#else
*library_name = "liboemcrypto.so";
#endif
return true;
}