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 15android_app { 16 name: "EmergencyInfo", 17 platform_apis: true, 18 resource_dirs: [], 19 optimize: { 20 proguard_flags_files: ["proguard.flags"], 21 }, 22 product_specific: true, 23 required: ["privapp_whitelist_com.android.emergency"], 24 privileged: true, 25 static_libs: [ 26 "EmergencyInfo-lib" 27 ], 28 certificate: "platform", 29} 30 31android_library { 32 name: "EmergencyInfo-lib", 33 platform_apis: true, 34 resource_dirs: ["res"], 35 srcs: ["src/**/*.java"], 36 static_libs: [ 37 "androidx.legacy_legacy-preference-v14", 38 "androidx.legacy_legacy-support-v13", 39 "androidx.appcompat_appcompat", 40 "androidx.preference_preference", 41 "androidx.recyclerview_recyclerview", 42 "androidx.legacy_legacy-support-v4", 43 "com.google.android.material_material", 44 "androidx.transition_transition", 45 ], 46 defaults: ["SettingsLibDefaults"], 47} 48