blob: 01b61930da593ac271349ac966c4346afc625289 [file] [log] [blame]
Dees Troy4dff2e62013-11-10 04:11:43 +00001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5# ========================================================
6# Static library
7# ========================================================
8include $(CLEAR_VARS)
9LOCAL_MODULE := liblogwraptwrp
10LOCAL_SRC_FILES := logwrap.c
11LOCAL_SHARED_LIBRARIES := libcutils liblog
12LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
13LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
14include $(BUILD_STATIC_LIBRARY)
15
16# ========================================================
17# Shared library
18# ========================================================
19#include $(CLEAR_VARS)
20#LOCAL_MODULE := liblogwrap
21#LOCAL_SHARED_LIBRARIES := libcutils liblog
22#LOCAL_WHOLE_STATIC_LIBRARIES := liblogwrap
23#LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
24#LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
25#include $(BUILD_SHARED_LIBRARY)
26
27# ========================================================
28# Executable
29# ========================================================
30#include $(CLEAR_VARS)
31#LOCAL_SRC_FILES:= logwrapper.c
32#LOCAL_MODULE := logwrapper
33#LOCAL_STATIC_LIBRARIES := liblog liblogwrap libcutils
34#include $(BUILD_EXECUTABLE)