Remove IS_CHROMEOS_LACROS build flag
All uses are gone. Bug: b:354842935, b:365742770, 373971535 Change-Id: If52381bcab05853ff5db6feca5449ce87d7943d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299673 Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Dominic Battré <battre@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1426148}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
d8add19f01
commit
a7f94e6a93
@ -2132,12 +2132,10 @@ _BANNED_CPP_FUNCTIONS: Sequence[BanRule] = (
|
||||
treat_as_error=False,
|
||||
),
|
||||
BanRule(
|
||||
pattern=(r'/IS_CHROMEOS_ASH|'
|
||||
r'IS_CHROMEOS_LACROS'),
|
||||
pattern='IS_CHROMEOS_ASH',
|
||||
explanation=
|
||||
('Lacros is deprecated. Please do not use IS_CHROMEOS_ASH and '
|
||||
'IS_CHROMEOS_LACROS anymore. Instead, remove the code section under '
|
||||
'IS_CHROMEOS_LACROS and use IS_CHROMEOS for ChromeOS-only code.',
|
||||
('IS_CHROMEOS_ASH is deprecated. Please use the equivalent IS_CHROMEOS '
|
||||
'instead (Lacros is gone).',
|
||||
),
|
||||
treat_as_error=False,
|
||||
),
|
||||
|
@ -76,7 +76,6 @@ buildflag_header("chromeos_buildflags") {
|
||||
flags = [
|
||||
"IS_CHROMEOS_DEVICE=$is_chromeos_device",
|
||||
|
||||
"IS_CHROMEOS_LACROS=$is_chromeos_lacros",
|
||||
"IS_CHROMEOS_ASH=$is_chromeos_ash",
|
||||
"IS_CHROMEOS_WITH_HW_DETAILS=$is_chromeos_with_hw_details",
|
||||
"IS_REVEN=$is_reven",
|
||||
|
Reference in New Issue
Block a user