bootctrl: Add android.hardware.boot@1.1-impl-qti back

This will be used for devices that don't support BSG.

Change-Id: I382a4e1116420442091591d4055840fd71cb891c
This commit is contained in:
LuK1337
2022-06-28 17:17:52 +02:00
parent 95e08c02aa
commit 630fd3d763
2 changed files with 20 additions and 3 deletions

View File

@@ -3,9 +3,16 @@
// SPDX-License-Identifier: Apache-2.0
//
cc_library_shared {
name: "android.hardware.boot@1.1-impl-qti",
stem: "android.hardware.boot@1.0-impl-1.1-qti",
defaults: ["android.hardware.boot@1.1-impl-qti_defaults"],
static_libs: ["libgptutils-sg.oplus"],
}
cc_library_shared {
name: "android.hardware.boot@1.2-impl-qti",
stem: "android.hardware.boot@1.0-impl-1.2-qti",
defaults: ["android.hardware.boot@1.2-impl-qti_defaults"],
static_libs: ["libgptutils.oplus"],
static_libs: ["libgptutils-bsg.oplus"],
}

View File

@@ -3,9 +3,8 @@
// SPDX-License-Identifier: Apache-2.0
//
cc_library {
cc_defaults {
name: "libgptutils.oplus",
cflags: ["-D_BSG_FRAMEWORK_KERNEL_HEADERS"],
export_include_dirs: ["."],
header_libs: ["generated_kernel_headers"],
recovery_available: true,
@@ -20,3 +19,14 @@ cc_library {
],
vendor: true,
}
cc_library {
name: "libgptutils-sg.oplus",
defaults: ["libgptutils.oplus"],
}
cc_library {
name: "libgptutils-bsg.oplus",
defaults: ["libgptutils.oplus"],
cflags: ["-D_BSG_FRAMEWORK_KERNEL_HEADERS"],
}