blob: a8fb3eb001d404096295d0eed8348a383c10d63a [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
Adam Lesinski481b9472013-09-23 18:42:41 -07008LOCAL_C_INCLUDES += hardware/libhardware/include
Colin Crossfc600e42013-09-06 16:41:40 -07009LOCAL_SHARED_LIBRARIES := libhardware liblog
10LOCAL_CFLAGS := -Wall -Werror
11include $(BUILD_SHARED_LIBRARY)
12
13include $(CLEAR_VARS)
14LOCAL_SRC_FILES := memtrack_test.c
15LOCAL_MODULE := memtrack_test
16LOCAL_C_INCLUDES := $(call include-path-for, libpagemap)
17LOCAL_SHARED_LIBRARIES := libmemtrack libpagemap
18LOCAL_CFLAGS := -Wall -Werror
19include $(BUILD_EXECUTABLE)