am 094116f0
: Merge "Remove the unnecessary rs_compatibility_jni_libs install rules."
* commit '094116f0374da3dcba3ff1425f0cb42caf1c6d59': Remove the unnecessary rs_compatibility_jni_libs install rules.
This commit is contained in:
@@ -132,7 +132,6 @@ LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE:=
|
|||||||
LOCAL_RENDERSCRIPT_CC:=
|
LOCAL_RENDERSCRIPT_CC:=
|
||||||
LOCAL_RENDERSCRIPT_COMPATIBILITY:=
|
LOCAL_RENDERSCRIPT_COMPATIBILITY:=
|
||||||
LOCAL_RENDERSCRIPT_FLAGS:=
|
LOCAL_RENDERSCRIPT_FLAGS:=
|
||||||
LOCAL_RENDERSCRIPT_SKIP_INSTALL:=
|
|
||||||
LOCAL_RENDERSCRIPT_TARGET_API:=
|
LOCAL_RENDERSCRIPT_TARGET_API:=
|
||||||
LOCAL_DEX_PREOPT:= # '',true,false,nostripping
|
LOCAL_DEX_PREOPT:= # '',true,false,nostripping
|
||||||
LOCAL_DEX_PREOPT_IMAGE_LOCATION:=
|
LOCAL_DEX_PREOPT_IMAGE_LOCATION:=
|
||||||
|
22
core/java.mk
22
core/java.mk
@@ -365,28 +365,6 @@ $(error $(LOCAL_PATH): Target java module does not define any source or resource
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Install the RS compatibility libraries to /system/lib/ if necessary
|
|
||||||
ifdef rs_compatibility_jni_libs
|
|
||||||
installed_rs_compatibility_jni_libs := $(addprefix $(TARGET_OUT_SHARED_LIBRARIES)/,\
|
|
||||||
$(notdir $(rs_compatibility_jni_libs)))
|
|
||||||
# Provide a way to skip sources included in multiple projects.
|
|
||||||
ifdef LOCAL_RENDERSCRIPT_SKIP_INSTALL
|
|
||||||
skip_install_rs_libs := $(patsubst %.rs,%.so, \
|
|
||||||
$(addprefix $(TARGET_OUT_SHARED_LIBRARIES)/librs., \
|
|
||||||
$(notdir $(LOCAL_RENDERSCRIPT_SKIP_INSTALL))))
|
|
||||||
installed_rs_compatibility_jni_libs := \
|
|
||||||
$(filter-out $(skip_install_rs_libs),$(installed_rs_compatibility_jni_libs))
|
|
||||||
endif
|
|
||||||
ifneq (,$(strip $(installed_rs_compatibility_jni_libs)))
|
|
||||||
$(installed_rs_compatibility_jni_libs) : $(TARGET_OUT_SHARED_LIBRARIES)/lib%.so : \
|
|
||||||
$(renderscript_intermediate)/lib%.so
|
|
||||||
$(hide) mkdir -p $(dir $@) && cp -f $< $@
|
|
||||||
|
|
||||||
# Install them only if the current module is installed.
|
|
||||||
$(LOCAL_INSTALLED_MODULE) : $(installed_rs_compatibility_jni_libs)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Since we're using intermediates.COMMON, make sure that it gets cleaned
|
# Since we're using intermediates.COMMON, make sure that it gets cleaned
|
||||||
# properly.
|
# properly.
|
||||||
$(cleantarget): PRIVATE_CLEAN_FILES += $(intermediates.COMMON)
|
$(cleantarget): PRIVATE_CLEAN_FILES += $(intermediates.COMMON)
|
||||||
|
Reference in New Issue
Block a user