Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android 10 base, and fixing bugs #773

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
181 changes: 176 additions & 5 deletions build-dakkar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,51 @@ Options:
ROM types:

aex-pie
aex10
aicp-oreo
aicp10
aokp-oreo
aokp-pie
aokp10
aosmp-pie
aosmp10
aospa
aosp80
aosp81
aosp90
aosp10
aquarios
carbon-oreo
carbon10
crdroid-oreo
crdroid10
bootleggers
e-pie
e-oreo
havoc-pie
havoc10
komodo-pie
komodo10
lineage151
lineage160
lineage170
mokee-oreo
mokee10
pixel81
pixel90
pixel10
potato-pie
potato10
rebellion-pie
rebellion10
rr-oreo
rr10
slim-oreo
slim-pie
slim10
graphene9
graphene10
atom

Variants are dash-joined combinations of (in order):
* processor type
Expand Down Expand Up @@ -92,31 +112,31 @@ function get_rom_type() {
mainrepo="https://android.googlesource.com/platform/manifest.git"
mainbranch="android-vts-8.0_r4"
localManifestBranch="master"
treble_generate=""
treble_generate="aosp"
extra_make_options=""
jack_enabled="true"
;;
aosp81)
mainrepo="https://android.googlesource.com/platform/manifest.git"
mainbranch="android-8.1.0_r48"
localManifestBranch="android-8.1"
treble_generate=""
treble_generate="aosp"
extra_make_options=""
jack_enabled="true"
;;
aosp90)
mainrepo="https://android.googlesource.com/platform/manifest.git"
mainbranch="android-9.0.0_r21"
localManifestBranch="android-9.0"
treble_generate=""
treble_generate="aosp"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no vendor/aosp...?

extra_make_options=""
jack_enabled="false"
;;
aosp10)
mainrepo="https://android.googlesource.com/platform/manifest.git"
mainbranch="android-10.0.0_r2"
localManifestBranch="android-10.0"
treble_generate=""
treble_generate="aosp"
extra_make_options=""
jack_enabled="false"
;;
Expand All @@ -128,6 +148,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
carbon10)
mainrepo="https://github.com/CarbonROM/android.git"
mainbranch="cr-8.0"
localManifestBranch="android-10.0"
treble_generate="carbon"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
e-pie)
mainrepo="https://gitlab.e.foundation/e/os/android/"
mainbranch="v1-pie"
Expand Down Expand Up @@ -160,6 +188,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
lineage170)
mainrepo="https://github.com/LineageOS/android.git"
mainbranch="lineage-17.0"
localManifestBranch="android-10.0"
treble_generate="lineage"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
rr-oreo)
mainrepo="https://github.com/ResurrectionRemix/platform_manifest.git"
mainbranch="oreo"
Expand All @@ -168,6 +204,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
rr10)
mainrepo="https://github.com/ResurrectionRemix/platform_manifest.git"
mainbranch="10"
localManifestBranch="android-10.0"
treble_generate="rr"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
pixel81)
mainrepo="https://github.com/PixelExperience/manifest.git"
mainbranch="oreo-mr1"
Expand All @@ -184,6 +228,15 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
pixel10)
mainrepo="https://github.com/PixelExperience/manifest.git"
mainbranch="10"
localManifestBranch="android-10.0"
treble_generate="pixel"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;

potato-pie)
mainrepo="https://github.com/PotatoProject/manifest.git"
mainbranch="baked-release"
Expand All @@ -192,6 +245,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
potato10)
mainrepo="https://github.com/PotatoProject/manifest.git"
mainbranch="croquette-release"
localManifestBranch="android-10.0"
treble_generate="potato"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
crdroid-oreo)
mainrepo="https://github.com/crdroidandroid/android.git"
mainbranch="8.1"
Expand All @@ -200,6 +261,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
crdroid10)
mainrepo="https://github.com/crdroidandroid/android.git"
mainbranch="10.0"
localManifestBranch="android-10.0"
treble_generate="crdroid"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
mokee-oreo)
mainrepo="https://github.com/mokee/android.git"
mainbranch="mko-mr1"
Expand All @@ -208,6 +277,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
mokee10)
mainrepo="https://github.com/mokee/android.git"
mainbranch="mkq"
localManifestBranch="android-10.0"
treble_generate="mokee"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aicp-oreo)
mainrepo="https://github.com/AICP/platform_manifest.git"
mainbranch="o8.1"
Expand All @@ -216,6 +293,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aicp10)
mainrepo="https://github.com/AICP/platform_manifest.git"
mainbranch="q10.0"
localManifestBranch="android-10.0"
treble_generate="aicp"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aokp-oreo)
mainrepo="https://github.com/AOKP/platform_manifest.git"
mainbranch="oreo"
Expand All @@ -224,6 +309,22 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aokp-pie)
mainrepo="https://github.com/AOKP/platform_manifest.git"
mainbranch="pie"
localManifestBranch="android-9.0"
treble_generate="aokp"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aokp10)
mainrepo="https://github.com/AOKP/platform_manifest.git"
mainbranch="10"
localManifestBranch="android-10.0"
treble_generate="aokp"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
aex-pie)
mainrepo="https://github.com/AospExtended/manifest.git"
mainbranch="9.x"
Expand All @@ -232,6 +333,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
aex10)
mainrepo="https://github.com/AospExtended/manifest.git"
mainbranch="10.x"
localManifestBranch="android-10.0"
treble_generate="aex"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
slim-oreo)
mainrepo="https://github.com/SlimRoms/platform_manifest.git"
mainbranch="or8.1"
Expand All @@ -240,6 +349,22 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
slim-pie)
mainrepo="https://github.com/SlimRoms/platform_manifest.git"
mainbranch="9.0"
localManifestBranch="android-9.0"
treble_generate="slim"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
slim10)
mainrepo="https://github.com/SlimRoms/platform_manifest.git"
mainbranch="10.0"
localManifestBranch="android-10.0"
treble_generate="slim"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="true"
;;
havoc-pie)
mainrepo="https://github.com/Havoc-OS/android_manifest.git"
mainbranch="pie"
Expand All @@ -248,14 +373,30 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
havoc-10)
mainrepo="https://github.com/Havoc-OS/android_manifest.git"
mainbranch="10"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its "ten" branch in the Havoc manifest repo not "10".

localManifestBranch="android-10.0"
treble_generate="havoc"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
komodo-pie)
mainrepo="https://github.com/KomodOS-Rom/platform_manifest.git"
mainbranch="pie"
mainbranch="pie-gsi"
localManifestBranch="android-9.0"
treble_generate="komodo"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
komodo10)
mainrepo="https://github.com/KomodOS-Rom/platform_manifest.git"
mainbranch="10"
localManifestBranch="android-10.0"
treble_generate="komodo"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
rebellion-pie)
mainrepo="https://github.com/RebellionOS/manifest.git"
mainbranch="pie"
Expand All @@ -272,6 +413,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
aquarios10)
mainrepo="https://github.com/aquarios/manifest.git"
mainbranch="x"
localManifestBranch="android-10.0"
treble_generate="aquarios"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
aosmp-pie)
mainrepo="https://gitlab.com/AOSmP/android_manifest.git"
mainbranch="pie"
Expand All @@ -280,6 +429,14 @@ function get_rom_type() {
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
aosmp10)
mainrepo="https://gitlab.com/AOSmP/android_manifest.git"
mainbranch="ten"
localManifestBranch="android-10.0"
treble_generate="aosmp"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
;;
graphene9)
mainrepo="https://github.com/GrapheneOS/platform_manifest.git"
mainbranch="pie"
Expand All @@ -295,6 +452,20 @@ function get_rom_type() {
treble_generate="graphene"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
aospa)
mainrepo="https://github.com/AOSPA/manifest.git"
mainbranch="quartz"
localManifestBranch="android-10.0"
treble_generate="aospa"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"
atom)
mainrepo="https://github.com/Atom-OS/frameworks_base.git"
mainbranch="android-10.0"
localManifestBranch="android-10.0"
treble_generate="atom"
extra_make_options="WITHOUT_CHECK_API=true"
jack_enabled="false"

esac
shift
Expand Down