| 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 |  | 
|  | 15 | // Build the Phone app which includes the emergency dialer. See Contacts | 
|  | 16 | // for the 'other' dialer. | 
|  | 17 |  | 
|  | 18 | android_app { | 
| Amit Mahajan | 67caf6d | 2019-12-13 08:25:44 +0000 | [diff] [blame] | 19 | name: "TeleService", | 
| Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 20 |  | 
|  | 21 | libs: [ | 
|  | 22 | "telephony-common", | 
|  | 23 | "voip-common", | 
|  | 24 | "ims-common", | 
|  | 25 | "org.apache.http.legacy", | 
|  | 26 | "libprotobuf-java-lite", | 
| Artur Satayev | 6cbe450 | 2019-12-17 19:12:03 +0000 | [diff] [blame] | 27 | "unsupportedappusage", | 
| Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 28 | ], | 
|  | 29 |  | 
|  | 30 | static_libs: [ | 
|  | 31 | "androidx.appcompat_appcompat", | 
|  | 32 | "androidx.preference_preference", | 
|  | 33 | "androidx.recyclerview_recyclerview", | 
|  | 34 | "androidx.legacy_legacy-preference-v14", | 
|  | 35 | "guava", | 
|  | 36 | "volley", | 
|  | 37 | "android-support-annotations", | 
|  | 38 | "com.android.phone.common-lib", | 
|  | 39 | ], | 
|  | 40 |  | 
|  | 41 | srcs: [ | 
| Michele | 4bbd21d | 2019-10-24 11:41:50 -0700 | [diff] [blame] | 42 | ":framework-telephony-stack-shared-srcs", | 
| Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 43 | "src/**/*.java", | 
|  | 44 | "sip/src/**/*.java", | 
|  | 45 | "ecc/proto/**/*.proto", | 
|  | 46 | "src/com/android/phone/EventLogTags.logtags", | 
|  | 47 | ], | 
|  | 48 |  | 
| Michele | 4bbd21d | 2019-10-24 11:41:50 -0700 | [diff] [blame] | 49 | jarjar_rules: ":jarjar-rules-shared", | 
|  | 50 |  | 
| Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 51 | resource_dirs: [ | 
|  | 52 | "res", | 
|  | 53 | "sip/res", | 
|  | 54 | ], | 
|  | 55 |  | 
|  | 56 | asset_dirs: [ | 
|  | 57 | "assets", | 
|  | 58 | "ecc/output", | 
|  | 59 | ], | 
|  | 60 |  | 
|  | 61 | aaptflags: [ | 
|  | 62 | "--extra-packages com.android.services.telephony.sip", | 
|  | 63 | ], | 
|  | 64 |  | 
|  | 65 | platform_apis: true, | 
|  | 66 |  | 
|  | 67 | certificate: "platform", | 
|  | 68 | privileged: true, | 
|  | 69 |  | 
|  | 70 | optimize: { | 
|  | 71 | proguard_flags_files: [ | 
|  | 72 | "proguard.flags", | 
|  | 73 | "sip/proguard.flags", | 
| Amit Mahajan | 7722179 | 2019-10-17 12:12:30 -0700 | [diff] [blame] | 74 | ], | 
|  | 75 | }, | 
|  | 76 |  | 
|  | 77 | defaults: ["SettingsLibDefaults"], | 
|  | 78 |  | 
|  | 79 | proto: { | 
|  | 80 | type: "lite", | 
|  | 81 | }, | 
|  | 82 | } |