blob: a06d5efdf86effb0ff3c4b55a802910d54680164 [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",
Amit Mahajan77221792019-10-17 12:12:30 -070034 "android-support-annotations",
35 "com.android.phone.common-lib",
Meng Wangef66c332019-11-14 11:23:55 -080036 "guava",
37 "PlatformProperties",
Amit Mahajan77221792019-10-17 12:12:30 -070038 ],
39
40 srcs: [
Michele4bbd21d2019-10-24 11:41:50 -070041 ":framework-telephony-stack-shared-srcs",
Amit Mahajan77221792019-10-17 12:12:30 -070042 "src/**/*.java",
43 "sip/src/**/*.java",
44 "ecc/proto/**/*.proto",
45 "src/com/android/phone/EventLogTags.logtags",
46 ],
47
Michele4bbd21d2019-10-24 11:41:50 -070048 jarjar_rules: ":jarjar-rules-shared",
49
Amit Mahajan77221792019-10-17 12:12:30 -070050 resource_dirs: [
51 "res",
52 "sip/res",
53 ],
54
55 asset_dirs: [
56 "assets",
57 "ecc/output",
58 ],
59
60 aaptflags: [
61 "--extra-packages com.android.services.telephony.sip",
62 ],
63
64 platform_apis: true,
65
66 certificate: "platform",
67 privileged: true,
68
69 optimize: {
70 proguard_flags_files: [
71 "proguard.flags",
72 "sip/proguard.flags",
Amit Mahajan77221792019-10-17 12:12:30 -070073 ],
74 },
75
76 defaults: ["SettingsLibDefaults"],
77
78 proto: {
79 type: "lite",
80 },
Jayachandran Cc0750e62019-11-06 14:06:11 -080081}