summaryrefslogtreecommitdiff
path: root/1.1/libboot_control_qti/Android.bp
diff options
context:
space:
mode:
authorP.Adarsh Reddy <padarshr@codeaurora.org>2020-01-19 11:14:57 +0530
committerP.Adarsh Reddy <padarshr@codeaurora.org>2020-01-29 14:22:23 +0530
commit07201315dd1e895d9726197110644bd7b987c37a (patch)
tree9536bb94fa8833be3f5406f810e2570c36ae55f6 /1.1/libboot_control_qti/Android.bp
parentc94d11a34ecb2da9ea9916288e105a0dcb4d1acf (diff)
Add support for Boot Control Hal 1.1.
The 1.1 impl lib is named as "android.hardware.boot@1.0-impl-1.1-qti". This is to serve 1.0 clients with the existing 1.0 getService call. 1.1 AOSP clients get the 1.0 instance and cast it to 1.1, and use 1.1 APIs (on virtual a/b enabled devices). This makes use of the AOSP's libboot_control helper library to call the 1.1 APIs to read/write to misc partition. Change-Id: I65df17f4719949a4d54acdc18c3ef02458063f05
Diffstat (limited to '1.1/libboot_control_qti/Android.bp')
-rw-r--r--1.1/libboot_control_qti/Android.bp27
1 files changed, 27 insertions, 0 deletions
diff --git a/1.1/libboot_control_qti/Android.bp b/1.1/libboot_control_qti/Android.bp
new file mode 100644
index 0000000..29729a7
--- /dev/null
+++ b/1.1/libboot_control_qti/Android.bp
@@ -0,0 +1,27 @@
+cc_library {
+ name: "libboot_control_qti",
+ vendor: true,
+ recovery_available: true,
+ shared_libs: [
+ "android.hardware.boot@1.1",
+ "librecovery_updater",
+ "libbase",
+ "libcutils",
+ "liblog",
+ "libz",
+ ],
+ static_libs: [
+ "libboot_control",
+ "libbootloader_message_vendor",
+ "libfstab",
+ ],
+ owner: "qti",
+ cflags: [
+ "-Wall",
+ "-Werror",
+ ],
+ srcs: [
+ "libboot_control_qti.cpp",
+ ],
+ export_include_dirs: ["."],
+}