From fa9301657a7f5c1405cf2691d8e15e23eae113aa Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Fri, 7 Sep 2018 15:15:16 -0700 Subject: Build jemalloc for host, too. We build both static and dynamic libjemalloc and libjemalloc_jet for the host. For the target, only the static libraries are built, just as before. Test: 'mmma external/jemalloc', verify that it builds the same target libraries, verify it builds host libraries and they can be used to build ckati. Change-Id: I588b84fba7785d31dc5200a805a43b34bb0723d1 --- include/jemalloc/internal/jemalloc_internal_defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/jemalloc/internal/jemalloc_internal_defs.h') diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h b/include/jemalloc/internal/jemalloc_internal_defs.h index 1899bf3..9ffe26c 100644 --- a/include/jemalloc/internal/jemalloc_internal_defs.h +++ b/include/jemalloc/internal/jemalloc_internal_defs.h @@ -1,3 +1,6 @@ +#if !defined(__ANDROID__) +#include "jemalloc_internal_defs_host.h" +#else /* include/jemalloc/internal/jemalloc_internal_defs.h. Generated from jemalloc_internal_defs.h.in by configure. */ #ifndef JEMALLOC_INTERNAL_DEFS_H_ #define JEMALLOC_INTERNAL_DEFS_H_ @@ -323,3 +326,4 @@ #define JEMALLOC_CONFIG_MALLOC_CONF "" #endif /* JEMALLOC_INTERNAL_DEFS_H_ */ +#endif -- cgit v1.2.3