diff options
author | P.Adarsh Reddy <padarshr@codeaurora.org> | 2020-01-19 11:14:57 +0530 |
---|---|---|
committer | P.Adarsh Reddy <padarshr@codeaurora.org> | 2020-01-29 14:22:23 +0530 |
commit | 07201315dd1e895d9726197110644bd7b987c37a (patch) | |
tree | 9536bb94fa8833be3f5406f810e2570c36ae55f6 /1.1/impl/Android.bp | |
parent | c94d11a34ecb2da9ea9916288e105a0dcb4d1acf (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/impl/Android.bp')
-rw-r--r-- | 1.1/impl/Android.bp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1.1/impl/Android.bp b/1.1/impl/Android.bp new file mode 100644 index 0000000..4c26db2 --- /dev/null +++ b/1.1/impl/Android.bp @@ -0,0 +1,20 @@ +cc_library_shared { + name: "android.hardware.boot@1.1-impl-qti", + stem: "android.hardware.boot@1.0-impl-1.1-qti", + defaults: [ + "hidl_defaults", + ], + relative_install_path: "hw", + vendor: true, + recovery_available: true, + srcs: ["BootControl.cpp"], + shared_libs: [ + "liblog", + "libhidlbase", + "libhardware", + "libutils", + "android.hardware.boot@1.0", + "android.hardware.boot@1.1", + "libboot_control_qti", + ], +} |