diff options
author | Cole Faust <colefaust@google.com> | 2023-12-21 22:02:10 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-12-21 22:02:10 +0000 |
commit | c9dcd9f07bd4a72880db09527207b2763eac5ecf (patch) | |
tree | 06d842f182357f9d287f4e8380ec92d95b37a57d | |
parent | b22768f5b8bb14d4acdfec6cd9e6cba688f89cc2 (diff) | |
parent | 563afa53b1f7c17a7fecc1a0f03411c0cac8d108 (diff) | |
download | DocumentsUI-c9dcd9f07bd4a72880db09527207b2763eac5ecf.tar.gz |
List baseline_filename on modules that are implititly using it am: 563afa53b1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/DocumentsUI/+/2886428
Change-Id: Ic48026f6b1cd25439279199715c4e6bc2886ed88
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp index 598beb6dd..7a8181da6 100644 --- a/Android.bp +++ b/Android.bp @@ -60,7 +60,9 @@ java_defaults { sdk_version: "system_current", min_sdk_version: "29", - lint: { strict_updatability_linting: true } + lint: { + strict_updatability_linting: true, + }, } platform_compat_config { @@ -72,7 +74,7 @@ filegroup { name: "DocumentsUI-srcs", srcs: [ "src/**/*.java", - ":statslog-docsui-java-gen", + ":statslog-docsui-java-gen", ], } @@ -81,14 +83,17 @@ java_library { srcs: [ ":statslog-docsui-java-gen", ], - lint: { strict_updatability_linting: true } + lint: { + strict_updatability_linting: true, + baseline_filename: "lint-baseline.xml", + }, } genrule { name: "statslog-docsui-java-gen", tools: ["stats-log-api-gen"], cmd: "$(location stats-log-api-gen) --java $(out) --module docsui" + - " --javaPackage com.android.documentsui --javaClass DocumentsStatsLog --minApiLevel 29", + " --javaPackage com.android.documentsui --javaClass DocumentsStatsLog --minApiLevel 29", out: ["com/android/documentsui/DocumentsStatsLog.java"], } @@ -113,7 +118,10 @@ android_library { sdk_version: "system_current", target_sdk_version: "33", min_sdk_version: "29", - lint: { strict_updatability_linting: true } + lint: { + strict_updatability_linting: true, + baseline_filename: "lint-baseline.xml", + }, } android_library { @@ -143,7 +151,10 @@ android_library { sdk_version: "system_current", target_sdk_version: "33", min_sdk_version: "29", - lint: { strict_updatability_linting: true } + lint: { + strict_updatability_linting: true, + baseline_filename: "lint-baseline.xml", + }, } android_app { @@ -170,6 +181,8 @@ android_app { min_sdk_version: "29", updatable: true, - lint: { strict_updatability_linting: true } + lint: { + strict_updatability_linting: true, + baseline_filename: "lint-baseline.xml", + }, } - |