blob: ad45b2cee5e32221cb67a5530637d9ac28cb8bd5 [file] [log] [blame]
The Android Open Source Project190995d2009-03-03 19:32:55 -08001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
Rom Lemarchand72722b22013-01-10 15:21:18 -08004
5# ========================================================
6# Static library
7# ========================================================
8include $(CLEAR_VARS)
9LOCAL_MODULE := liblogwrap
10LOCAL_SRC_FILES := logwrap.c
11LOCAL_SHARED_LIBRARIES := libcutils liblog
12LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
13LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Yusuke Sato1c4cf312015-08-19 23:58:45 -070014LOCAL_CFLAGS := -Werror -std=gnu99
Rom Lemarchand72722b22013-01-10 15:21:18 -080015include $(BUILD_STATIC_LIBRARY)
16
17# ========================================================
18# Shared library
19# ========================================================
20include $(CLEAR_VARS)
21LOCAL_MODULE := liblogwrap
22LOCAL_SHARED_LIBRARIES := libcutils liblog
23LOCAL_WHOLE_STATIC_LIBRARIES := liblogwrap
24LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
25LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Yusuke Sato1c4cf312015-08-19 23:58:45 -070026LOCAL_CFLAGS := -Werror -std=gnu99
Rom Lemarchand72722b22013-01-10 15:21:18 -080027include $(BUILD_SHARED_LIBRARY)
28
29# ========================================================
30# Executable
31# ========================================================
32include $(CLEAR_VARS)
The Android Open Source Project190995d2009-03-03 19:32:55 -080033LOCAL_SRC_FILES:= logwrapper.c
34LOCAL_MODULE := logwrapper
Ken Sumrall54ec9442013-04-03 13:45:10 -070035LOCAL_STATIC_LIBRARIES := liblog liblogwrap libcutils
Yusuke Sato1c4cf312015-08-19 23:58:45 -070036LOCAL_CFLAGS := -Werror -std=gnu99
The Android Open Source Project190995d2009-03-03 19:32:55 -080037include $(BUILD_EXECUTABLE)