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

Dive Deep Into AquariOS #93

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion build-dakkar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ ROM types:
carbon
lineage
rr
aquarios
dirtyunicorns
pixel
crdroid
mokee
Expand Down Expand Up @@ -96,6 +98,20 @@ function get_rom_type() {
treble_generate="rr"
extra_make_options="WITHOUT_CHECK_API=true"
;;
aquarios)
mainrepo="https://github.com/AquariOS/manifest.git"
mainbranch="a8.1.0-caf"
localManifestBranch="android-8.1"
treble_generate="aquarios"
extra_make_options="WITHOUT_CHECK_API=true"
;;
dirtyunicorns)
mainrepo="https://github.com/DirtyUnicorns/android_manifest.git"
mainbranch="o8x"
localManifestBranch="android-8.1"
treble_generate="du"
extra_make_options="WITHOUT_CHECK_API=true"
;;
pixel)
mainrepo="https://github.com/PixelExperience/manifest"
mainbranch="oreo-mr1"
Expand Down Expand Up @@ -289,7 +305,6 @@ function build_variant() {
lunch "$1"
make $extra_make_options BUILD_NUMBER="$rom_fp" installclean
make $extra_make_options BUILD_NUMBER="$rom_fp" -j "$jobs" systemimage
make $extra_make_options BUILD_NUMBER="$rom_fp" vndk-test-sepolicy
cp "$OUT"/system.img release/"$rom_fp"/system-"$2".img
}

Expand Down
7 changes: 5 additions & 2 deletions build-rom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mkdir -p release/$rom_fp/
set -e

if [ "$#" -le 1 ];then
echo "Usage: $0 <android-8.1> <carbon|lineage|rr> '# of jobs'"
echo "Usage: $0 <android-8.1> <carbon|lineage|rr|aquarios|dirtyunicorns> '# of jobs'"
exit 0
fi
localManifestBranch=$1
Expand Down Expand Up @@ -40,6 +40,10 @@ elif [ "$rom" == "lineage" ];then
repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
elif [ "$rom" == "rr" ];then
repo init -u https://github.com/ResurrectionRemix/platform_manifest.git -b oreo
elif [ "$rom" == "aquarios" ];then
repo init -u https://github.com/AquariOS/manifest.git -b a8.1.0-caf
elif [ "$rom" == "dirtyunicorns" ];then
repo init -u https://github.com/DirtyUnicorns/android_manifest.git -b o8x
fi

if [ -d .repo/local_manifests ] ;then
Expand Down Expand Up @@ -77,7 +81,6 @@ buildVariant() {
lunch $1
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp installclean
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp -j$jobs systemimage
make WITHOUT_CHECK_API=true BUILD_NUMBER=$rom_fp vndk-test-sepolicy
cp $OUT/system.img release/$rom_fp/system-${2}.img
}

Expand Down