2024-05-02 21:36:20 +02:00
|
|
|
diff --git chrome/common/features.gni chrome/common/features.gni
|
2024-09-27 16:15:44 +02:00
|
|
|
index 276e7fbde552c..1fddfa229eeed 100644
|
2024-05-02 21:36:20 +02:00
|
|
|
--- chrome/common/features.gni
|
|
|
|
+++ chrome/common/features.gni
|
|
|
|
@@ -7,6 +7,7 @@ import("//build/config/chromeos/ui_mode.gni")
|
|
|
|
import("//build/config/compiler/compiler.gni")
|
|
|
|
import("//build/config/dcheck_always_on.gni")
|
|
|
|
import("//build/config/features.gni")
|
|
|
|
+import("//cef/libcef/features/features.gni")
|
|
|
|
import("//components/compose/features.gni")
|
|
|
|
import("//components/nacl/features.gni")
|
2024-08-26 14:44:25 +02:00
|
|
|
import("//components/safe_browsing/buildflags.gni")
|
2024-05-02 21:36:20 +02:00
|
|
|
@@ -31,7 +32,7 @@ assert(use_blink, "Chromium without blink shouldn't use anything in //chrome")
|
|
|
|
declare_args() {
|
|
|
|
# Enables the build to have logging enabled by default.
|
|
|
|
# This is intended for use only in developer builds.
|
|
|
|
- chrome_enable_logging_by_default = is_debug
|
|
|
|
+ chrome_enable_logging_by_default = is_debug || enable_cef
|
|
|
|
|
2024-08-26 14:44:25 +02:00
|
|
|
# Platforms for which Chrome supports a certificate management UI that
|
|
|
|
# shows the Chrome Root Store. This is specific to the v2 UI that is
|
|
|
|
@@ -63,11 +64,13 @@ declare_args() {
|
2024-05-02 21:36:20 +02:00
|
|
|
# optimize_webui was moved to ui/base/ui_features.gni
|
|
|
|
}
|
|
|
|
|
|
|
|
+if (!enable_cef) {
|
|
|
|
# Logging must be disabled by default in all official builds (including special
|
|
|
|
# DCHECK-enabled builds). Logging is enabled by default for debug builds, and
|
|
|
|
# may be selectively enabled by default for release builds.
|
|
|
|
assert(!chrome_enable_logging_by_default || !is_official_build,
|
|
|
|
"Logging must be disabled by default in Official builds")
|
|
|
|
+}
|
|
|
|
|
|
|
|
# Use brlapi from brltty for braille display support.
|
|
|
|
use_brlapi = is_chromeos_ash
|