1 # Copyright 2013 The Android Open Source Project 2 3 LOCAL_PATH:= $(call my-dir) 4 5 include $(CLEAR_VARS) 6 LOCAL_SRC_FILES := memtrack.c 7 LOCAL_MODULE := libmemtrack 8 LOCAL_C_INCLUDES += hardware/libhardware/include 9 LOCAL_SHARED_LIBRARIES := libhardware liblog 10 LOCAL_CFLAGS := -Wall -Werror 11 include $(BUILD_SHARED_LIBRARY) 12 13 include $(CLEAR_VARS) 14 LOCAL_SRC_FILES := memtrack_test.c 15 LOCAL_MODULE := memtrack_test 16 LOCAL_SHARED_LIBRARIES := libmemtrack libpagemap 17 LOCAL_CFLAGS := -Wall -Werror 18 include $(BUILD_EXECUTABLE) 19