blob: bfc8cf621ce73852d6bfac65ef7f524967abf0e9 [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: [
39 "src/**/*.java",
40 "sip/src/**/*.java",
41 "ecc/proto/**/*.proto",
42 "src/com/android/phone/EventLogTags.logtags",
43 ],
44
45 resource_dirs: [
46 "res",
47 "sip/res",
48 ],
49
50 asset_dirs: [
51 "assets",
52 "ecc/output",
53 ],
54
55 aaptflags: [
56 "--extra-packages com.android.services.telephony.sip",
57 ],
58
59 platform_apis: true,
60
61 certificate: "platform",
62 privileged: true,
63
64 optimize: {
65 proguard_flags_files: [
66 "proguard.flags",
67 "sip/proguard.flags",
68 ],
69 },
70
71 defaults: ["SettingsLibDefaults"],
72
73 proto: {
74 type: "lite",
75 },
Jayachandran Caeac4ad2019-11-06 14:06:11 -080076}