diff options
| author | Hridya Valsaraju <hridya@google.com> | 2018-08-20 14:03:21 -0700 |
|---|---|---|
| committer | Hridya Valsaraju <hridya@google.com> | 2018-10-23 14:36:51 -0700 |
| commit | 299fb68f3461157b7a018d8f46b51ed11f7470a5 (patch) | |
| tree | 0131de5d8d8d5ef2c6882ca7aa2e9952d5b26d55 /Android.bp | |
| parent | f97970ea0ef96d396879bd83e7bab9fe557271bc (diff) | |
| download | android_hardware_qcom_bootctrl-299fb68f3461157b7a018d8f46b51ed11f7470a5.tar.gz android_hardware_qcom_bootctrl-299fb68f3461157b7a018d8f46b51ed11f7470a5.tar.bz2 android_hardware_qcom_bootctrl-299fb68f3461157b7a018d8f46b51ed11f7470a5.zip | |
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
Diffstat (limited to 'Android.bp')
| -rw-r--r-- | Android.bp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..13d6821 --- /dev/null +++ b/Android.bp @@ -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", + ], + +} |
