device_google_zuma/interfaces/boot/aidl/Android.bp
Sebastian Pickl 8676a0deff Revert "zuma: move bootctrl hal to gs-common"
Revert submission 25477883-gs-common_bootctrl-aidl

Reason for revert: breaking builds b/314240126

Bug: 314240126

Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl

Change-Id: If413155d4a2129c482ae98a128dc05b4aaba5374
2023-12-01 11:30:35 +00:00

65 lines
No EOL
2 KiB
Text

//
// Copyright (C) 2023 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 "//device/google/zuma:device_google_zuma_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/zuma:device_google_zuma_license",
],
}
cc_defaults {
name: "android.hardware.boot-service_common-zuma",
relative_install_path: "hw",
defaults: ["libboot_control_defaults"],
shared_libs: [
"libbase",
"libbinder_ndk",
"libcutils",
"libz",
"libtrusty",
"android.hardware.boot@1.1",
"android.hardware.boot-V1-ndk",
],
static_libs: [
"libboot_control",
"libbootloader_message_vendor",
],
srcs: [
"BootControl.cpp",
"GptUtils.cpp",
"service.cpp"
],
}
cc_binary {
name: "android.hardware.boot-service.default-zuma",
defaults: ["android.hardware.boot-service_common-zuma"],
init_rc: ["android.hardware.boot-service.default-zuma.rc"],
vendor: true,
}
cc_binary {
name: "android.hardware.boot-service.default_recovery-zuma",
defaults: ["android.hardware.boot-service_common-zuma"],
vintf_fragments: ["android.hardware.boot-service.default_recovery-zuma.xml"],
init_rc: ["android.hardware.boot-service.default_recovery-zuma.rc"],
recovery: true,
}