This will be used for devices that don't support BSG. Change-Id: I382a4e1116420442091591d4055840fd71cb891c
33 lines
655 B
Plaintext
33 lines
655 B
Plaintext
//
|
|
// Copyright (C) 2022 The Android Open Source Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
cc_defaults {
|
|
name: "libgptutils.oplus",
|
|
export_include_dirs: ["."],
|
|
header_libs: ["generated_kernel_headers"],
|
|
recovery_available: true,
|
|
shared_libs: [
|
|
"libcutils",
|
|
"liblog",
|
|
"libz",
|
|
],
|
|
srcs: [
|
|
"gpt-utils.cpp",
|
|
"recovery-ufs-bsg.cpp",
|
|
],
|
|
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"],
|
|
}
|