blob: 6df2516ce2fce7060244c8d0cd70b258ec2b84a8 [file] [log] [blame]
Michael W8505f772019-11-17 15:15:11 +01001//
2// Copyright (C) 2019 The LineageOS Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17lineage_sdk_lib_src = "src/java/org/lineageos/lib/"
18
Sam Mortimerfdf52b52020-09-11 19:20:20 -070019java_library {
Michael W8505f772019-11-17 15:15:11 +010020 name: "org.lineageos.lib.phone",
Luca Stefani0a327312021-03-13 16:12:51 +010021 sdk_version: "current",
Michael W8505f772019-11-17 15:15:11 +010022 static_libs: [
23 "libphonenumber",
24 ],
25
26 srcs: [
27 lineage_sdk_lib_src + "/phone/*.java",
Luca Stefani402a3862021-03-12 14:02:54 +010028 ":spn-info",
Michael W8505f772019-11-17 15:15:11 +010029 ],
30}
Luca Stefani34c92672021-03-12 13:54:41 +010031
32// Sensitive Phone Numbers schema
33// =============================================================
34filegroup {
35 name: "spn-schema",
36 srcs: ["SpnInfo.xsd"],
37}
38
39xsd_config {
40 name: "spn-info",
41 srcs: [":spn-schema"],
42 api_dir: "schema",
43 package_name: "org.lineageos.lib.phone.spn",
44}