We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4949fe0 commit 243a5d3Copy full SHA for 243a5d3
1 file changed
build.cmd
@@ -1,13 +1,15 @@
1
:: Build script for adbwinapi
2
3
-set "GIT_TAG=35.0.2"
+:: newer platform-tools-"%GIT_TAG%" are not tagged in AOSP
4
+:: sync this with nmeum/android-tools project
5
+set "GIT_BRANCH=android-16.0.0_r4"
6
set "GIT_DIR=development"
7
set "BUILD_ARCH=%~1"
8
9
if not exist "%cd%\%GIT_DIR%\" (
10
git clone ^
11
--depth=1 ^
---branch platform-tools-"%GIT_TAG%" ^
12
+--branch "%GIT_BRANCH%" ^
13
https://android.googlesource.com/platform/development.git ^
14
"%GIT_DIR%"
15
@@ -23,7 +25,7 @@ set "BUILD_ARCH=x64"
23
25
copy CMakeLists.txt "%GIT_DIR%\CMakeLists.txt"
24
26
27
cmake ^
--G "Visual Studio 17 2022" ^
28
+-G "Visual Studio 18 2026" ^
29
-A "%BUILD_ARCH%" ^
30
-B "build-%BUILD_ARCH%" ^
31
-S "%GIT_DIR%"
0 commit comments