Drop cros-debug eclass and USE flag

The small eclass was not used anywhere. The USE flag was enabled
profile-wide but was only used by the update_engine package. We can just
add a regular "debug" USE flag to this package that is enabled by
default instead.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-06-14 15:08:43 +01:00
parent ab4e709fa6
commit 7f151af41d
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
3 changed files with 3 additions and 18 deletions

View File

@ -21,7 +21,7 @@ SRC_URI=""
LICENSE="BSD"
SLOT="0"
IUSE="cros-debug cros_host -delta_generator symlink-usr"
IUSE="cros_host +debug -delta_generator symlink-usr"
RDEPEND="!coreos-base/coreos-installer
app-arch/bzip2
@ -62,7 +62,7 @@ src_configure() {
append-flags -Wno-unused-function
local myconf=(
$(use_enable cros-debug debug)
$(use_enable debug)
$(use_enable delta_generator)
)

View File

@ -1,15 +0,0 @@
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
#
# Original Author: The Chromium OS Authors <chromium-os-dev@chromium.org>
# Purpose: Set -DNDEBUG if the cros-debug USE flag is not defined.
#
inherit flag-o-matic
IUSE="cros-debug"
cros-debug-add-NDEBUG() {
use cros-debug || append-flags -DNDEBUG
}

View File

@ -1,7 +1,7 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
USE="cros-debug acpi usb symlink-usr cryptsetup policykit"
USE="acpi usb symlink-usr cryptsetup policykit"
USE="${USE} -split-usr -cros_host -expat -cairo -X -man"
USE="${USE} -acl -gpm -python"
USE="${USE} -fortran -abiword -perl -cups -poppler-data"