Remove *_OUT_INTERMEDIATE_LIBRARIES
Always use the exact libraries like Soong does instead. Test: m Change-Id: Ifd48020073dd045247f76f84627c497e94562286
This commit is contained in:
@@ -107,7 +107,7 @@ renderscript_intermediate := $(intermediates)/renderscript
|
||||
# Prevent these from showing up on the device
|
||||
# One exception is librsjni.so, which is needed for
|
||||
# both native path and compat path.
|
||||
rs_jni_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/librsjni.so
|
||||
rs_jni_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,librsjni.so)/librsjni.so
|
||||
LOCAL_JNI_SHARED_LIBRARIES += librsjni
|
||||
|
||||
ifneq (,$(TARGET_BUILD_APPS)$(FORCE_BUILD_RS_COMPAT))
|
||||
@@ -118,13 +118,13 @@ rs_compatibility_jni_libs := $(addprefix \
|
||||
|
||||
$(rs_generated_src_jar): .KATI_IMPLICIT_OUTPUTS += $(rs_generated_bc)
|
||||
|
||||
rs_support_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/libRSSupport.so
|
||||
rs_support_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,libRSSupport)/libRSSupport.so
|
||||
LOCAL_JNI_SHARED_LIBRARIES += libRSSupport
|
||||
|
||||
rs_support_io_lib :=
|
||||
# check if the target api level support USAGE_IO
|
||||
ifeq ($(filter $(RSCOMPAT_NO_USAGEIO_API_LEVELS),$(renderscript_target_api)),)
|
||||
rs_support_io_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/libRSSupportIO.so
|
||||
rs_support_io_lib := $(call intermediates-dir-for,SHARED_LIBRARIES,libRSSupportIO)/libRSSupportIO.so
|
||||
LOCAL_JNI_SHARED_LIBRARIES += libRSSupportIO
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user