summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp20
1 files changed, 18 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 80eede97..b89320e7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -51,6 +51,7 @@ common_cflags = [
"-D_GNU_SOURCE",
"-D_REENTRANT",
"-Wall",
+ "-Wextra",
"-Wshorten-64-to-32",
"-Wsign-compare",
"-Wundef",
@@ -155,7 +156,7 @@ lib_src_files = [
"src/extent_dss.c",
"src/extent_mmap.c",
"src/hash.c",
- "src/hooks.c",
+ "src/hook.c",
"src/large.c",
"src/log.c",
"src/malloc_io.c",
@@ -166,9 +167,12 @@ lib_src_files = [
"src/prng.c",
"src/prof.c",
"src/rtree.c",
+ "src/safety_check.c",
"src/stats.c",
+ "src/sc.c",
"src/sz.c",
"src/tcache.c",
+ "src/test_hooks.c",
"src/ticker.c",
"src/tsd.c",
"src/witness.c",
@@ -264,14 +268,18 @@ unit_tests = [
"test/unit/background_thread_enable.c",
"test/unit/base.c",
"test/unit/bitmap.c",
+ "test/unit/bit_util.c",
+ "test/unit/binshard.c",
"test/unit/ckh.c",
"test/unit/decay.c",
"test/unit/div.c",
"test/unit/emitter.c",
"test/unit/extent_quantize.c",
+ "test/unit/extent_util.c",
"test/unit/fork.c",
"test/unit/hash.c",
- "test/unit/hooks.c",
+ "test/unit/hook.c",
+ "test/unit/huge.c",
"test/unit/junk.c",
"test/unit/junk_alloc.c",
"test/unit/junk_free.c",
@@ -289,6 +297,7 @@ unit_tests = [
"test/unit/prof_active.c",
"test/unit/prof_gdump.c",
"test/unit/prof_idump.c",
+ "test/unit/prof_log.c",
"test/unit/prof_reset.c",
"test/unit/prof_tctx.c",
"test/unit/prof_thread_name.c",
@@ -297,13 +306,17 @@ unit_tests = [
"test/unit/rb.c",
"test/unit/retained.c",
"test/unit/rtree.c",
+ "test/unit/safety_check.c",
+ "test/unit/seq.c",
"test/unit/SFMT.c",
+ "test/unit/sc.c",
"test/unit/size_classes.c",
"test/unit/slab.c",
"test/unit/smoothstep.c",
"test/unit/spin.c",
"test/unit/stats.c",
"test/unit/stats_print.c",
+ "test/unit/test_hooks.c",
"test/unit/ticker.c",
"test/unit/nstime.c",
"test/unit/tsd.c",
@@ -370,15 +383,18 @@ integration_tests = [
"test/integration/aligned_alloc.c",
"test/integration/allocated.c",
"test/integration/extent.c",
+ "test/integration/malloc.c",
"test/integration/mallocx.c",
"test/integration/MALLOCX_ARENA.c",
"test/integration/overflow.c",
"test/integration/posix_memalign.c",
"test/integration/rallocx.c",
"test/integration/sdallocx.c",
+ "test/integration/slab_sizes.c",
"test/integration/thread_arena.c",
"test/integration/xallocx.c",
"test/integration/cpp/basic.cpp",
+ "test/integration/smallocx.c",
]
cc_test {