summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 3388efa1..319f855e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,6 +22,10 @@ rs-prebuilts-full: \
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 @@ LOCAL_LDFLAGS += -Wl,--version-script,${LOCAL_PATH}/libRS.map
include $(BUILD_SHARED_LIBRARY)
+endif # TARGET_BUILD_PDK
+
include $(call all-makefiles-under,$(LOCAL_PATH))
+