am b7a3bc56
: am fbf80e9d
: Merge "[RenderScript] Only upgrade RS target API for compat build." into mnc-dev
* commit 'b7a3bc569cf8bc928391440db5113dc8f1f12399': [RenderScript] Only upgrade RS target API for compat build.
This commit is contained in:
10
core/java.mk
10
core/java.mk
@@ -162,10 +162,12 @@ else
|
|||||||
endif # LOCAL_SDK_VERSION is set
|
endif # LOCAL_SDK_VERSION is set
|
||||||
endif # LOCAL_RENDERSCRIPT_TARGET_API is set
|
endif # LOCAL_RENDERSCRIPT_TARGET_API is set
|
||||||
|
|
||||||
# For 64-bit, we always have to upgrade to at least 21
|
# For 64-bit, we always have to upgrade to at least 21 for compat build.
|
||||||
ifeq ($(TARGET_IS_64_BIT),true)
|
ifneq ($(LOCAL_RENDERSCRIPT_COMPATIBILITY),)
|
||||||
ifneq ($(filter $(RSCOMPAT_32BIT_ONLY_API_LEVELS),$(renderscript_target_api)),)
|
ifeq ($(TARGET_IS_64_BIT),true)
|
||||||
renderscript_target_api := 21
|
ifneq ($(filter $(RSCOMPAT_32BIT_ONLY_API_LEVELS),$(renderscript_target_api)),)
|
||||||
|
renderscript_target_api := 21
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user