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 |
Adam Lesinski | 481b947 | 2013-09-23 18:42:41 -0700 | [diff] [blame] | 8 | LOCAL_C_INCLUDES += hardware/libhardware/include |
Colin Cross | fc600e4 | 2013-09-06 16:41:40 -0700 | [diff] [blame] | 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_C_INCLUDES := $(call include-path-for, libpagemap) |
| 17 | LOCAL_SHARED_LIBRARIES := libmemtrack libpagemap |
| 18 | LOCAL_CFLAGS := -Wall -Werror |
| 19 | include $(BUILD_EXECUTABLE) |