| Flag |
Description |
| api-proposals |
Enable API proposals !WARNING! Enabling them might be forbidden by Microsoft licensing terms! |
| badge-providers |
Allow various badge providers |
| build-online |
Disable network-sandbox and open Pandora's box! |
| electron-19 |
Build against electron-19 instead of the default one. Use at your own risk! |
| electron-20 |
Build against electron-20 instead of the default one. Use at your own risk! |
| electron-21 |
Build against electron-21 instead of the default one. Use at your own risk! |
| electron-22 |
Build against electron-22 instead of the default one. Use at your own risk! |
| electron-23 |
Build against electron-23 instead of the default one. Use at your own risk! |
| electron-24 |
Build against electron-24 instead of the default one. Use at your own risk! |
| electron-25 |
Build against electron-25 instead of the default one. Use at your own risk! |
| electron-26 |
Build against electron-26 instead of the default one. Use at your own risk! |
| electron-27 |
Build against electron-27 instead of the default one. Use at your own risk! |
| electron-28 |
Build against electron-28 instead of the default one. Use at your own risk! |
| electron-29 |
Build against electron-29 instead of the default one. Use at your own risk! |
| electron-30 |
Build against electron-30 instead of the default one. Use at your own risk! |
| electron-31 |
Build against electron-31 instead of the default one. Use at your own risk! |
| electron-32 |
Build against electron-32 instead of the default one. Use at your own risk! |
| openvsx |
Use Eclipse Open VSX instead of Visual Studio Marketplace |
| reh |
Build Remote Extension Host |
| reh-web |
Build Remote Extension Host for Web |
| substitute-urls |
Even though telemetry is disabled by default in this ebuild, one might want to replace telemetry reporting urls with 0.0.0.0 |
| temp-fix |
Enable this if vscode does not build for you by default, this could help |
| Flag |
Description |
| bluetooth |
Enable Bluetooth. Disabling bluetooth does break WebAuthn. Could also break something else. Improved patch is welcome. |
| cpu_flags_arm_neon |
|
| 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. |
| 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-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 untouched be it better or worse). Not yet thoroughly tested! Might break electron apps or electron itself! |
| vaapi |
|
| wayland |
|