summaryrefslogtreecommitdiffstats
path: root/crypto/logwrapper/Android.mk
blob: 01b61930da593ac271349ac966c4346afc625289 (plain) (blame)
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
LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

# ========================================================
# Static library
# ========================================================
include $(CLEAR_VARS)
LOCAL_MODULE := liblogwraptwrp
LOCAL_SRC_FILES := logwrap.c
LOCAL_SHARED_LIBRARIES := libcutils liblog
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
include $(BUILD_STATIC_LIBRARY)

# ========================================================
# Shared library
# ========================================================
#include $(CLEAR_VARS)
#LOCAL_MODULE := liblogwrap
#LOCAL_SHARED_LIBRARIES := libcutils liblog
#LOCAL_WHOLE_STATIC_LIBRARIES := liblogwrap
#LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
#LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
#include $(BUILD_SHARED_LIBRARY)

# ========================================================
# Executable
# ========================================================
#include $(CLEAR_VARS)
#LOCAL_SRC_FILES:= logwrapper.c
#LOCAL_MODULE := logwrapper
#LOCAL_STATIC_LIBRARIES := liblog liblogwrap libcutils
#include $(BUILD_EXECUTABLE)