Skip to content

Commit 243a5d3

Browse files
authored
update to 36.0.1 (android-16.0.0_r4)
1 parent 4949fe0 commit 243a5d3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

build.cmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
:: Build script for adbwinapi
22

3-
set "GIT_TAG=35.0.2"
3+
:: 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"
46
set "GIT_DIR=development"
57
set "BUILD_ARCH=%~1"
68

79
if not exist "%cd%\%GIT_DIR%\" (
810
git clone ^
911
--depth=1 ^
10-
--branch platform-tools-"%GIT_TAG%" ^
12+
--branch "%GIT_BRANCH%" ^
1113
https://android.googlesource.com/platform/development.git ^
1214
"%GIT_DIR%"
1315

@@ -23,7 +25,7 @@ set "BUILD_ARCH=x64"
2325
copy CMakeLists.txt "%GIT_DIR%\CMakeLists.txt"
2426

2527
cmake ^
26-
-G "Visual Studio 17 2022" ^
28+
-G "Visual Studio 18 2026" ^
2729
-A "%BUILD_ARCH%" ^
2830
-B "build-%BUILD_ARCH%" ^
2931
-S "%GIT_DIR%"

0 commit comments

Comments
 (0)