1// Copyright (C) 2016 The Android Open Source Project 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 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_app { 20 name: "EmergencyInfo", 21 platform_apis: true, 22 resource_dirs: [], 23 optimize: { 24 proguard_flags_files: ["proguard.flags"], 25 }, 26 system_ext_specific: true, 27 required: ["privapp_whitelist_com.android.emergency"], 28 privileged: true, 29 static_libs: [ 30 "EmergencyInfo-lib", 31 "EmergencyGestureContentProvider", 32 ], 33 certificate: "platform", 34} 35 36android_library { 37 name: "EmergencyInfo-lib", 38 platform_apis: true, 39 resource_dirs: ["res"], 40 srcs: ["src/**/*.java"], 41 static_libs: [ 42 "android-support-v4", 43 "androidx.legacy_legacy-preference-v14", 44 "androidx.legacy_legacy-support-v13", 45 "androidx.appcompat_appcompat", 46 "androidx.preference_preference", 47 "androidx.recyclerview_recyclerview", 48 "androidx.legacy_legacy-support-v4", 49 "com.google.android.material_material", 50 "androidx.transition_transition", 51 "guava", 52 "EmergencyGestureAction", 53 ], 54 defaults: ["SettingsLibDefaults"], 55} 56