OSDN Git Service

Fold leaks that are referenced by other leaks
[android-x86/system-core.git] / libmemunreachable / Android.mk
index 4defb61..8421fcc 100644 (file)
@@ -3,6 +3,7 @@ LOCAL_PATH := $(call my-dir)
 memunreachable_srcs := \
    Allocator.cpp \
    HeapWalker.cpp \
+   LeakFolding.cpp \
    LeakPipe.cpp \
    LineBuffer.cpp \
    MemUnreachable.cpp \
@@ -14,6 +15,7 @@ memunreachable_test_srcs := \
    tests/Allocator_test.cpp \
    tests/DisableMalloc_test.cpp \
    tests/HeapWalker_test.cpp \
+   tests/LeakFolding_test.cpp \
    tests/MemUnreachable_test.cpp \
    tests/ThreadCapture_test.cpp \
 
@@ -49,9 +51,11 @@ LOCAL_MODULE := memunreachable_test
 LOCAL_SRC_FILES := \
    Allocator.cpp \
    HeapWalker.cpp  \
+   LeakFolding.cpp \
    tests/Allocator_test.cpp \
    tests/HeapWalker_test.cpp \
    tests/HostMallocStub.cpp \
+   tests/LeakFolding_test.cpp \
 
 LOCAL_CFLAGS := -std=c++14 -Wall -Wextra -Werror
 LOCAL_CLANG := true