We need libcutils to include liblog
For some prebuilts were built against libcutils with liblog in it. Unfortunately that means in the future if someone checks in prebuilts that are built against libcutils and they don't explicitly link against liblog, they will again prevent us from removing liblog from libcutils. Bug: 8587800 Bug: 8580410 Change-Id: I2a5ed6233df7e7d542d1e4167bec405750c0e671
This commit is contained in:
parent
083b5ccba3
commit
c796ed9746
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,9 @@ include $(BUILD_STATIC_LIBRARY)
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := libcutils
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := libcutils
|
||||
# TODO: remove liblog as whole static library, once we don't have prebuilt that requires
|
||||
# liblog symbols present in libcutils.
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := libcutils liblog
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_CFLAGS += $(targetSmpFlag)
|
||||
LOCAL_C_INCLUDES := $(libcutils_c_includes)
|
||||
|
|
Loading…
Reference in a new issue