Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8039acc authored by Tao Bao's avatar Tao Bao
Browse files

recovery: Remove the include of adb.h.

recovery.cpp doesn't have a direct dependency on adb.h (only minadbd
does). 'adb.h' was once needed for DEFAULT_ADB_PORT, until being killed
by commit acb2a2fa.

Test: mmma bootable/recovery
Change-Id: I84f87988d01c3f0c3d1383cc3cffde2e7d5e7aea
parent a9dd77fa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -92,11 +92,9 @@ endif

LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
LOCAL_CFLAGS += -Wno-unused-parameter -Werror
LOCAL_CLANG := true

LOCAL_C_INCLUDES += \
    system/vold \
    system/core/adb \

LOCAL_STATIC_LIBRARIES := \
    librecovery \
+0 −1
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@
#include <string>
#include <vector>

#include <adb.h>
#include <android-base/file.h>
#include <android-base/logging.h>
#include <android-base/parseint.h>