Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73f967b7 authored by Miao Wang's avatar Miao Wang Committed by Android Git Automerger
Browse files

am b7a3bc56: am fbf80e9d: Merge "[RenderScript] Only upgrade RS target API for...

am b7a3bc56: am fbf80e9d: Merge "[RenderScript] Only upgrade RS target API for compat build." into mnc-dev

* commit 'b7a3bc56':
  [RenderScript] Only upgrade RS target API for compat build.
parents 3a6d1290 b7a3bc56
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -162,12 +162,14 @@ 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
# 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),)
LOCAL_RENDERSCRIPT_CC := $(LLVM_RS_CC)