blob: a10ea7f1adfedaeb93be5fde70cd66ae19e3a3e7 [file] [log] [blame]
//
// Copyright (C) 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// APK to hold all the Safety Center overlayable resources.
package {
default_team: "trendy_team_android_permissions",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "SafetyCenterResourcesShared",
sdk_version: "system_current",
min_sdk_version: "30",
apex_available: ["com.android.permission"],
resource_dirs: [
"shared_res",
],
manifest: "AndroidManifestLibrary.xml",
visibility: [
"//packages/modules/Permission:__subpackages__",
"//vendor:__subpackages__",
],
}
android_app {
name: "SafetyCenterResources",
privileged: true,
sdk_version: "system_current",
min_sdk_version: "30",
apex_available: ["com.android.permission"],
certificate: ":com.android.safetycenter.resources.certificate",
// TODO(b/322944911): Reconsider enabling linter checker
//lint: {
// extra_check_modules: ["ConfigLintChecker"],
//},
static_libs: [
"SafetyCenterResourcesShared",
],
}
android_app_certificate {
name: "com.android.safetycenter.resources.certificate",
certificate: "com.android.safetycenter.resources",
}