am 88618b8e: am 73f967b7: am b7a3bc56: am fbf80e9d: Merge "[RenderScript] Only upgrade RS target API for compat build." into mnc-dev
* commit '88618b8ee98f6861cc4533a8c8e1b52c4017d52b': [RenderScript] Only upgrade RS target API for compat build.
This commit is contained in:
commit
fbfa983a59
|
@ -162,11 +162,13 @@ else
|
|||
endif # LOCAL_SDK_VERSION is set
|
||||
endif # LOCAL_RENDERSCRIPT_TARGET_API is set
|
||||
|
||||
# For 64-bit, we always have to upgrade to at least 21
|
||||
ifeq ($(TARGET_IS_64_BIT),true)
|
||||
# For 64-bit, we always have to upgrade to at least 21 for compat build.
|
||||
ifneq ($(LOCAL_RENDERSCRIPT_COMPATIBILITY),)
|
||||
ifeq ($(TARGET_IS_64_BIT),true)
|
||||
ifneq ($(filter $(RSCOMPAT_32BIT_ONLY_API_LEVELS),$(renderscript_target_api)),)
|
||||
renderscript_target_api := 21
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(LOCAL_RENDERSCRIPT_CC),)
|
||||
|
|
Loading…
Reference in New Issue