| Flag |
Description |
| X |
|
| bluetooth |
Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome. |
| clang |
Use Clang compiler instead of GCC |
| cpu_flags_arm_neon |
|
| cpu_flags_ppc_vsx3 |
|
| cups |
|
| custom-cflags |
|
| dev-dependencies |
Keep Electron's devDependencies. This makes them available in node_modules. For example "asar" utility is one of them. |
| gtk4 |
Build with GTK4 headers |
| hangouts |
Enable support for Google Hangouts features such as screen sharing |
| hevc |
Enable HEVC decoding support. Should work with system-ffmpeg, but might require additional patching for the built-in one. |
| js-type-check |
Enable JavaScript type-checking for Chrome's web technology-based UI. Requires Java. |
| kerberos |
|
| libcxx |
Use bundled C++ Standard Library (libc++) |
| nvidia |
Use libXNVCtrl library from <pkg>x11-drivers/nvidia-drivers</pkg> instead of the bundled one |
| optimize-thinlto |
Whether to enable ThinLTO optimizations. Turning ThinLTO optimizations on can substantially increase link time and binary size, but they generally also make binaries a fair bit faster. |
| optimize-webui |
Optimize parts of Chromium's UI written with web technologies (HTML/CSS/JS) for runtime performance purposes. This does more work at compile time for speed benefits at runtime. |
| pax-kernel |
Allow building on a PaX-enabled kernel |
| pgo |
Enable PGO. Requires bundled binary profile data in sources tree. Often requires masked/testing llvm. |
| pic |
Disable optimized assembly code that is not PIC friendly |
| proprietary-codecs |
Enable proprietary codecs like H.264, MP3 |
| pulseaudio |
|
| screencast |
Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg> |
| suid |
Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels |
| system- |
|
| system-abseil-cpp |
Use the system <pkg>dev-cpp/abseil-cpp</pkg> instead of the bundled one |
| system-av1 |
Use the system <pkg>media-libs/libaom</pkg> and <pkg>media-libs/dav1d</pkg> instead of the bundled ones |
| system-brotli |
Use the system <pkg>app-arch/brotli</pkg> instead of the bundled one |
| system-crc32c |
Use the system <pkg>dev-libs/crc32c</pkg> instead of the bundled one |
| system-double-conversion |
Use the system <pkg>dev-libs/double-conversion</pkg> instead of the bundled one |
| system-ffmpeg |
Use the system <pkg>media-video/ffmpeg</pkg> instead of the bundled one |
| system-harfbuzz |
Use the system <pkg>media-libs/harfbuzz</pkg> instead of the bundled one |
| system-icu |
Use the system <pkg>dev-libs/icu</pkg> instead of the bundled one |
| system-jsoncpp |
Use the system <pkg>dev-libs/jsoncpp</pkg> instead of the bundled one |
| system-libevent |
Use the system <pkg>dev-libs/libevent</pkg> instead of the bundled one |
| system-libusb |
Use the system <pkg>dev-libs/libusb</pkg> instead of the bundled one |
| system-libvpx |
Use the system <pkg>media-libs/libvpx</pkg> instead of the bundled one |
| system-openh264 |
Use the system <pkg>media-libs/openh264</pkg> instead of the bundled one. If disabled, it will restrict USE=bindist. |
| system-openjpeg |
Use the system-wide <pkg>media-libs/openjpeg</pkg> instead of the bundled one. OpenJPEG use are exclusively for Chromium's PDF viewer. |
| system-png |
Use system libpng instead of the bundled one |
| system-re2 |
Use the system-wide <pkg>dev-libs/re2</pkg> instead of the bundled one |
| system-snappy |
Use the system-wide <pkg>app-arch/snappy</pkg> instead of the bundled one |
| system-woff2 |
Use the system <pkg>media-libs/woff2</pkg> instead of the bundled one |
| system-zstd |
Use the system <pkg>app-arch/zstd</pkg> instead of the bundled one |
| thinlto |
Build with ThinLTO support. LTO (Link Time Optimization) achieves better runtime performance through whole-program analysis and cross-module optimization (highly recommended). |
| ungoogled |
Apply ungoogled-chromium modifications to chromium sources (electron sources are not modified be it better or worse). Might break electron apps or electron itself! |
| vaapi |
|
| wayland |
|