Colin Cross | fc600e4 | 2013-09-06 16:41:40 -0700 | [diff] [blame] | 1 | # Copyright 2013 The Android Open Source Project |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
| 4 | |
| 5 | include $(CLEAR_VARS) |
Colin Cross | fc600e4 | 2013-09-06 16:41:40 -0700 | [diff] [blame] | 6 | LOCAL_SRC_FILES := memtrack.c |
| 7 | LOCAL_MODULE := libmemtrack |
Elliott Hughes | ab5ed09 | 2016-02-12 18:16:48 -0800 | [diff] [blame] | 8 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
| 9 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include |
Adam Lesinski | 481b947 | 2013-09-23 18:42:41 -0700 | [diff] [blame] | 10 | LOCAL_C_INCLUDES += hardware/libhardware/include |
Colin Cross | fc600e4 | 2013-09-06 16:41:40 -0700 | [diff] [blame] | 11 | LOCAL_SHARED_LIBRARIES := libhardware liblog |
| 12 | LOCAL_CFLAGS := -Wall -Werror |
| 13 | include $(BUILD_SHARED_LIBRARY) |
| 14 | |
| 15 | include $(CLEAR_VARS) |
| 16 | LOCAL_SRC_FILES := memtrack_test.c |
| 17 | LOCAL_MODULE := memtrack_test |
Colin Cross | fc600e4 | 2013-09-06 16:41:40 -0700 | [diff] [blame] | 18 | LOCAL_SHARED_LIBRARIES := libmemtrack libpagemap |
| 19 | LOCAL_CFLAGS := -Wall -Werror |
| 20 | include $(BUILD_EXECUTABLE) |