summaryrefslogtreecommitdiff
path: root/Android.mk
blob: 843064fb09ca33f0fff994f610a7e7c69bbc9af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
LOCAL_PATH := $(call my-dir)

#
# libiep.so
#
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	iep_api.cpp

LOCAL_CFLAGS := \
	$(CFLAGS) \
	-Wall \
	-Wextra \
	-DLOG_TAG=\"libiep\"

LOCAL_C_INCLUDES += $(TOP)/hardware/libhardware/include
LOCAL_LDFLAGS := \
	-Wl,-z,defs

LOCAL_SHARED_LIBRARIES := \
	libcutils

LOCAL_MODULE := libiep
LOCAL_MODULE_TAGS    := optional
LOCAL_PRELINK_MODULE := false

include $(BUILD_SHARED_LIBRARY)

#
# iep_func_test
#
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	iep_func_test.cpp

#LOCAL_C_INCLUDES += kernel/include

LOCAL_SHARED_LIBRARIES := \
	libcutils \
	libiep \
	libvpu

#LOCAL_LDLIBS += -lpthread

LOCAL_MODULE := iep_func_test
LOCAL_MODULE_TAGS := optional tests
LOCAL_PRELINK_MODULE := false

#include $(BUILD_EXECUTABLE)