blob: ffc7244d399de99fae3107084adc732347ab7fea [file] [log] [blame]
Colin Crossfc600e42013-09-06 16:41:40 -07001# Copyright 2013 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4
5include $(CLEAR_VARS)
Colin Crossfc600e42013-09-06 16:41:40 -07006LOCAL_SRC_FILES := memtrack.c
7LOCAL_MODULE := libmemtrack
Elliott Hughesab5ed092016-02-12 18:16:48 -08008LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
9LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
Adam Lesinski481b9472013-09-23 18:42:41 -070010LOCAL_C_INCLUDES += hardware/libhardware/include
Colin Crossfc600e42013-09-06 16:41:40 -070011LOCAL_SHARED_LIBRARIES := libhardware liblog
12LOCAL_CFLAGS := -Wall -Werror
13include $(BUILD_SHARED_LIBRARY)
14
15include $(CLEAR_VARS)
16LOCAL_SRC_FILES := memtrack_test.c
17LOCAL_MODULE := memtrack_test
Colin Crossfc600e42013-09-06 16:41:40 -070018LOCAL_SHARED_LIBRARIES := libmemtrack libpagemap
19LOCAL_CFLAGS := -Wall -Werror
20include $(BUILD_EXECUTABLE)