blob: a7ae0cc305f308b47f116da3426ba686bef4c288 [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 Mahajan67caf6d2019-12-13 08:25:44 +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",
Amit Mahajan77221792019-10-17 12:12:30 -070027 ],
28
29 static_libs: [
30 "androidx.appcompat_appcompat",
31 "androidx.preference_preference",
32 "androidx.recyclerview_recyclerview",
33 "androidx.legacy_legacy-preference-v14",
34 "guava",
Amit Mahajan77221792019-10-17 12:12:30 -070035 "android-support-annotations",
36 "com.android.phone.common-lib",
37 ],
38
39 srcs: [
Michele4bbd21d2019-10-24 11:41:50 -070040 ":framework-telephony-stack-shared-srcs",
Amit Mahajan77221792019-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
Michele4bbd21d2019-10-24 11:41:50 -070047 jarjar_rules: ":jarjar-rules-shared",
48
Amit Mahajan77221792019-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",
Amit Mahajan77221792019-10-17 12:12:30 -070072 ],
73 },
74
75 defaults: ["SettingsLibDefaults"],
76
77 proto: {
78 type: "lite",
79 },
Jayachandran Cc0750e62019-11-06 14:06:11 -080080}