Build bootctrl.sdm845 using Android.bp

This is required to build a recovery variant of the
same to be used by fastbootd.

Bug: 78793464
Test: make

Change-Id: I2774c5cdb7013be2f59f10d84cfff94cb1a842c4
This commit is contained in:
Hridya Valsaraju 2018-08-20 14:03:21 -07:00 committed by SGCMarkus
commit 68cbba7660
2 changed files with 34 additions and 22 deletions

34
bootctrl/Android.bp Normal file
View file

@ -0,0 +1,34 @@
soong_namespace {
}
filegroup {
name: "bootctrl_hal_src",
srcs: [
"boot_control.cpp",
],
}
cc_defaults {
name: "bootctrl_hal_defaults",
proprietary: true,
recovery_available: true,
header_libs: [
"libhardware_headers",
"libsystem_headers",
],
shared_libs: [
"libcutils",
"liblog",
"libz",
],
owner: "qti",
relative_install_path: "hw",
cflags: [
"-Wall",
"-Werror",
],
srcs: [
":bootctrl_hal_src",
],
}