From 05de7fa5b6ce61641ad483539dfb7396afa7b2d2 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Thu, 16 Mar 2017 17:19:26 -0700 Subject: 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 --- Android.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Android.mk') 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)) + -- cgit v1.2.3