Import gpt-utils from LA.UM.9.14.r1-19800.01-LAHAINA.QSSI12.0

Change-Id: I92baccc0524f88dcb439095288ac75fbc1401ae7
This commit is contained in:
Alexander Koskovich
2022-06-26 16:01:14 -07:00
committed by LuK1337
parent fc96053921
commit 10a69ad8f9
5 changed files with 2125 additions and 0 deletions

22
gpt-utils/Android.bp Normal file
View File

@@ -0,0 +1,22 @@
//
// Copyright (C) 2022 The Android Open Source Project
// SPDX-License-Identifier: Apache-2.0
//
cc_library {
name: "libgptutils.oplus",
cflags: ["-D_BSG_FRAMEWORK_KERNEL_HEADERS"],
export_include_dirs: ["."],
header_libs: ["qti_kernel_headers"],
recovery_available: true,
shared_libs: [
"libcutils",
"liblog",
"libz",
],
srcs: [
"gpt-utils.cpp",
"recovery-ufs-bsg.cpp",
],
vendor: true,
}