diff options
author | Miao Wang <miaowang@google.com> | 2017-03-16 17:19:26 -0700 |
---|---|---|
committer | Miao Wang <miaowang@google.com> | 2017-03-17 19:29:16 +0000 |
commit | 05de7fa5b6ce61641ad483539dfb7396afa7b2d2 (patch) | |
tree | cbbb6c941ecd288f6aa108fab90782e5b69df987 /Android.mk | |
parent | 63e14e5542f9d77715e258459b1e6da9ba196e14 (diff) | |
download | rs-05de7fa5b6ce61641ad483539dfb7396afa7b2d2.tar.gz |
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
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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)) + |