repo init –u https://android.googlesource.com/platform/manifest -b master -g all,-notdefault,tools
B- Building
-----------
To build, perform the following steps:
$ . build/envsetup.sh
$ lunch sdk-eng
$ make win_sdk
Note that this will build both a Linux SDK then a Windows SDK.
The result is located at
out/host/windows/sdk/android-sdk_eng.${USER}_windows/
C- Building just the tools
--------------------------------------
You can also build isolated windows tools directly on Linux without building
the full SDK.
To build, perform the following steps:
$ cd ~/my-android-git
$ . build/envsetup.sh
$ lunch sdk-eng
$ make winsdk-tools
A specific tool can be built using:
$ make host_cross_adb
Then the binaries are located at
out/host/windows-x86/bin/adb.exe