Merge "303434307: Enable flagged API checking" into main am: 2624653aa9
am: 142049d248
am: 6cd2ac1d2d
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2864659 Change-Id: Id0fae5a7af67a7bba7ccd3344c71d2726e941593 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
db119527fd
2 changed files with 5 additions and 0 deletions
|
@ -491,6 +491,7 @@ func (l *linter) lint(ctx android.ModuleContext) {
|
|||
|
||||
cmd.BuiltTool("lint").ImplicitTool(ctx.Config().HostJavaToolPath(ctx, "lint.jar")).
|
||||
Flag("--quiet").
|
||||
Flag("--include-aosp-issues").
|
||||
FlagWithInput("--project ", lintPaths.projectXML).
|
||||
FlagWithInput("--config ", lintPaths.configXML).
|
||||
FlagWithOutput("--html ", html).
|
||||
|
|
|
@ -122,6 +122,10 @@
|
|||
--warning_check RemoteViewLayout
|
||||
--warning_check SupportAnnotationUsage
|
||||
--warning_check UniqueConstants
|
||||
--warning_check UseSdkSuppress
|
||||
# TODO(b/303434307) The intent is for this to be set to error severity
|
||||
# once existing violations are cleaned up
|
||||
--warning_check FlaggedApi
|
||||
|
||||
--warning_check ExactAlarm
|
||||
--warning_check ExpiredTargetSdkVersion
|
||||
|
|
Loading…
Reference in a new issue