Merge "minadbd: Export minadbd/types.h to libinstall."
This commit is contained in:
commit
ffa9ffbd2b
7 changed files with 17 additions and 10 deletions
|
@ -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",
|
||||
],
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue