forked from berkley4/ungoogled-chromium-debian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure-variables.txt
105 lines (74 loc) · 3.67 KB
/
configure-variables.txt
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<OPTION> <DEFAULT> <DESCRIPTION>
## General options
AUTHOR "ungoogled-chromium Maintainers <[email protected]>"
RELEASE unstable
VERSION <version> When unset the version is made via chromium_version.txt and
revision.txt from debian/submodules/ungoogled-chromium
LTO_DIR <dir> Default iis <source root>/out/Release/thinlto-cache
SYS_CLANG 0 Use in-tree chromium clang/llvm binaries
1 Use clang installed in /usr/local (self built)
2 Use a system clang package (eg from apt.llvm.org)
C_VER <version> Override the default clang version (for use with SYS_CLANG > 0)
The script default is hardcoded to that of the bundled copy
PGO 1 Enable/disable building with PGO profile optimisation
POLICIES 0 Install /etc/chromium/policies/managed/policies.json
STABLE 0 By default an unstable version is built
TARBALL 0 Use tarball download instead of git
DL_CACHE <dir> Default is ../download_cache (relative to root of source tree)
Active when TARBALL=1.
## Components that can be enabled/disabled via patches
ATK_DBUS 1 D-Bus support (for bluetooth)
CATAPULT 1 Catapult profiling support
TRANSLATE 1 Google translate support
0 - disable
1 - enable (need to edit /etc/chromium.d/google-translate)
2 - enable completely
## Enable/Disable features/components/patches
DRIVER 1 Chromedriver package
CLICK_TO_CALL 1 Feature for using chromium to make a call via an android phone
EXT_TOOLS_MENU 1 Move the extensions menu to the 'More tools' menu
FEED 1 WebFeed (News feed) support
MUTEX_PI 1 Mutex priority inheritance
NOTIFICATIONS 1 System notifications
OAUTH2 0 Enable OAuth 2.0 client switches
OOP_PR 0 Out of process printing (X11 only)
OZONE_WAYLAND 1 Wayland ozone platform
PDF_JS 0 PDF javascript support
PIPEWIRE 1
PULSE 1
QT 1 Runtime autodetected (eg Gnome desktops will ignore)
SKIA_GAMMA 0 Use a gamma value of 2.2 for text blitting
SPEECH 1 Speech service (voice recognition)
SUPERVISED_USER 0 Parental control related component
VR 0 Virtual reality hardware support
WEBGPU 0 Not enabled upstream on linux yet (likely beta quality)
WIDEVINE 1 Needs various extra components to enable
X11_ONLY 0 When enabled is an alias for OOP_PR=1 and OZONE_WAYLAND=0
## Libraries
OPENH264 1
VAAPI 1
SYS_FREETYPE 0 Needed for system fontconfig; dependencies: brotli and libpng
SYS_ICU 1
SYS_JPEG 1
# Unsupported
SYS_FFMPEG 0 Unsupported upstream for security reasons
Functional issues (eg media not playing)
Only enable if you have patched and rebuilt your system ffmpeg
## CPU threading options
LTO_JOBS 0 <0-99> : number of threads to use for linking (with lld)
XZ_EXTREME 0 Extreme xz (deb) compression strategy
XZ_THREADED 0 Multi-threaded xz compression (number of threads = $JOBS)
Enabled by default if XZ_EXTREME=1 (unless force-disabled)
## CPU architecture/instructions and optimisations
MARCH x86-64-v2 Matches MTUNE if MTUNE is set and MARCH is not specified
Will not match MTUNE if MTUNE is set to generic
Setting MARCH to generic will reset MARCH and MTUNE to their defaults
MTUNE generic Matches MARCH if MARCH is set and MTUNE is not specified
Will be set to generic if MARCH is an x86-64 microarchitecture level
AES_PCLMUL 1 Intel Westmere/AMD Jaguar (might be missing on some earlier/lower end)
AVX 1 Intel Sandybridge/AMD Bulldozer era (circa 2011) onwards
AVX2 1 Intel Haswell/AMD Excavator or newer
RTC_AVX2 1 AVX2 for RTC (builds and runs on non-AVX2 capable hosts)
V8_AVX2 1 AVX2 for v8 javascript (builds and runs on non-AVX2 capable hosts)
POLLY_VEC 1 Polly vectorisation (oportunistic vector instruction optimisation)
POLLY_EXT 1 Polly extra compile optimisations