Add schema validation to custom lint check
Test: atest ConfigLintCheckerTest --host
Test: m
out/soong/.intermediates/packages/modules/Permission/SafetyCenter/Resources/SafetyCenterResources/android_common/lint/lint-report.html
Bug: 220722371
Change-Id: Ia778bb86b33e0aeabc3c0949aa51d7c418df4024
diff --git a/framework-s/Android.bp b/framework-s/Android.bp
index 6be71d4..ec33f13 100644
--- a/framework-s/Android.bp
+++ b/framework-s/Android.bp
@@ -33,6 +33,13 @@
visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
}
+filegroup {
+ name: "safetycenter-config-schema",
+ srcs: ["java/android/safetycenter/config/safety_center_config.xsd"],
+ path: "java/android/safetycenter/config/",
+ visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
+}
+
java_library {
name: "framework-permission-s-shared",
srcs: [":framework-permission-s-shared-srcs"],