summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2020-01-01 16:25:19 +0800
committerYo Chiang <yochiang@google.com>2020-02-05 07:15:39 +0800
commit53bed1c153304aa7af235dd69877231a5882e0ed (patch)
tree2a740245b6d083083a18a50a9d6d4b4d6073cccc /Android.bp
parent8258f9f834a1b42fe097567526456e12c8cc433e (diff)
downloadgsid-53bed1c153304aa7af235dd69877231a5882e0ed.tar.gz
Add getAvbPublicKey to IGsiService and IImageService
Retrieves AVB public key from an image's VBMeta block. Bug: 146418878 Test: adb shell am start-activity \ -n com.android.dynsystem/com.android.dynsystem.VerificationActivity \ -a android.os.image.action.START_INSTALL \ --el KEY_USERDATA_SIZE 8589934592 \ -d file:///storage/emulated/0/Download/aosp_arm64-dsu_test.zip Test: adb shell gsi_tool status \ // command should show sha1 of public key for each partition Change-Id: Ic529275a2678e6c1ce341910e4dbbe9af66742a7
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index e46c16a..1667ffb 100644
--- a/Android.bp
+++ b/Android.bp
@@ -95,6 +95,7 @@ cc_binary {
],
static_libs: [
"gsi_aidl_interface-cpp",
+ "libavb",
"libcutils",
"libdm",
"libext4_utils",
@@ -122,10 +123,11 @@ aidl_interface {
filegroup {
name: "gsiservice_aidl",
srcs: [
+ "aidl/android/gsi/AvbPublicKey.aidl",
"aidl/android/gsi/GsiProgress.aidl",
- "aidl/android/gsi/IImageService.aidl",
"aidl/android/gsi/IGsid.aidl",
"aidl/android/gsi/IGsiService.aidl",
+ "aidl/android/gsi/IImageService.aidl",
"aidl/android/gsi/IProgressCallback.aidl",
"aidl/android/gsi/MappedImage.aidl",
],