OSDN Git Service

Fix RS NDK usage so we always pull from "current" instead of NDK 8.
authorStephen Hines <srhines@google.com>
Tue, 29 Sep 2015 01:07:21 +0000 (18:07 -0700)
committerStephen Hines <srhines@google.com>
Tue, 29 Sep 2015 01:07:21 +0000 (18:07 -0700)
The 8 in this definition refers to NDK release 8, not the API level 8.
Setting it to "current" is better, since it still contains the relevant
target API level (9 in our case) for using/building our RS support APIs.

Change-Id: Ib216ea859e137643fba81c39c4b9d0077ec04455

core/config.mk

index 0a01f41..0b1c020 100644 (file)
@@ -708,7 +708,7 @@ endif
 # Set up RS prebuilt variables for compatibility library
 
 RS_PREBUILT_CLCORE := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/librsrt_$(TARGET_ARCH).bc
-RS_PREBUILT_LIBPATH := -L prebuilts/ndk/8/platforms/android-9/arch-$(TARGET_ARCH)/usr/lib
+RS_PREBUILT_LIBPATH := -L prebuilts/ndk/current/platforms/android-9/arch-$(TARGET_ARCH)/usr/lib
 RS_PREBUILT_COMPILER_RT := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/libcompiler_rt.a
 
 # API Level lists for Renderscript Compat lib.