@@ -16,14 +16,16 @@ phh="android-8.1"
16
16
if [ " $1 " == " android-9.0" ]; then
17
17
aosp=" android-9.0.0_r47"
18
18
phh=" android-9.0"
19
+ elif [ " $1 " == " android-10.0" ]; then
20
+ aosp=" android-10.0.0_r2"
21
+ phh=" android-10.0"
19
22
fi
20
23
21
24
if [ " $release " == true ]; then
22
25
[ -z " $version " ] && exit 1
23
26
[ ! -f " $originFolder /release/config.ini" ] && exit 1
24
27
fi
25
28
26
-
27
29
repo init -u https://android.googlesource.com/platform/manifest -b $aosp
28
30
if [ -d .repo/local_manifests ] ; then
29
31
( cd .repo/local_manifests; git fetch; git reset --hard; git checkout origin/$phh )
@@ -48,30 +50,45 @@ repo manifest -r > release/$rom_fp/manifest.xml
48
50
bash " $originFolder " /list-patches.sh
49
51
cp patches.zip release/$rom_fp /patches.zip
50
52
51
- buildVariant treble_arm64_avN-userdebug arm64-aonly-vanilla-nosu
52
- buildVariant treble_arm64_agS-userdebug arm64-aonly-gapps-su
53
- # buildVariant treble_arm64_afS-userdebug arm64-aonly-floss-su
54
- rm -Rf out/target/product/phhgsi*
55
-
56
- buildVariant treble_arm64_bvN-userdebug arm64-ab-vanilla-nosu
57
- buildVariant treble_arm64_bgS-userdebug arm64-ab-gapps-su
58
- # buildVariant treble_arm64_bfS-userdebug arm64-ab-floss-su
59
- rm -Rf out/target/product/phhgsi*
60
-
61
- buildVariant treble_arm_avN-userdebug arm-aonly-vanilla-nosu
62
- [ " $1 " != " android-9.0" ] && buildVariant treble_arm_aoS-userdebug arm-aonly-go-su
63
- buildVariant treble_arm_agS-userdebug arm-aonly-gapps-su
64
- rm -Rf out/target/product/phhgsi*
65
-
66
- buildVariant treble_a64_avN-userdebug arm32_binder64-aonly-vanilla-nosu
67
- buildVariant treble_a64_agS-userdebug arm32_binder64-aonly-gapps-su
68
- rm -Rf out/target/product/phhgsi*
69
-
70
- if [ " $1 " = " android-9.0" ]; then
71
- buildVariant treble_a64_bvN-userdebug arm32_binder64-ab-vanilla-nosu
72
- buildVariant treble_a64_bgS-userdebug arm32_binder64-ab-gapps-su
53
+ if [ " $1 " = " android-10.0" ]; then
54
+ buildVariant treble_arm64_avS-userdebug quack-arm64-aonly
55
+ rm -Rf out/target/product/phhgsi*
56
+ buildVariant treble_arm64_bvS-userdebug quack-arm64-ab
57
+ rm -Rf out/target/product/phhgsi*
58
+ buildVariant treble_arm_avS-userdebug quack-arm-aonly
59
+ rm -Rf out/target/product/phhgsi*
60
+ buildVariant treble_arm_bvS-userdebug quack-arm-ab
61
+ rm -Rf out/target/product/phhgsi*
62
+ buildVariant treble_a64_avS-userdebug quack-arm32_binder64-aonly
63
+ rm -Rf out/target/product/phhgsi*
64
+ buildVariant treble_a64_bvS-userdebug quack-arm32_binder64-ab
65
+ rm -Rf out/target/product/phhgsi*
66
+ else
67
+ buildVariant treble_arm64_avN-userdebug arm64-aonly-vanilla-nosu
68
+ buildVariant treble_arm64_agS-userdebug arm64-aonly-gapps-su
69
+ # buildVariant treble_arm64_afS-userdebug arm64-aonly-floss-su
70
+ rm -Rf out/target/product/phhgsi*
71
+
72
+ buildVariant treble_arm64_bvN-userdebug arm64-ab-vanilla-nosu
73
+ buildVariant treble_arm64_bgS-userdebug arm64-ab-gapps-su
74
+ # buildVariant treble_arm64_bfS-userdebug arm64-ab-floss-su
75
+ rm -Rf out/target/product/phhgsi*
76
+
77
+ buildVariant treble_arm_avN-userdebug arm-aonly-vanilla-nosu
78
+ [ " $1 " != " android-9.0" ] && buildVariant treble_arm_aoS-userdebug arm-aonly-go-su
79
+ buildVariant treble_arm_agS-userdebug arm-aonly-gapps-su
80
+ rm -Rf out/target/product/phhgsi*
81
+
82
+ buildVariant treble_a64_avN-userdebug arm32_binder64-aonly-vanilla-nosu
83
+ buildVariant treble_a64_agS-userdebug arm32_binder64-aonly-gapps-su
84
+ rm -Rf out/target/product/phhgsi*
85
+
86
+ if [ " $1 " = " android-9.0" ]; then
87
+ buildVariant treble_a64_bvN-userdebug arm32_binder64-ab-vanilla-nosu
88
+ buildVariant treble_a64_bgS-userdebug arm32_binder64-ab-gapps-su
89
+ fi
90
+ rm -Rf out/target/product/phhgsi*
73
91
fi
74
- rm -Rf out/target/product/phhgsi*
75
92
76
93
if [ " $release " == true ]; then
77
94
(
0 commit comments