blob: 55901266c3eebcd5de603778b5c7f2de07741d22 [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",
Amit Mahajanbec3a382019-10-17 12:12:30 -070033 "android-support-annotations",
34 "com.android.phone.common-lib",
Meng Wang1e4e4942019-11-14 11:23:55 -080035 "guava",
36 "PlatformProperties",
Amit Mahajanbec3a382019-10-17 12:12:30 -070037 ],
38
39 srcs: [
Michele1c25d442019-10-24 11:41:50 -070040 ":framework-telephony-stack-shared-srcs",
Amit Mahajanbec3a382019-10-17 12:12:30 -070041 "src/**/*.java",
42 "sip/src/**/*.java",
43 "ecc/proto/**/*.proto",
44 "src/com/android/phone/EventLogTags.logtags",
45 ],
46
Michele1c25d442019-10-24 11:41:50 -070047 jarjar_rules: ":jarjar-rules-shared",
48
Amit Mahajanbec3a382019-10-17 12:12:30 -070049 resource_dirs: [
50 "res",
51 "sip/res",
52 ],
53
54 asset_dirs: [
55 "assets",
56 "ecc/output",
57 ],
58
59 aaptflags: [
60 "--extra-packages com.android.services.telephony.sip",
61 ],
62
63 platform_apis: true,
64
65 certificate: "platform",
66 privileged: true,
67
68 optimize: {
69 proguard_flags_files: [
70 "proguard.flags",
71 "sip/proguard.flags",
72 ],
73 },
74
75 defaults: ["SettingsLibDefaults"],
76
77 proto: {
78 type: "lite",
79 },
Jayachandran Caeac4ad2019-11-06 14:06:11 -080080}