libsubzero is available to vendor modules
The static library is used by vendor modules libGLESv2_swiftshader and
libGLESv1_CM_swiftshader. Therefore libsubzero also needs to be marked
as vendor module, otherwise, build fails when built with
BOARD_VNDK_VERSION.
Test: choosecombo 1 aosp_arm usedebug
Test: BOARD_VNDK_VERSION=current m -j
Change-Id: Ie5c866b55c91e121ff32834cd89022ba2866e1e7
diff --git a/src/Reactor/Android.mk b/src/Reactor/Android.mk
index f2d8cc3..1a4c0ea 100644
--- a/src/Reactor/Android.mk
+++ b/src/Reactor/Android.mk
@@ -21,6 +21,7 @@
LOCAL_MODULE := libsubzero
LOCAL_MODULE_TAGS := optional
+LOCAL_VENDOR_MODULE := true
SUBZERO_PATH := ../../third_party/subzero
LLVMDEPENDENCIES_PATH := ../../third_party/llvm-subzero