From 907b32ebdcf27d8c0eed5503bdc7904593a59250 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Fri, 22 Jul 2022 10:06:34 -0700 Subject: [PATCH] Disable AndroidFrameworkLintCheckerTest Andorid lint was updated, and now includes some prebuilt classes compiled for java 15. The soong build doesn't support java 15 yet, so we can't have modules that compile against lint right now. Bug: 239881504 Bug: 236431222 Test: Presubmits Change-Id: Idc85e23438c1c5b1e7862312298e14e96cf2213e --- tools/lint/Android.bp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/lint/Android.bp b/tools/lint/Android.bp index 3458359273b89..2601041455050 100644 --- a/tools/lint/Android.bp +++ b/tools/lint/Android.bp @@ -34,6 +34,12 @@ java_library_host { java_test_host { name: "AndroidFrameworkLintCheckerTest", + // TODO(b/239881504): Since this test was written, Android + // Lint was updated, and now includes classes that were + // compiled for java 15. The soong build doesn't support + // java 15 yet, so we can't compile against "lint". Disable + // the test until java 15 is supported. + enabled: false, srcs: ["checks/src/test/java/**/*.kt"], static_libs: [ "AndroidFrameworkLintChecker",