This repository was archived by the owner on Jun 28, 2021. It is now read-only.
forked from adiatul16/aosp-building
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrb.conf
More file actions
47 lines (41 loc) · 1.4 KB
/
rb.conf
File metadata and controls
47 lines (41 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
###
# Configuration file for Rom-Builder
# Adapt it for your rom
# Make sure that values are always inside quotes (single or double)
###
# Sync
ROM_MANIFEST="https://github.com/crdroidandroid/android"
ROM_BRANCH="11.0"
SYNC_ARGUMENTS="-c --no-clone-bundle --no-tags --optimized-fetch --prune --force-sync -j8" # Set arguments in here to use them with sync
# Build
ENABLE_BUILD_CCACHE_ONLY=true # Only build for ccache, rom wont build when enabled
ROM_NAME="Crdroid"
ROM="lineage"
DEVICE="tissot"
TARGET="user"
BUILD_TYPE="OFFICIAL"
PRECOMPILE_METALAVA="true"
BUILD_JOBS="-j24"
MAKE_COMMAND="make bacon ${BUILD_JOBS}" # Enter your full build command inside quotes, ex. mka bacon, blissify tissot, ./rom-build.sh, etc
OUT="${ROM_FOLDER}"/out/target/product/"${DEVICE}"
DOWN_LINK="https://mega.nz/folder/a3wkgACb#1iEbh76mpeWCMJtvnWbEnw"
DOWN_LINK_HOST="Mega"
GEN_OTA_ARTIFACTS="true" # Generate json for ota if set to true (crdroid official)
# Ccache
export CCACHE_DIR=/tmp/ccache
export CCACHE_EXEC=$(which ccache)
export USE_CCACHE=1
ccache -M 20G
ccache -o compression=true
ccache -z
# Exports
export LC_ALL=C
export BUILD_TYPE="${BUILD_TYPE}"
# Git setup
GIT_USERNAME="Sohil876"
GIT_EMAIL="sohil876@gmail.com"
# Telegram group/channel id
CHAT_ID="-387920005"
# Declare BOT_TOKEN="UR_BOT_TOKEN" in .cirrus.yml file after generating encrypted variable for ur token
SEND_SYNC_MESSAGES_TO_TG="false"
SEND_BUILD_MESSAGES_TO_TG="false"