blob: f4975f7b212143a9bdf73d4dba1d68fadf55e9fa [file] [log] [blame]
Sasha Smundak3eab3682019-01-28 17:06:21 -08001// 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
Bob Badoura98f90d2021-02-12 21:27:51 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
Sasha Smundak3eab3682019-01-28 17:06:21 -080019android_app {
20 name: "EmergencyInfo",
21 platform_apis: true,
Anton Hanssonce627e32019-02-08 11:01:57 +000022 resource_dirs: [],
Sasha Smundak3eab3682019-01-28 17:06:21 -080023 optimize: {
24 proguard_flags_files: ["proguard.flags"],
25 },
Jeongik Chaed3fa1b2019-11-25 20:21:14 +090026 system_ext_specific: true,
Anton Hansson7d3bb8b2019-03-25 18:49:04 +000027 required: ["privapp_whitelist_com.android.emergency"],
Sasha Smundak3eab3682019-01-28 17:06:21 -080028 privileged: true,
29 static_libs: [
Fan Zhangc0a9b262021-02-18 20:58:05 +000030 "EmergencyInfo-lib",
31 "EmergencyGestureContentProvider",
Andrew Sapperstein1e261042019-02-05 13:02:36 -080032 ],
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: [
lindatseng646181f2020-10-02 17:33:54 -070042 "android-support-v4",
Sasha Smundak3eab3682019-01-28 17:06:21 -080043 "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",
lindatseng65512132020-10-12 23:16:05 -070051 "guava",
Fan Zhang80b4c762021-03-09 23:29:41 +000052 "EmergencyGestureAction",
Sasha Smundak3eab3682019-01-28 17:06:21 -080053 ],
Sasha Smundak3eab3682019-01-28 17:06:21 -080054 defaults: ["SettingsLibDefaults"],
55}