Ethan Yonker | c798c9c | 2015-10-09 11:15:26 -0500 | [diff] [blame] | 1 | The contents of this directory are copied from system/core/adb, with |
| 2 | the following changes: |
| 3 | |
| 4 | adb.c |
| 5 | - much support for host mode and non-linux OS's stripped out; this |
| 6 | version only runs as adbd on the device. |
| 7 | - always setuid/setgid's itself to the shell user |
| 8 | - only uses USB transport |
| 9 | - references to JDWP removed |
| 10 | - main() removed |
| 11 | - all ADB_HOST and win32 code removed |
| 12 | - removed listeners, logging code, background server (for host) |
| 13 | |
| 14 | adb.h |
| 15 | - minor changes to match adb.c changes |
| 16 | |
| 17 | sockets.c |
| 18 | - references to JDWP removed |
| 19 | - ADB_HOST code removed |
| 20 | |
| 21 | services.c |
| 22 | - all services except echo_service (which is commented out) removed |
| 23 | - all host mode support removed |
| 24 | - sideload_service() added; this is the only service supported. It |
| 25 | receives a single blob of data, writes it to a fixed filename, and |
| 26 | makes the process exit. |
| 27 | |
| 28 | Android.mk |
| 29 | - only builds in adbd mode; builds as static library instead of a |
| 30 | standalone executable. |
| 31 | |
| 32 | sysdeps.h |
| 33 | - changes adb_creat() to use O_NOFOLLOW |
| 34 | |
| 35 | transport.c |
| 36 | - removed ADB_HOST code |
| 37 | |
| 38 | transport_usb.c |
| 39 | - removed ADB_HOST code |