summaryrefslogtreecommitdiffstats
path: root/libacc/Android.mk
blob: 2b4998e5902bd78f2a36baf65c3b5712cf5e797e (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
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

# Shared library for target
# ========================================================

LOCAL_MODULE:= libacc
LOCAL_SRC_FILES := acc.cpp

LOCAL_SHARED_LIBRARIES := libdl libcutils

include $(BUILD_SHARED_LIBRARY)

# Shared library for host
# ========================================================

include $(CLEAR_VARS)
LOCAL_MODULE:= libacc
LOCAL_SRC_FILES := acc.cpp

LOCAL_CFLAGS := -O0 -g

LOCAL_STATIC_LIBRARIES := libcutils
LOCAL_LDLIBS := -ldl

include $(BUILD_HOST_SHARED_LIBRARY)

# Build children
# ========================================================

include $(call all-makefiles-under,$(LOCAL_PATH))