diff options
author | Dima Zavin <dima@android.com> | 2009-05-28 12:38:02 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-05-28 12:38:02 -0700 |
commit | e76de9a8cab4c9df7cb0b7ed34f7d687e1f35373 (patch) | |
tree | 36481a8a1de14e8bd8c51373ab60db5db521a36d /libc | |
parent | b489245af2968eb03db81f76451fa279296cb0b9 (diff) | |
parent | 49e55332784b82f7112ee7c1ea3c176c9dc32d7a (diff) | |
download | bionic-e76de9a8cab4c9df7cb0b7ed34f7d687e1f35373.zip bionic-e76de9a8cab4c9df7cb0b7ed34f7d687e1f35373.tar.gz bionic-e76de9a8cab4c9df7cb0b7ed34f7d687e1f35373.tar.bz2 |
am 49e55332: libc: Add an intermediate version of the static libc without malloc
Merge commit '49e55332784b82f7112ee7c1ea3c176c9dc32d7a'
* commit '49e55332784b82f7112ee7c1ea3c176c9dc32d7a':
libc: Add an intermediate version of the static libc without malloc
Diffstat (limited to 'libc')
-rw-r--r-- | libc/Android.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 1c1b312..59a4c6b 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -444,6 +444,32 @@ include $(BUILD_STATIC_LIBRARY) # ======================================================== +# libc_nomalloc.a +# ======================================================== +# +# This is a version of the static C library that does not +# include malloc. It's useful in situations when calling +# the user wants to provide their own malloc implementation, +# or wants to explicitly disallow the use of the use of malloc, +# like the dynamic loader. + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := \ + $(libc_arch_static_src_files) \ + bionic/libc_init_static.c + +LOCAL_C_INCLUDES := $(libc_common_c_includes) +LOCAL_CFLAGS := $(libc_common_cflags) + +LOCAL_MODULE := libc_nomalloc +LOCAL_WHOLE_STATIC_LIBRARIES := libc_common +LOCAL_SYSTEM_SHARED_LIBRARIES := + +include $(BUILD_STATIC_LIBRARY) + + +# ======================================================== # libc.a # ======================================================== include $(CLEAR_VARS) |