Compile, for android 6.0, adb for "device-on-target"

For some reason, on Android version 6.0, adb creation for 'device-on-target' was removed from adm.mk.
It was very helpful. you can see the difference between 6.0 mk and 5.0 mk:
6.0 mk - https://github.com/android/platform_system_core/blob/master/adb/Android.mk
5.0 mk - https://github.com/android/platform_system_core/blob/lollipop-release/adb/Android.mk
(scroll to the end of mk)
Does anyone know how to compile adb for a device on a target Android server?

+3
android adb
source share

No one has answered this question yet.

See similar questions:

4
Where is adb located in Android 6? Is it deleted?
3
Cross Compile ADB, How to convert Android.mk to MakeFile?

or similar:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to keep Android activity state by saving instance state?
2097
Is there a way to run Python on Android?
1858
"Debug certificate expired" error in Android Eclipse plugins
1844
What is "Context" on Android?
843
How can I connect to Android with ADB via TCP?
328
How to launch the application using ADB tools for Android?

All Articles