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
Merged-In: I52805f5dece6395024683d07809c4b8905dab631
(cherry picked from commit 2a401bea9e
)
This commit is contained in:
parent
95fd9d171d
commit
2b7e980cbd
|
@ -185,6 +185,7 @@ LOCAL_NO_CRT:=
|
|||
LOCAL_NO_DEFAULT_COMPILER_FLAGS:=
|
||||
LOCAL_NO_FPIE :=
|
||||
LOCAL_NO_LIBGCC:=
|
||||
LOCAL_NO_LIBCRT_BUILTINS:=
|
||||
LOCAL_NO_NOTICE_FILE:=
|
||||
LOCAL_NO_PIC:=
|
||||
LOCAL_NOSANITIZE:=
|
||||
|
|
|
@ -36,7 +36,11 @@ endif
|
|||
endif
|
||||
|
||||
# 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)
|
||||
endif
|
||||
ifeq ($(LOCAL_NO_LIBGCC),true)
|
||||
my_target_libgcc :=
|
||||
else
|
||||
|
|
|
@ -34,7 +34,11 @@ ifndef skip_build_from_source
|
|||
include $(BUILD_SYSTEM)/dynamic_binary.mk
|
||||
|
||||
# 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)
|
||||
endif
|
||||
ifeq ($(LOCAL_NO_LIBGCC),true)
|
||||
my_target_libgcc :=
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue