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 15package { 16 // See: http://go/android-license-faq 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20// Build the Phone app which includes the emergency dialer. See Contacts 21// for the 'other' dialer. 22android_app { 23 name: "TeleService", 24 25 libs: [ 26 "telephony-common", 27 "voip-common", 28 "ims-common", 29 "libprotobuf-java-lite", 30 "app-compat-annotations", 31 "unsupportedappusage", 32 "org.apache.http.legacy", 33 ], 34 35 static_libs: [ 36 "androidx.appcompat_appcompat", 37 "androidx.preference_preference", 38 "androidx.recyclerview_recyclerview", 39 "androidx.legacy_legacy-preference-v14", 40 "android-support-annotations", 41 "com.android.phone.common-lib", 42 "guava", 43 "PlatformProperties", 44 "modules-utils-os", 45 "nist-sip", 46 "service-entitlement" 47 ], 48 49 srcs: [ 50 ":framework-telephony-common-shared-srcs", 51 "src/**/*.java", 52 "ecc/proto/**/*.proto", 53 "src/com/android/phone/EventLogTags.logtags", 54 ], 55 56 jarjar_rules: ":jarjar-rules-shared", 57 58 resource_dirs: [ 59 "res", 60 ], 61 62 asset_dirs: [ 63 "assets", 64 "ecc/output", 65 ], 66 67 platform_apis: true, 68 69 certificate: "platform", 70 privileged: true, 71 72 optimize: { 73 proguard_flags_files: [ 74 "proguard.flags", 75 ], 76 }, 77 78 proto: { 79 type: "lite", 80 }, 81} 82 83// Allow other applications to use public constants from SlicePurchaseController 84java_library { 85 name: "SlicePurchaseController", 86 srcs: ["src/com/android/phone/slice/*.java",], 87 libs: [ 88 "telephony-common", 89 "service-entitlement" 90 ], 91} 92 93platform_compat_config { 94 name: "TeleService-platform-compat-config", 95 src: ":TeleService", 96} 97