blob: 1cbb4f10dbcac1fcd7f5a10c1617deccdd6d487d [file] [log] [blame] [edit]
// Copyright (C) 2022 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.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
// Temporary till we move the files in this directory
filegroup {
name: "framework-crashrecovery-module-sources",
srcs: [
"java/**/*.java",
"java/**/*.aidl",
],
path: "java",
visibility: [
"//frameworks/base/packages/CrashRecovery/framework",
],
}
java_sdk_library {
name: "framework-crashrecovery",
srcs: [
"java/**/*.java",
"java/**/*.aidl",
":framework-crashrecovery-sources",
],
apex_available: [
"com.android.crashrecovery",
],
static_libs: ["android.crashrecovery.flags-aconfig-java"],
libs: [
"modules-utils-preconditions",
],
permitted_packages: [
"android.service.watchdog",
"android.crashrecovery",
],
defaults: ["framework-module-defaults"],
min_sdk_version: "36",
sdk_version: "module_current",
impl_library_visibility: [
"//packages/modules/CrashRecovery:__subpackages__",
"//frameworks/base/tests:__subpackages__",
"//cts:__subpackages__",
],
}