blob: a81158d3db87c42f4672212af4aa1fb90ae7fde6 [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
18android_app {
19 name: "TeleService",
20
21 libs: [
22 "telephony-common",
23 "voip-common",
24 "ims-common",
Amit Mahajanbec3a382019-10-17 12:12:30 -070025 "libprotobuf-java-lite",
26 ],
27
28 static_libs: [
29 "androidx.appcompat_appcompat",
30 "androidx.preference_preference",
31 "androidx.recyclerview_recyclerview",
32 "androidx.legacy_legacy-preference-v14",
33 "guava",
Amit Mahajanbec3a382019-10-17 12:12:30 -070034 "android-support-annotations",
35 "com.android.phone.common-lib",
36 ],
37
38 srcs: [
Michele1c25d442019-10-24 11:41:50 -070039 ":framework-telephony-stack-shared-srcs",
Amit Mahajanbec3a382019-10-17 12:12:30 -070040 "src/**/*.java",
41 "sip/src/**/*.java",
42 "ecc/proto/**/*.proto",
43 "src/com/android/phone/EventLogTags.logtags",
44 ],
45
Michele1c25d442019-10-24 11:41:50 -070046 jarjar_rules: ":jarjar-rules-shared",
47
Amit Mahajanbec3a382019-10-17 12:12:30 -070048 resource_dirs: [
49 "res",
50 "sip/res",
51 ],
52
53 asset_dirs: [
54 "assets",
55 "ecc/output",
56 ],
57
58 aaptflags: [
59 "--extra-packages com.android.services.telephony.sip",
60 ],
61
62 platform_apis: true,
63
64 certificate: "platform",
65 privileged: true,
66
67 optimize: {
68 proguard_flags_files: [
69 "proguard.flags",
70 "sip/proguard.flags",
71 ],
72 },
73
74 defaults: ["SettingsLibDefaults"],
75
76 proto: {
77 type: "lite",
78 },
Jayachandran Caeac4ad2019-11-06 14:06:11 -080079}