From 6f16f52e296c62ede3adcf59469821a16f058e5c Mon Sep 17 00:00:00 2001 From: Prashanth Swaminathan Date: Wed, 26 Apr 2023 07:09:44 -0700 Subject: [PATCH] Provide placeholder OEMCrypto file for RISCV In order to build RISCV targets in internal master, a value must be supplied to libwvdrmengine to satisfy the build for riscv64. For now, point the build to the x86_64 file as a workaround. Change-Id: I632198279586f2ab974aed9daadd72f378e13094 --- libwvdrmengine/level3/Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libwvdrmengine/level3/Android.bp b/libwvdrmengine/level3/Android.bp index 93ee2144..f71bb286 100644 --- a/libwvdrmengine/level3/Android.bp +++ b/libwvdrmengine/level3/Android.bp @@ -71,6 +71,13 @@ cc_library_static { "x86_64/libl3oemcrypto.cpp", ], }, + riscv64: { + srcs: [ + // Until the L3 OEMCrypto files are regenerated for riscv64 + // platforms, point to x86_64 to satisfy the builder. + "x86_64/libl3oemcrypto.cpp", + ], + }, }, proprietary: true,