Michael W | 8505f77 | 2019-11-17 15:15:11 +0100 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | lineage_sdk_lib_src = "src/java/org/lineageos/lib/" |
| 18 | |
Sam Mortimer | fdf52b5 | 2020-09-11 19:20:20 -0700 | [diff] [blame] | 19 | java_library { |
Michael W | 8505f77 | 2019-11-17 15:15:11 +0100 | [diff] [blame] | 20 | name: "org.lineageos.lib.phone", |
Luca Stefani | 0a32731 | 2021-03-13 16:12:51 +0100 | [diff] [blame] | 21 | sdk_version: "current", |
Michael W | 8505f77 | 2019-11-17 15:15:11 +0100 | [diff] [blame] | 22 | static_libs: [ |
| 23 | "libphonenumber", |
| 24 | ], |
| 25 | |
| 26 | srcs: [ |
| 27 | lineage_sdk_lib_src + "/phone/*.java", |
Luca Stefani | 402a386 | 2021-03-12 14:02:54 +0100 | [diff] [blame] | 28 | ":spn-info", |
Michael W | 8505f77 | 2019-11-17 15:15:11 +0100 | [diff] [blame] | 29 | ], |
| 30 | } |
Luca Stefani | 34c9267 | 2021-03-12 13:54:41 +0100 | [diff] [blame] | 31 | |
| 32 | // Sensitive Phone Numbers schema |
| 33 | // ============================================================= |
| 34 | filegroup { |
| 35 | name: "spn-schema", |
| 36 | srcs: ["SpnInfo.xsd"], |
| 37 | } |
| 38 | |
| 39 | xsd_config { |
| 40 | name: "spn-info", |
| 41 | srcs: [":spn-schema"], |
| 42 | api_dir: "schema", |
| 43 | package_name: "org.lineageos.lib.phone.spn", |
| 44 | } |