038c4a11db
Previously, we were relying on linker ordering pulling in minadbd's copy of services_to_fd instead of libadbd's, which breaks when we switch to dynamically linking. Separate out libadbd's services into a separate function that's in a file that isn't built into libadbd, so that we can provide our own here. Bug: http://b/111831478 Test: mma Change-Id: I2479947b2d81db5e750020fffc2c2c770cb31a78 |
||
---|---|---|
.. | ||
Android.bp | ||
AndroidTest.xml | ||
fuse_adb_provider.cpp | ||
fuse_adb_provider.h | ||
fuse_adb_provider_test.cpp | ||
minadbd.cpp | ||
minadbd.h | ||
minadbd_services.cpp | ||
README.md |
minadbd is now mostly built from libadbd. The fuse features are unique to minadbd, and services.c has been modified as follows:
- all services removed
- all host mode support removed
sideload_service()
added; this is the only service supported. It receives a single blob of data, writes it to a fixed filename, and makes the process exit.