-
Notifications
You must be signed in to change notification settings - Fork 0
/
dumpling.sh
56 lines (46 loc) · 1.54 KB
/
dumpling.sh
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
48
49
50
51
52
53
54
55
56
#!/bin/bash
#
# Copyright (C) 2015-2017, OwnDroid <owndroid26@gmail.com>
#
# This software is licensed under the terms of the GNU General Public
# License version 2, as published by the Free Software Foundation, and
# may be copied, distributed, and modified under those terms.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Please maintain this if you use this script or any part of it
#
# source envsetup
echo Start envsetup.sh
. build/envsetup.sh
# breakfast
echo Preparing Device: dumpling
breakfast dumpling
# Make UNOFFICIAL
echo Set Build Type to UNOFFICIAL
export OWNROM_BUILDTYPE=UNOFFICIAL
# Setting out dir to SSD
echo Setting out dir to SSD
export OUT_DIR_COMMON_BASE=/home/owndroid/Bureaublad/OwnOUT
# Check breakfast again
echo Check OWNROM_VERSION= to be sure!
echo Check OUT_DIR= to be sure!
breakfast angler
# Turn on CCACHE
echo Turning on CCACHE
export USE_CCACHE=1
# Make the Stars Fall!
echo Falling Stars
echo export I_WANT_A_QUAIL_STAR=true
export I_WANT_A_QUAIL_STAR=true
# fix jack server heap size error
echo Fixing jack server heap size error
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx16g"
# restart jack to apply updates
echo Restartig jack server to apply updates!
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server
echo Finished now make a damn build!!!