diff options
author | Christopher Ferris <cferris@google.com> | 2018-09-07 15:15:16 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2018-09-12 15:06:27 -0700 |
commit | fa9301657a7f5c1405cf2691d8e15e23eae113aa (patch) | |
tree | 01f0ca0897cd7d436e3e33645a83f14dd8185ca2 /include/jemalloc/internal/jemalloc_internal_defs.h | |
parent | 9f251509c0ab9999f11a2439961f8ef1f034075b (diff) | |
download | jemalloc-fa9301657a7f5c1405cf2691d8e15e23eae113aa.tar.gz |
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
Diffstat (limited to 'include/jemalloc/internal/jemalloc_internal_defs.h')
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |