Fix libcompiler-rt. Use the official name libcompiler_rt.
Rename libcompiler-rt to libcompiler_rt. Change-Id: I62e77d4dc83458bc238bd8320b70ddb7efe0dd12
This commit is contained in:
committed by
Stephen Hines
parent
abee465031
commit
c8dfc169c8
@@ -118,7 +118,7 @@ ifeq ($(strip $(LOCAL_ADDRESS_SANITIZER)),true)
|
|||||||
LOCAL_STATIC_LIBRARIES += $(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)
|
LOCAL_STATIC_LIBRARIES += $(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Add in libcompiler-rt for all regular device builds
|
# Add in libcompiler_rt for all regular device builds
|
||||||
ifeq (,$(LOCAL_SDK_VERSION)$(LOCAL_IS_HOST_MODULE)$(WITHOUT_LIBCOMPILER_RT))
|
ifeq (,$(LOCAL_SDK_VERSION)$(LOCAL_IS_HOST_MODULE)$(WITHOUT_LIBCOMPILER_RT))
|
||||||
LOCAL_STATIC_LIBRARIES += $(COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES)
|
LOCAL_STATIC_LIBRARIES += $(COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES)
|
||||||
endif
|
endif
|
||||||
|
@@ -210,11 +210,11 @@ $(rs_generated_bc) : $(RenderScript_file_stamp)
|
|||||||
ifeq (,$(TARGET_BUILD_APPS))
|
ifeq (,$(TARGET_BUILD_APPS))
|
||||||
rs_built_clcore := $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/libclcore.bc
|
rs_built_clcore := $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/libclcore.bc
|
||||||
rs_extra_libpath :=
|
rs_extra_libpath :=
|
||||||
rs_compiler_rt := $(call intermediates-dir-for,STATIC_LIBRARIES,libcompiler-rt)/libcompiler-rt.a
|
rs_compiler_rt := $(call intermediates-dir-for,STATIC_LIBRARIES,libcompiler-rt)/libcompiler_rt.a
|
||||||
else
|
else
|
||||||
rs_built_clcore := prebuilts/sdk/renderscript/lib/libclcore.bc
|
rs_built_clcore := prebuilts/sdk/renderscript/lib/libclcore.bc
|
||||||
rs_extra_libpath := -L prebuilts/ndk/8/platforms/android-9/arch-arm/usr/lib
|
rs_extra_libpath := -L prebuilts/ndk/8/platforms/android-9/arch-arm/usr/lib
|
||||||
rs_compiler_rt := prebuilts/sdk/renderscript/lib/libcompiler-rt.a
|
rs_compiler_rt := prebuilts/sdk/renderscript/lib/libcompiler_rt.a
|
||||||
endif # TARGET_BUILD_APPS
|
endif # TARGET_BUILD_APPS
|
||||||
rs_support_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/libRSSupport.so
|
rs_support_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/libRSSupport.so
|
||||||
rs_jni_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/librsjni.so
|
rs_jni_lib := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/librsjni.so
|
||||||
|
@@ -106,4 +106,4 @@ ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES := libasan
|
|||||||
|
|
||||||
# This allows us to use the superset of functionality that compiler-rt
|
# This allows us to use the superset of functionality that compiler-rt
|
||||||
# provides to Clang (for supporting features like -ftrapv).
|
# provides to Clang (for supporting features like -ftrapv).
|
||||||
COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES := libcompiler-rt-extras
|
COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES := libcompiler_rt-extras
|
||||||
|
Reference in New Issue
Block a user