Fix libbase's logging dependency.
Get liblog directly, rather than transitively through libcutils. Change-Id: Ia08ac6f04ac68c39807989d869709bae0a051578
This commit is contained in:
parent
aae1eb2c4f
commit
5cf0dcd5b2
1 changed files with 2 additions and 4 deletions
|
@ -67,7 +67,7 @@ LOCAL_SRC_FILES := $(libbase_src_files) $(libbase_linux_src_files)
|
|||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
||||
LOCAL_CPPFLAGS := $(libbase_cppflags) $(libbase_linux_cppflags)
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_STATIC_LIBRARIES := libcutils
|
||||
LOCAL_STATIC_LIBRARIES := liblog
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
@ -77,7 +77,6 @@ LOCAL_CLANG := true
|
|||
LOCAL_WHOLE_STATIC_LIBRARIES := libbase
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_SHARED_LIBRARIES := libcutils
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
@ -94,7 +93,7 @@ LOCAL_CPPFLAGS := $(libbase_cppflags)
|
|||
LOCAL_CPPFLAGS_darwin := $(libbase_darwin_cppflags)
|
||||
LOCAL_CPPFLAGS_linux := $(libbase_linux_cppflags)
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_STATIC_LIBRARIES := libcutils
|
||||
LOCAL_STATIC_LIBRARIES := liblog
|
||||
LOCAL_MULTILIB := both
|
||||
LOCAL_MODULE_HOST_OS := darwin linux windows
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
@ -104,7 +103,6 @@ LOCAL_MODULE := libbase
|
|||
LOCAL_WHOLE_STATIC_LIBRARIES := libbase
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
||||
LOCAL_STATIC_LIBRARIES := libcutils
|
||||
LOCAL_MULTILIB := both
|
||||
LOCAL_MODULE_HOST_OS := darwin linux windows
|
||||
include $(BUILD_HOST_SHARED_LIBRARY)
|
||||
|
|
Loading…
Reference in a new issue