OSDN Git Service

Add libbase dependency for recovery_test/boot_control_copy
authorbowgotsai <bowgotsai@google.com>
Mon, 23 Jan 2017 11:02:20 +0000 (19:02 +0800)
committerbowgotsai <bowgotsai@google.com>
Fri, 27 Jan 2017 03:02:54 +0000 (11:02 +0800)
It requires libbase due to fs_mgr is using <android-base/logging.h>

Bug: 34336098
Test: compile

Change-Id: I120a8f6c7e7bf052081e8c97a358384665927088

boot_control_copy/Android.mk
tests/fstest/Android.mk

index 3125d6e..3a5f8a0 100644 (file)
@@ -6,7 +6,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := boot_control_copy.c bootinfo.c
 LOCAL_CFLAGS := -Wall -Wno-missing-field-initializers -Wno-unused-parameter
 LOCAL_C_INCLUDES := system/core/mkbootimg bootable/recovery
-LOCAL_SHARED_LIBRARIES := libcutils
+LOCAL_SHARED_LIBRARIES := libbase libcutils
 LOCAL_STATIC_LIBRARIES := libfs_mgr
 
 LOCAL_MODULE_RELATIVE_PATH := hw
index 7b769b0..8ea4881 100644 (file)
@@ -18,7 +18,8 @@ include $(CLEAR_VARS)
 LOCAL_MODULE_TAGS := tests
 LOCAL_MODULE := recovery_test
 LOCAL_SRC_FILES := recovery_test.cpp
-LOCAL_SHARED_LIBRARIES += libcutils libutils liblog liblogwrap libext4_utils
+LOCAL_SHARED_LIBRARIES += libcutils libutils libbase liblog \
+                          liblogwrap libext4_utils
 LOCAL_STATIC_LIBRARIES += libtestUtil libfs_mgr
 LOCAL_C_INCLUDES += system/extras/tests/include \
                     system/core/logwrapper/include