blob: 3ce5ac3c53c2a82f8a5ca431c867ca7219f9e082 [file] [log] [blame]
Amit Mahajanbec3a382019-10-17 12:12:30 -07001// 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 Badour1fcc3d72021-02-12 18:21:19 -080018package {
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
24license {
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 Mahajanbec3a382019-10-17 12:12:30 -070035android_app {
Amit Mahajan750fe992020-02-05 01:41:40 +000036 name: "TeleService",
Amit Mahajanbec3a382019-10-17 12:12:30 -070037
38 libs: [
39 "telephony-common",
40 "voip-common",
41 "ims-common",
Amit Mahajanbec3a382019-10-17 12:12:30 -070042 "libprotobuf-java-lite",
Rambo Wang1bf0afc2021-06-25 11:53:44 -070043 "app-compat-annotations",
Artur Satayev6cbe4502019-12-17 19:12:03 +000044 "unsupportedappusage",
Steven Laverca7d9642019-11-09 19:05:20 -080045 "telephony-ext",
Sandeep Gutta72f92d12021-01-27 22:04:30 +053046 "extphonelib",
Steven Laverca7d9642019-11-09 19:05:20 -080047 "ims-ext-common",
Hall Liue31bac62020-12-23 19:16:10 -080048 "org.apache.http.legacy",
Amit Mahajanbec3a382019-10-17 12:12:30 -070049 ],
Daniel Norman4930f832021-03-01 12:47:47 -080050 enforce_uses_libs: false,
Amit Mahajanbec3a382019-10-17 12:12:30 -070051
52 static_libs: [
53 "androidx.appcompat_appcompat",
54 "androidx.preference_preference",
55 "androidx.recyclerview_recyclerview",
56 "androidx.legacy_legacy-preference-v14",
Amit Mahajanbec3a382019-10-17 12:12:30 -070057 "android-support-annotations",
58 "com.android.phone.common-lib",
Meng Wangef66c332019-11-14 11:23:55 -080059 "guava",
60 "PlatformProperties",
Chiachang Wang691c29c2020-11-04 10:59:17 +080061 "modules-utils-os",
Hall Liue31bac62020-12-23 19:16:10 -080062 "nist-sip",
Amit Mahajanbec3a382019-10-17 12:12:30 -070063 ],
64
65 srcs: [
Malcolm Chen1521ab12020-01-14 19:15:04 -080066 ":framework-telephony-common-shared-srcs",
Amit Mahajanbec3a382019-10-17 12:12:30 -070067 "src/**/*.java",
68 "sip/src/**/*.java",
69 "ecc/proto/**/*.proto",
70 "src/com/android/phone/EventLogTags.logtags",
71 ],
72
Michele1c25d442019-10-24 11:41:50 -070073 jarjar_rules: ":jarjar-rules-shared",
74
Amit Mahajanbec3a382019-10-17 12:12:30 -070075 resource_dirs: [
76 "res",
77 "sip/res",
78 ],
79
80 asset_dirs: [
81 "assets",
82 "ecc/output",
83 ],
84
85 aaptflags: [
86 "--extra-packages com.android.services.telephony.sip",
87 ],
88
89 platform_apis: true,
90
91 certificate: "platform",
92 privileged: true,
93
94 optimize: {
95 proguard_flags_files: [
96 "proguard.flags",
97 "sip/proguard.flags",
98 ],
99 },
100
Amit Mahajanbec3a382019-10-17 12:12:30 -0700101 proto: {
102 type: "lite",
103 },
Jayachandran Caeac4ad2019-11-06 14:06:11 -0800104}
Rambo Wang1bf0afc2021-06-25 11:53:44 -0700105
106platform_compat_config {
107 name: "TeleService-platform-compat-config",
108 src: ":TeleService",
109}