Stop making RS modules for PDK, as libmediandk and libSPIRV are not
available in PDK.
Bug: 36231835
Test: mm
Merged-In: I6e425dd8afd8f7df09de7b245263519d076c9b53
Change-Id: I6e425dd8afd8f7df09de7b245263519d076c9b53
diff --git a/Android.mk b/Android.mk
index 3388efa..319f855 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,6 +22,10 @@
host_cross_bcc_compat
endif
+# Not building RenderScript modules in PDK builds, as libmediandk
+# is not available in PDK.
+ifneq ($(TARGET_BUILD_PDK), true)
+
rs_base_CFLAGS := -Werror -Wall -Wextra \
-Wno-unused-parameter -Wno-unused-variable
@@ -240,4 +244,7 @@
include $(BUILD_SHARED_LIBRARY)
+endif # TARGET_BUILD_PDK
+
include $(call all-makefiles-under,$(LOCAL_PATH))
+