blob: 4357f12c8eba65b58b14948278aae15d6ced755f [file] [log] [blame]
Amit Mahajan77221792019-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 Mahajan77221792019-10-17 12:12:30 -070035android_app {
Amit Mahajan750fe992020-02-05 01:41:40 +000036 name: "TeleService",
Amit Mahajan77221792019-10-17 12:12:30 -070037
38 libs: [
39 "telephony-common",
40 "voip-common",
41 "ims-common",
Amit Mahajan77221792019-10-17 12:12:30 -070042 "libprotobuf-java-lite",
Artur Satayev6cbe4502019-12-17 19:12:03 +000043 "unsupportedappusage",
Amit Mahajan77221792019-10-17 12:12:30 -070044 ],
45
46 static_libs: [
47 "androidx.appcompat_appcompat",
48 "androidx.preference_preference",
49 "androidx.recyclerview_recyclerview",
50 "androidx.legacy_legacy-preference-v14",
Amit Mahajan77221792019-10-17 12:12:30 -070051 "android-support-annotations",
52 "com.android.phone.common-lib",
Meng Wangef66c332019-11-14 11:23:55 -080053 "guava",
54 "PlatformProperties",
Chiachang Wang99890092020-11-04 10:59:17 +080055 "modules-utils-os",
Amit Mahajan77221792019-10-17 12:12:30 -070056 ],
57
58 srcs: [
Malcolm Chen1521ab12020-01-14 19:15:04 -080059 ":framework-telephony-common-shared-srcs",
Amit Mahajan77221792019-10-17 12:12:30 -070060 "src/**/*.java",
61 "sip/src/**/*.java",
62 "ecc/proto/**/*.proto",
63 "src/com/android/phone/EventLogTags.logtags",
64 ],
65
Michele4bbd21d2019-10-24 11:41:50 -070066 jarjar_rules: ":jarjar-rules-shared",
67
Amit Mahajan77221792019-10-17 12:12:30 -070068 resource_dirs: [
69 "res",
70 "sip/res",
71 ],
72
73 asset_dirs: [
74 "assets",
75 "ecc/output",
76 ],
77
78 aaptflags: [
79 "--extra-packages com.android.services.telephony.sip",
80 ],
81
82 platform_apis: true,
83
84 certificate: "platform",
85 privileged: true,
86
87 optimize: {
88 proguard_flags_files: [
89 "proguard.flags",
90 "sip/proguard.flags",
Amit Mahajan77221792019-10-17 12:12:30 -070091 ],
92 },
93
Amit Mahajan77221792019-10-17 12:12:30 -070094 proto: {
95 type: "lite",
96 },
Jayachandran Cc0750e62019-11-06 14:06:11 -080097}