From d8039acce641577b8387515e461d7c44558fc677 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 24 Apr 2017 12:13:54 -0700 Subject: 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 acb2a2fa4c415944a27539461ba3757f3edbb128. Test: mmma bootable/recovery Change-Id: I84f87988d01c3f0c3d1383cc3cffde2e7d5e7aea --- Android.mk | 2 -- recovery.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/Android.mk b/Android.mk index 5e2dddec4..01c72a476 100644 --- a/Android.mk +++ b/Android.mk @@ -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 \ diff --git a/recovery.cpp b/recovery.cpp index 99126eedc..587698170 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -40,7 +40,6 @@ #include #include -#include #include #include #include -- cgit v1.2.3