blob: dce13fa1197cf9dd2390b399ce76ec5bd0778e06 [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
Bob Badourb963ff52022-01-27 19:26:46 -080015package {
16 // See: http://go/android-license-faq
17 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
Amit Mahajan77221792019-10-17 12:12:30 -070020// Build the Phone app which includes the emergency dialer. See Contacts
21// for the 'other' dialer.
Amit Mahajan77221792019-10-17 12:12:30 -070022android_app {
Amit Mahajan750fe992020-02-05 01:41:40 +000023 name: "TeleService",
Amit Mahajan77221792019-10-17 12:12:30 -070024
25 libs: [
26 "telephony-common",
27 "voip-common",
28 "ims-common",
Amit Mahajan77221792019-10-17 12:12:30 -070029 "libprotobuf-java-lite",
Rambo Wang1bf0afc2021-06-25 11:53:44 -070030 "app-compat-annotations",
Artur Satayev6cbe4502019-12-17 19:12:03 +000031 "unsupportedappusage",
Hall Liue31bac62020-12-23 19:16:10 -080032 "org.apache.http.legacy",
Amit Mahajan77221792019-10-17 12:12:30 -070033 ],
34
35 static_libs: [
36 "androidx.appcompat_appcompat",
37 "androidx.preference_preference",
38 "androidx.recyclerview_recyclerview",
39 "androidx.legacy_legacy-preference-v14",
Amit Mahajan77221792019-10-17 12:12:30 -070040 "android-support-annotations",
41 "com.android.phone.common-lib",
Meng Wangef66c332019-11-14 11:23:55 -080042 "guava",
43 "PlatformProperties",
Roshan Pius8149fb22023-11-07 03:46:51 +000044 "modules-utils-fastxmlserializer",
someone56786e29be12023-08-23 02:26:20 +090045 "SettingsLib",
Chiachang Wang691c29c2020-11-04 10:59:17 +080046 "modules-utils-os",
Hall Liue31bac62020-12-23 19:16:10 -080047 "nist-sip",
hyosunfafecaf2023-09-15 13:08:27 +000048 "service-entitlement",
49 "telephony_flags_core_java_lib",
Nate Myrenae97d192023-06-09 15:22:31 -070050 "android.permission.flags-aconfig-java",
Thomas Nguyen1f049df2023-11-23 10:20:54 -080051 "satellite-s2storage-ro",
52 "s2-geometry-library-java",
Amit Mahajan77221792019-10-17 12:12:30 -070053 ],
54
ReallySnoweec750c2022-07-04 21:48:32 +080055 defaults: ["SettingsLibDefaults"],
56
Amit Mahajan77221792019-10-17 12:12:30 -070057 srcs: [
Malcolm Chen1521ab12020-01-14 19:15:04 -080058 ":framework-telephony-common-shared-srcs",
Amit Mahajan77221792019-10-17 12:12:30 -070059 "src/**/*.java",
Amit Mahajan77221792019-10-17 12:12:30 -070060 "ecc/proto/**/*.proto",
61 "src/com/android/phone/EventLogTags.logtags",
62 ],
63
Michele4bbd21d2019-10-24 11:41:50 -070064 jarjar_rules: ":jarjar-rules-shared",
65
Amit Mahajan77221792019-10-17 12:12:30 -070066 resource_dirs: [
67 "res",
Amit Mahajan77221792019-10-17 12:12:30 -070068 ],
69
70 asset_dirs: [
71 "assets",
72 "ecc/output",
73 ],
74
Amit Mahajan77221792019-10-17 12:12:30 -070075 platform_apis: true,
76
77 certificate: "platform",
78 privileged: true,
79
80 optimize: {
81 proguard_flags_files: [
82 "proguard.flags",
Amit Mahajan77221792019-10-17 12:12:30 -070083 ],
84 },
85
Amit Mahajan77221792019-10-17 12:12:30 -070086 proto: {
87 type: "lite",
88 },
Inseob Kim4a881162024-02-05 17:56:37 +090089
90 generate_product_characteristics_rro: true,
Jayachandran Cc0750e62019-11-06 14:06:11 -080091}
Rambo Wang1bf0afc2021-06-25 11:53:44 -070092
Sarah Chin46355ba2022-11-01 23:51:16 -070093// Allow other applications to use public constants from SlicePurchaseController
Sarah China85c7a32022-10-11 12:39:29 -070094java_library {
Sarah Chin46355ba2022-11-01 23:51:16 -070095 name: "SlicePurchaseController",
Sooraj Sasindranb85bcea2022-11-01 09:57:23 -070096 srcs: ["src/com/android/phone/slice/*.java",],
97 libs: [
98 "telephony-common",
99 "service-entitlement"
Thomas Nguyen1f049df2023-11-23 10:20:54 -0800100 ],
101}
102
Rambo Wang1bf0afc2021-06-25 11:53:44 -0700103platform_compat_config {
104 name: "TeleService-platform-compat-config",
105 src: ":TeleService",
106}