-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced lint-suppressions.xml.patch with python chromium_src override (
#27020) * Replaced lint-suppressions.xml.patch with python chromium_src override
- Loading branch information
1 parent
9a78fff
commit 04da656
Showing
4 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
chromium_src/chrome/android/expectations/lint-suppressions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) 2024 The Brave Authors. All rights reserved. | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
You can obtain one at https://mozilla.org/MPL/2.0/. | ||
--> | ||
<lint> | ||
<issue id="ExportedService" severity="ignore" /> | ||
<issue id="DuplicateDefinition"> | ||
<ignore regexp="chrome/android/java/res/values/brave_colors.xml" /> | ||
</issue> | ||
<issue id="StringFormatCount"> | ||
<ignore regexp="sponsored_images_bottom_sheet_text" /> | ||
<ignore regexp="notification_marketing" /> | ||
<ignore regexp="renew_monthly_save" /> | ||
<ignore regexp="wallet_swap_fees_notice" /> | ||
<ignore regexp="processing_fee" /> | ||
</issue> | ||
<issue id="WrongConstant"> | ||
<ignore regexp="ContentSettingsType.BRAVE_CONTENT_SETTINGS_TYPES_LIST" /> | ||
</issue> | ||
<issue id="UnusedResources"> | ||
<ignore regexp="The resource `R.string.playlist_.*` appears to be unused" /> | ||
<ignore regexp="The resource `R.string.new_tab_otr.*` appears to be unused" /> | ||
<ignore regexp="The resource `R.dimen.md_incognito_ntp.*` appears to be unused" /> | ||
<ignore regexp="The resource `R.layout.incognito.*` appears to be unused" /> | ||
<ignore regexp="The resource `R.layout.logo_view_layout` appears to be unused" /> | ||
<ignore regexp="The resource `R.style.*_BrowserUI_Switch_Incognito` appears to be unused" /> | ||
<ignore regexp="The resource `R.style.CardTransparentForDark` appears to be unused" /> | ||
<ignore regexp="The resource `R.dimen.toolbar_hairline_height` appears to be unused" /> | ||
<ignore | ||
regexp="The resource `R.style.TextAppearance_IncognitoNewTabLearnMoreLinkModern` appears to be unused" /> | ||
</issue> | ||
<issue id="UnsafeOptInUsageError"> | ||
<ignore regexp='(markerClass = androidx.media3.common.util.UnstableApi.class)' /> | ||
</issue> | ||
</lint> |
10 changes: 0 additions & 10 deletions
10
patches/chrome-android-expectations-lint-suppressions.xml.patch
This file was deleted.
Oops, something went wrong.