Merge "Update RenderScript build config and definitions."
am: dddd7738d0
Change-Id: I4a901ca9c2c9dcd7390d67f14e0e01679434a997
This commit is contained in:
commit
4751b9e700
2 changed files with 6 additions and 5 deletions
|
@ -820,10 +820,10 @@ endif
|
|||
RS_PREBUILT_CLCORE := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/librsrt_$(TARGET_ARCH).bc
|
||||
RS_PREBUILT_COMPILER_RT := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/libcompiler_rt.a
|
||||
ifeq (true,$(TARGET_IS_64_BIT))
|
||||
RS_PREBUILT_LIBPATH := -L prebuilts/ndk/current/platforms/android-21/arch-$(TARGET_ARCH)/usr/lib64 \
|
||||
-L prebuilts/ndk/current/platforms/android-21/arch-$(TARGET_ARCH)/usr/lib
|
||||
RS_PREBUILT_LIBPATH := -L prebuilts/ndk/r10/platforms/android-21/arch-$(TARGET_ARCH)/usr/lib64 \
|
||||
-L prebuilts/ndk/r10/platforms/android-21/arch-$(TARGET_ARCH)/usr/lib
|
||||
else
|
||||
RS_PREBUILT_LIBPATH := -L prebuilts/ndk/current/platforms/android-9/arch-$(TARGET_ARCH)/usr/lib
|
||||
RS_PREBUILT_LIBPATH := -L prebuilts/ndk/r10/platforms/android-9/arch-$(TARGET_ARCH)/usr/lib
|
||||
endif
|
||||
|
||||
# API Level lists for Renderscript Compat lib.
|
||||
|
|
|
@ -1049,8 +1049,9 @@ $(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \
|
|||
$(dir $@)/$(notdir $(<:.bc=.o)) \
|
||||
$(RS_PREBUILT_COMPILER_RT) \
|
||||
-o $@ $(TARGET_GLOBAL_LDFLAGS) -Wl,--hash-style=sysv -L prebuilts/gcc/ \
|
||||
$(RS_PREBUILT_LIBPATH) -L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) \
|
||||
-lRSSupport -lm -lc
|
||||
$(RS_PREBUILT_LIBPATH) \
|
||||
$(call intermediates-dir-for,SHARED_LIBRARIES,libRSSupport)/libRSSupport.so \
|
||||
-lm -lc
|
||||
endef
|
||||
|
||||
###########################################################
|
||||
|
|
Loading…
Reference in a new issue