Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 8bc6aed

Browse files
committed
Move android-9.0 branch to aosp-security instead of unsupported google AOSP
1 parent 9eb447a commit 8bc6aed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ if [ -z "$USER" ];then
1010
fi
1111
export LC_ALL=C
1212

13+
manifest_url="https://android.googlesource.com/platform/manifest"
1314
aosp="android-8.1.0_r65"
1415
phh="android-8.1"
1516

1617
if [ "$1" == "android-9.0" ];then
17-
aosp="android-9.0.0_r47"
18+
manifest_url="https://gitlab.com/aosp-security/manifest"
19+
aosp="android-9.0.0_r49-r47"
1820
phh="android-9.0"
1921
elif [ "$1" == "android-10.0" ];then
22+
manifest_url="https://android.googlesource.com/platform/manifest"
2023
aosp="android-10.0.0_r2"
2124
phh="android-10.0"
2225
fi
@@ -26,7 +29,7 @@ if [ "$release" == true ];then
2629
[ ! -f "$originFolder/release/config.ini" ] && exit 1
2730
fi
2831

29-
repo init -u https://android.googlesource.com/platform/manifest -b $aosp
32+
repo init -u "$manifest_url" -b $aosp
3033
if [ -d .repo/local_manifests ] ;then
3134
( cd .repo/local_manifests; git fetch; git reset --hard; git checkout origin/$phh)
3235
else

0 commit comments

Comments
 (0)