Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 1 | // Copyright 2019 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // Build the Phone app which includes the emergency dialer. See Contacts |
| 16 | // for the 'other' dialer. |
| 17 | |
Bob Badour | 1fcc3d7 | 2021-02-12 18:21:19 -0800 | [diff] [blame] | 18 | package { |
| 19 | default_applicable_licenses: ["packages_services_Telephony_license"], |
| 20 | } |
| 21 | |
| 22 | // Added automatically by a large-scale-change |
| 23 | // See: http://go/android-license-faq |
| 24 | license { |
| 25 | name: "packages_services_Telephony_license", |
| 26 | visibility: [":__subpackages__"], |
| 27 | license_kinds: [ |
| 28 | "SPDX-license-identifier-Apache-2.0", |
| 29 | ], |
| 30 | license_text: [ |
| 31 | "NOTICE", |
| 32 | ], |
| 33 | } |
| 34 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 35 | android_app { |
Amit Mahajan | 750fe99 | 2020-02-05 01:41:40 +0000 | [diff] [blame] | 36 | name: "TeleService", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 37 | |
| 38 | libs: [ |
| 39 | "telephony-common", |
| 40 | "voip-common", |
| 41 | "ims-common", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 42 | "libprotobuf-java-lite", |
Rambo Wang | 1bf0afc | 2021-06-25 11:53:44 -0700 | [diff] [blame] | 43 | "app-compat-annotations", |
Artur Satayev | 6cbe450 | 2019-12-17 19:12:03 +0000 | [diff] [blame] | 44 | "unsupportedappusage", |
Hall Liu | e31bac6 | 2020-12-23 19:16:10 -0800 | [diff] [blame] | 45 | "org.apache.http.legacy", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 46 | ], |
| 47 | |
| 48 | static_libs: [ |
| 49 | "androidx.appcompat_appcompat", |
| 50 | "androidx.preference_preference", |
| 51 | "androidx.recyclerview_recyclerview", |
| 52 | "androidx.legacy_legacy-preference-v14", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 53 | "android-support-annotations", |
| 54 | "com.android.phone.common-lib", |
Meng Wang | ef66c33 | 2019-11-14 11:23:55 -0800 | [diff] [blame] | 55 | "guava", |
| 56 | "PlatformProperties", |
Chiachang Wang | 691c29c | 2020-11-04 10:59:17 +0800 | [diff] [blame] | 57 | "modules-utils-os", |
Hall Liu | e31bac6 | 2020-12-23 19:16:10 -0800 | [diff] [blame] | 58 | "nist-sip", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 59 | ], |
| 60 | |
| 61 | srcs: [ |
Malcolm Chen | 1521ab1 | 2020-01-14 19:15:04 -0800 | [diff] [blame] | 62 | ":framework-telephony-common-shared-srcs", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 63 | "src/**/*.java", |
| 64 | "sip/src/**/*.java", |
| 65 | "ecc/proto/**/*.proto", |
| 66 | "src/com/android/phone/EventLogTags.logtags", |
| 67 | ], |
| 68 | |
Michele | 4bbd21d | 2019-10-24 11:41:50 -0700 | [diff] [blame] | 69 | jarjar_rules: ":jarjar-rules-shared", |
| 70 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 71 | resource_dirs: [ |
| 72 | "res", |
| 73 | "sip/res", |
| 74 | ], |
| 75 | |
| 76 | asset_dirs: [ |
| 77 | "assets", |
| 78 | "ecc/output", |
| 79 | ], |
| 80 | |
| 81 | aaptflags: [ |
| 82 | "--extra-packages com.android.services.telephony.sip", |
| 83 | ], |
| 84 | |
| 85 | platform_apis: true, |
| 86 | |
| 87 | certificate: "platform", |
| 88 | privileged: true, |
| 89 | |
| 90 | optimize: { |
| 91 | proguard_flags_files: [ |
| 92 | "proguard.flags", |
| 93 | "sip/proguard.flags", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 94 | ], |
| 95 | }, |
| 96 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 97 | proto: { |
| 98 | type: "lite", |
| 99 | }, |
Jayachandran C | c0750e6 | 2019-11-06 14:06:11 -0800 | [diff] [blame] | 100 | } |
Rambo Wang | 1bf0afc | 2021-06-25 11:53:44 -0700 | [diff] [blame] | 101 | |
| 102 | platform_compat_config { |
| 103 | name: "TeleService-platform-compat-config", |
| 104 | src: ":TeleService", |
| 105 | } |