Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 1 | // 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 Badour | b963ff5 | 2022-01-27 19:26:46 -0800 | [diff] [blame] | 15 | package { |
| 16 | // See: http://go/android-license-faq |
| 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 20 | // Build the Phone app which includes the emergency dialer. See Contacts |
| 21 | // for the 'other' dialer. |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 22 | android_app { |
Amit Mahajan | 750fe99 | 2020-02-05 01:41:40 +0000 | [diff] [blame] | 23 | name: "TeleService", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 24 | |
| 25 | libs: [ |
| 26 | "telephony-common", |
| 27 | "voip-common", |
| 28 | "ims-common", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 29 | "libprotobuf-java-lite", |
Rambo Wang | 1bf0afc | 2021-06-25 11:53:44 -0700 | [diff] [blame] | 30 | "app-compat-annotations", |
Artur Satayev | 6cbe450 | 2019-12-17 19:12:03 +0000 | [diff] [blame] | 31 | "unsupportedappusage", |
Jihoon Kang | f078bf2 | 2024-08-30 00:30:34 +0000 | [diff] [blame] | 32 | "org.apache.http.legacy.stubs.system", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 33 | ], |
| 34 | |
| 35 | static_libs: [ |
| 36 | "androidx.appcompat_appcompat", |
| 37 | "androidx.preference_preference", |
| 38 | "androidx.recyclerview_recyclerview", |
| 39 | "androidx.legacy_legacy-preference-v14", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 40 | "android-support-annotations", |
| 41 | "com.android.phone.common-lib", |
Meng Wang | ef66c33 | 2019-11-14 11:23:55 -0800 | [diff] [blame] | 42 | "guava", |
| 43 | "PlatformProperties", |
Roshan Pius | 8149fb2 | 2023-11-07 03:46:51 +0000 | [diff] [blame] | 44 | "modules-utils-fastxmlserializer", |
Chiachang Wang | 691c29c | 2020-11-04 10:59:17 +0800 | [diff] [blame] | 45 | "modules-utils-os", |
Hall Liu | e31bac6 | 2020-12-23 19:16:10 -0800 | [diff] [blame] | 46 | "nist-sip", |
hyosun | fafecaf | 2023-09-15 13:08:27 +0000 | [diff] [blame] | 47 | "service-entitlement", |
Yi-an Chen | 5c38d86 | 2024-04-22 17:20:21 +0000 | [diff] [blame] | 48 | "android.permission.flags-aconfig-java-export", |
Thomas Nguyen | 1f049df | 2023-11-23 10:20:54 -0800 | [diff] [blame] | 49 | "satellite-s2storage-ro", |
| 50 | "s2-geometry-library-java", |
Pranav Madapurmath | 1767aaf | 2024-03-05 13:13:52 -0800 | [diff] [blame] | 51 | "dropbox_flags_lib", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 52 | ], |
| 53 | |
| 54 | srcs: [ |
Malcolm Chen | 1521ab1 | 2020-01-14 19:15:04 -0800 | [diff] [blame] | 55 | ":framework-telephony-common-shared-srcs", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 56 | "src/**/*.java", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 57 | "ecc/proto/**/*.proto", |
| 58 | "src/com/android/phone/EventLogTags.logtags", |
| 59 | ], |
| 60 | |
Michele | 4bbd21d | 2019-10-24 11:41:50 -0700 | [diff] [blame] | 61 | jarjar_rules: ":jarjar-rules-shared", |
| 62 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 63 | resource_dirs: [ |
| 64 | "res", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 65 | ], |
| 66 | |
| 67 | asset_dirs: [ |
| 68 | "assets", |
| 69 | "ecc/output", |
| 70 | ], |
| 71 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 72 | platform_apis: true, |
| 73 | |
| 74 | certificate: "platform", |
| 75 | privileged: true, |
| 76 | |
| 77 | optimize: { |
| 78 | proguard_flags_files: [ |
| 79 | "proguard.flags", |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 80 | ], |
| 81 | }, |
| 82 | |
Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 83 | proto: { |
| 84 | type: "lite", |
| 85 | }, |
Inseob Kim | 4a88116 | 2024-02-05 17:56:37 +0900 | [diff] [blame] | 86 | |
| 87 | generate_product_characteristics_rro: true, |
Jayachandran C | c0750e6 | 2019-11-06 14:06:11 -0800 | [diff] [blame] | 88 | } |
Rambo Wang | 1bf0afc | 2021-06-25 11:53:44 -0700 | [diff] [blame] | 89 | |
Sarah Chin | 46355ba | 2022-11-01 23:51:16 -0700 | [diff] [blame] | 90 | // Allow other applications to use public constants from SlicePurchaseController |
Sarah Chin | a85c7a3 | 2022-10-11 12:39:29 -0700 | [diff] [blame] | 91 | java_library { |
Sarah Chin | 46355ba | 2022-11-01 23:51:16 -0700 | [diff] [blame] | 92 | name: "SlicePurchaseController", |
Sooraj Sasindran | b85bcea | 2022-11-01 09:57:23 -0700 | [diff] [blame] | 93 | srcs: ["src/com/android/phone/slice/*.java",], |
| 94 | libs: [ |
| 95 | "telephony-common", |
| 96 | "service-entitlement" |
Thomas Nguyen | 1f049df | 2023-11-23 10:20:54 -0800 | [diff] [blame] | 97 | ], |
| 98 | } |
| 99 | |
Rambo Wang | 1bf0afc | 2021-06-25 11:53:44 -0700 | [diff] [blame] | 100 | platform_compat_config { |
| 101 | name: "TeleService-platform-compat-config", |
| 102 | src: ":TeleService", |
| 103 | } |
Yi-an Chen | 5c38d86 | 2024-04-22 17:20:21 +0000 | [diff] [blame] | 104 | |