Merge "minadbd: Export minadbd/types.h to libinstall." am: ffa9ffbd2b

am: 74c405d87f

Change-Id: I93f0cb7ea11664a69e76c703f95ee982ef9402da
This commit is contained in:
Tao Bao 2019-09-26 16:19:32 -07:00 committed by android-build-merger
commit e0cb5d5c1e
7 changed files with 17 additions and 10 deletions

View file

@ -19,10 +19,6 @@ cc_defaults {
"recovery_defaults",
],
header_libs: [
"libminadbd_headers",
],
shared_libs: [
"libbase",
"libbootloader_message",
@ -69,6 +65,10 @@ cc_library_static {
"wipe_device.cpp",
],
header_libs: [
"libminadbd_headers",
],
shared_libs: [
"librecovery_ui",
],

View file

@ -44,7 +44,7 @@
#include "fuse_sideload.h"
#include "install/install.h"
#include "install/wipe_data.h"
#include "minadbd_types.h"
#include "minadbd/types.h"
#include "otautil/sysutil.h"
#include "recovery_ui/device.h"
#include "recovery_ui/ui.h"

View file

@ -26,6 +26,10 @@ cc_defaults {
include_dirs: [
"system/core/adb",
],
header_libs: [
"libminadbd_headers",
],
}
// `libminadbd_services` is analogous to the `libadbd_services` for regular `adbd`, but providing
@ -58,9 +62,12 @@ cc_library {
cc_library_headers {
name: "libminadbd_headers",
recovery_available: true,
// TODO create a include dir
export_include_dirs: [
".",
"include",
],
// adb_install.cpp
visibility: [
"//bootable/recovery/install",
],
}

View file

@ -28,8 +28,8 @@
#include "adb_auth.h"
#include "transport.h"
#include "minadbd/types.h"
#include "minadbd_services.h"
#include "minadbd_types.h"
using namespace std::string_literals;

View file

@ -43,7 +43,7 @@
#include "adb_utils.h"
#include "fuse_adb_provider.h"
#include "fuse_sideload.h"
#include "minadbd_types.h"
#include "minadbd/types.h"
#include "services.h"
#include "sysdeps.h"

View file

@ -35,8 +35,8 @@
#include "adb_io.h"
#include "fuse_adb_provider.h"
#include "fuse_sideload.h"
#include "minadbd/types.h"
#include "minadbd_services.h"
#include "minadbd_types.h"
#include "socket.h"
class MinadbdServicesTest : public ::testing::Test {