Allow projects to exclude from libcrt_builtins
Some projects can't be built with libcrt_builtins yet. Bug: 29275768 Test: m checkbuild Change-Id: I52805f5dece6395024683d07809c4b8905dab631
This commit is contained in:
@@ -185,6 +185,7 @@ LOCAL_NO_CRT:=
|
|||||||
LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
|
LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
|
||||||
LOCAL_NO_FPIE :=
|
LOCAL_NO_FPIE :=
|
||||||
LOCAL_NO_LIBGCC:=
|
LOCAL_NO_LIBGCC:=
|
||||||
|
LOCAL_NO_LIBCRT_BUILTINS:=
|
||||||
LOCAL_NO_NOTICE_FILE:=
|
LOCAL_NO_NOTICE_FILE:=
|
||||||
LOCAL_NO_PIC:=
|
LOCAL_NO_PIC:=
|
||||||
LOCAL_NOSANITIZE:=
|
LOCAL_NOSANITIZE:=
|
||||||
|
@@ -36,7 +36,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Define PRIVATE_ variables from global vars
|
# Define PRIVATE_ variables from global vars
|
||||||
|
ifeq ($(LOCAL_NO_LIBCRT_BUILTINS),true)
|
||||||
|
my_target_libcrt_builtins :=
|
||||||
|
else
|
||||||
my_target_libcrt_builtins := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBCRT_BUILTINS)
|
my_target_libcrt_builtins := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBCRT_BUILTINS)
|
||||||
|
endif
|
||||||
ifeq ($(LOCAL_NO_LIBGCC),true)
|
ifeq ($(LOCAL_NO_LIBGCC),true)
|
||||||
my_target_libgcc :=
|
my_target_libgcc :=
|
||||||
else
|
else
|
||||||
|
@@ -34,7 +34,11 @@ ifndef skip_build_from_source
|
|||||||
include $(BUILD_SYSTEM)/dynamic_binary.mk
|
include $(BUILD_SYSTEM)/dynamic_binary.mk
|
||||||
|
|
||||||
# Define PRIVATE_ variables from global vars
|
# Define PRIVATE_ variables from global vars
|
||||||
|
ifeq ($(LOCAL_NO_LIBCRT_BUILTINS),true)
|
||||||
|
my_target_libcrt_builtins :=
|
||||||
|
else
|
||||||
my_target_libcrt_builtins := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBCRT_BUILTINS)
|
my_target_libcrt_builtins := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)LIBCRT_BUILTINS)
|
||||||
|
endif
|
||||||
ifeq ($(LOCAL_NO_LIBGCC),true)
|
ifeq ($(LOCAL_NO_LIBGCC),true)
|
||||||
my_target_libgcc :=
|
my_target_libgcc :=
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user