From b49ba700a7f32c7f3d1f80ca5d763e6d36c1cfcc Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 20 Mar 2024 08:41:55 +0100 Subject: [PATCH] Remove Compose from build --- build/patches/Disable-Compose-feature.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build/patches/Disable-Compose-feature.patch b/build/patches/Disable-Compose-feature.patch index a1d5b741..75cea708 100644 --- a/build/patches/Disable-Compose-feature.patch +++ b/build/patches/Disable-Compose-feature.patch @@ -5,7 +5,8 @@ Subject: Disable Compose feature License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html --- components/compose/core/browser/compose_features.cc | 3 +++ - 1 file changed, 3 insertions(+) + components/compose/features.gni | 2 +- + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/compose/core/browser/compose_features.cc b/components/compose/core/browser/compose_features.cc --- a/components/compose/core/browser/compose_features.cc @@ -18,4 +19,14 @@ diff --git a/components/compose/core/browser/compose_features.cc b/components/co +SET_CROMITE_FEATURE_DISABLED(kEnableCompose); +SET_CROMITE_FEATURE_DISABLED(kComposeEligible); } // namespace compose::features +diff --git a/components/compose/features.gni b/components/compose/features.gni +--- a/components/compose/features.gni ++++ b/components/compose/features.gni +@@ -4,5 +4,5 @@ + + declare_args() { + # Whether Compose is enabled in the build. +- enable_compose = is_mac || is_win || is_linux ++ enable_compose = false + } --