platform_hardware_interfaces/dumpstate/aidl/Android.bp
Rambo Wang b06f3854b4 Enable java backend for IDumpstateDevice HAL
Java backend of IDumpstateDevice AIDL service is
used in Settings app to enable verbose vendor
logging.

Bug: 242634531
Test: make && make RunSettingsRoboTests
Change-Id: I2aa1a7ae81e5b05aa7088c16bbb201f3a5d88a8e
Merged-In: I2aa1a7ae81e5b05aa7088c16bbb201f3a5d88a8e
(cherry picked from commit 531809e22d)
2022-10-26 10:24:13 -05:00

45 lines
1.4 KiB
Text

// 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.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.dumpstate",
vendor_available: true,
srcs: ["android/hardware/dumpstate/*.aidl"],
stability: "vintf",
backend: {
cpp: {
enabled: false,
},
java: {
enabled: true,
sdk_version: "module_current",
},
},
versions_with_info: [
{
version: "1",
imports: [],
},
],
}