-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootctrl: Update to AIDL implementation
The minimum requirement for Boot HAL in android 14 should be AIDL implementation to meet target-level 8, API level 34 requirement. Tracked-On: OAM-112811 Signed-off-by: Zhong,Fangjian <fangjian.zhong@intel.com>
- Loading branch information
Zhong,Fangjian
committed
Oct 17, 2023
1 parent
ea4b046
commit d5c05c0
Showing
7 changed files
with
245 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,60 @@ | ||
cc_library_shared { | ||
name: "android.hardware.boot@1.2-impl-intel", | ||
stem: "android.hardware.boot@1.0-impl-1.2-intel", | ||
// | ||
// 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. | ||
// | ||
|
||
relative_install_path: "hw", | ||
vendor: true, | ||
recovery_available: true, | ||
srcs: ["BootControl.cpp"], | ||
//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"], | ||
//} | ||
|
||
cc_defaults { | ||
name: "android.hardware.boot-service", | ||
relative_install_path: "hw", | ||
defaults: ["libboot_control_defaults"], | ||
vintf_fragments: ["android.hardware.boot-service.xml"], | ||
shared_libs: [ | ||
"liblog", | ||
"libhidlbase", | ||
"libbase", | ||
"libbinder_ndk", | ||
"libhardware", | ||
"libutils", | ||
"android.hardware.boot@1.0", | ||
"android.hardware.boot@1.1", | ||
"android.hardware.boot@1.2", | ||
"android.hardware.boot-V1-ndk", | ||
], | ||
static_libs: [ | ||
"libfstab", | ||
"libboot_control", | ||
], | ||
include_dirs: [ | ||
"hardware/intel/bootctrl", | ||
], | ||
srcs: ["main.cpp", "BootControl.cpp"], | ||
} | ||
|
||
cc_binary { | ||
name: "android.hardware.boot-service.intel", | ||
defaults: ["android.hardware.boot-service"], | ||
init_rc: ["android.hardware.boot-service.rc"], | ||
vendor: true, | ||
} | ||
|
||
cc_binary { | ||
name: "android.hardware.boot-service.recovery", | ||
defaults: ["android.hardware.boot-service"], | ||
init_rc: ["android.hardware.boot-service.recovery.rc"], | ||
recovery: true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.