lineage-sdk: Import SPN schema
* Will be used to verify SPN xml at build time
and to automatically generate a C++/Java parser
Change-Id: Ic401c01b74a958b2e813f986725e6c677febabfb
diff --git a/lib/Android.bp b/lib/Android.bp
index fd31b84..1fac127 100644
--- a/lib/Android.bp
+++ b/lib/Android.bp
@@ -27,3 +27,17 @@
lineage_sdk_lib_src + "/phone/*.java",
],
}
+
+// Sensitive Phone Numbers schema
+// =============================================================
+filegroup {
+ name: "spn-schema",
+ srcs: ["SpnInfo.xsd"],
+}
+
+xsd_config {
+ name: "spn-info",
+ srcs: [":spn-schema"],
+ api_dir: "schema",
+ package_name: "org.lineageos.lib.phone.spn",
+}