blob: 6f97d86253db966565799dde9502d3b26b7bde59 [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
18android_app {
Amit Mahajan750fe992020-02-05 01:41:40 +000019 name: "TeleService",
Amit Mahajan77221792019-10-17 12:12:30 -070020
21 libs: [
22 "telephony-common",
23 "voip-common",
24 "ims-common",
Amit Mahajan77221792019-10-17 12:12:30 -070025 "libprotobuf-java-lite",
Artur Satayev6cbe4502019-12-17 19:12:03 +000026 "unsupportedappusage",
Hall Liue31bac62020-12-23 19:16:10 -080027 "org.apache.http.legacy",
Amit Mahajan77221792019-10-17 12:12:30 -070028 ],
29
30 static_libs: [
31 "androidx.appcompat_appcompat",
32 "androidx.preference_preference",
33 "androidx.recyclerview_recyclerview",
34 "androidx.legacy_legacy-preference-v14",
Amit Mahajan77221792019-10-17 12:12:30 -070035 "android-support-annotations",
36 "com.android.phone.common-lib",
Meng Wangef66c332019-11-14 11:23:55 -080037 "guava",
38 "PlatformProperties",
Chiachang Wang691c29c2020-11-04 10:59:17 +080039 "modules-utils-os",
Hall Liue31bac62020-12-23 19:16:10 -080040 "nist-sip",
Amit Mahajan77221792019-10-17 12:12:30 -070041 ],
42
43 srcs: [
Malcolm Chen1521ab12020-01-14 19:15:04 -080044 ":framework-telephony-common-shared-srcs",
Amit Mahajan77221792019-10-17 12:12:30 -070045 "src/**/*.java",
46 "sip/src/**/*.java",
47 "ecc/proto/**/*.proto",
48 "src/com/android/phone/EventLogTags.logtags",
49 ],
50
Michele4bbd21d2019-10-24 11:41:50 -070051 jarjar_rules: ":jarjar-rules-shared",
52
Amit Mahajan77221792019-10-17 12:12:30 -070053 resource_dirs: [
54 "res",
55 "sip/res",
56 ],
57
58 asset_dirs: [
59 "assets",
60 "ecc/output",
61 ],
62
63 aaptflags: [
64 "--extra-packages com.android.services.telephony.sip",
65 ],
66
67 platform_apis: true,
68
69 certificate: "platform",
70 privileged: true,
71
72 optimize: {
73 proguard_flags_files: [
74 "proguard.flags",
75 "sip/proguard.flags",
Amit Mahajan77221792019-10-17 12:12:30 -070076 ],
77 },
78
Amit Mahajan77221792019-10-17 12:12:30 -070079 proto: {
80 type: "lite",
81 },
Jayachandran Cc0750e62019-11-06 14:06:11 -080082}