minadbd: Export minadbd/types.h to libinstall.
Test: mmma bootable/recovery Change-Id: I503e942b23cc51024aa752c1eb3db5455a44a9d1
This commit is contained in:
parent
86b54dc493
commit
3305d48b0b
7 changed files with 17 additions and 10 deletions
|
@ -19,10 +19,6 @@ cc_defaults {
|
||||||
"recovery_defaults",
|
"recovery_defaults",
|
||||||
],
|
],
|
||||||
|
|
||||||
header_libs: [
|
|
||||||
"libminadbd_headers",
|
|
||||||
],
|
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libbase",
|
"libbase",
|
||||||
"libbootloader_message",
|
"libbootloader_message",
|
||||||
|
@ -69,6 +65,10 @@ cc_library_static {
|
||||||
"wipe_device.cpp",
|
"wipe_device.cpp",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
header_libs: [
|
||||||
|
"libminadbd_headers",
|
||||||
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"librecovery_ui",
|
"librecovery_ui",
|
||||||
],
|
],
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "fuse_sideload.h"
|
#include "fuse_sideload.h"
|
||||||
#include "install/install.h"
|
#include "install/install.h"
|
||||||
#include "install/wipe_data.h"
|
#include "install/wipe_data.h"
|
||||||
#include "minadbd_types.h"
|
#include "minadbd/types.h"
|
||||||
#include "otautil/sysutil.h"
|
#include "otautil/sysutil.h"
|
||||||
#include "recovery_ui/device.h"
|
#include "recovery_ui/device.h"
|
||||||
#include "recovery_ui/ui.h"
|
#include "recovery_ui/ui.h"
|
||||||
|
|
|
@ -26,6 +26,10 @@ cc_defaults {
|
||||||
include_dirs: [
|
include_dirs: [
|
||||||
"system/core/adb",
|
"system/core/adb",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
header_libs: [
|
||||||
|
"libminadbd_headers",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
// `libminadbd_services` is analogous to the `libadbd_services` for regular `adbd`, but providing
|
// `libminadbd_services` is analogous to the `libadbd_services` for regular `adbd`, but providing
|
||||||
|
@ -58,9 +62,12 @@ cc_library {
|
||||||
cc_library_headers {
|
cc_library_headers {
|
||||||
name: "libminadbd_headers",
|
name: "libminadbd_headers",
|
||||||
recovery_available: true,
|
recovery_available: true,
|
||||||
// TODO create a include dir
|
|
||||||
export_include_dirs: [
|
export_include_dirs: [
|
||||||
".",
|
"include",
|
||||||
|
],
|
||||||
|
// adb_install.cpp
|
||||||
|
visibility: [
|
||||||
|
"//bootable/recovery/install",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
#include "adb_auth.h"
|
#include "adb_auth.h"
|
||||||
#include "transport.h"
|
#include "transport.h"
|
||||||
|
|
||||||
|
#include "minadbd/types.h"
|
||||||
#include "minadbd_services.h"
|
#include "minadbd_services.h"
|
||||||
#include "minadbd_types.h"
|
|
||||||
|
|
||||||
using namespace std::string_literals;
|
using namespace std::string_literals;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include "adb_utils.h"
|
#include "adb_utils.h"
|
||||||
#include "fuse_adb_provider.h"
|
#include "fuse_adb_provider.h"
|
||||||
#include "fuse_sideload.h"
|
#include "fuse_sideload.h"
|
||||||
#include "minadbd_types.h"
|
#include "minadbd/types.h"
|
||||||
#include "services.h"
|
#include "services.h"
|
||||||
#include "sysdeps.h"
|
#include "sysdeps.h"
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
#include "adb_io.h"
|
#include "adb_io.h"
|
||||||
#include "fuse_adb_provider.h"
|
#include "fuse_adb_provider.h"
|
||||||
#include "fuse_sideload.h"
|
#include "fuse_sideload.h"
|
||||||
|
#include "minadbd/types.h"
|
||||||
#include "minadbd_services.h"
|
#include "minadbd_services.h"
|
||||||
#include "minadbd_types.h"
|
|
||||||
#include "socket.h"
|
#include "socket.h"
|
||||||
|
|
||||||
class MinadbdServicesTest : public ::testing::Test {
|
class MinadbdServicesTest : public ::testing::Test {
|
||||||
|
|
Loading…
Reference in a new issue