Expose ota_metadata_proto for consumption

Recovery needs to parse OTA metadata and perform various safety checks

Test: th
Change-Id: Ibbfa55a8ec8a15d37adb57299ed6ee89b06ba368
This commit is contained in:
Kelvin Zhang 2021-05-14 17:18:43 -04:00
parent 4de9bb23f2
commit a3a74b69ac

View file

@ -114,6 +114,20 @@ python_library_host {
},
}
cc_library_static {
name: "ota_metadata_proto_cc",
srcs: [
"ota_metadata.proto",
],
host_supported: true,
recovery_available: true,
proto: {
canonical_path_from_root: false,
type: "lite",
export_proto_headers: true,
},
}
java_library_static {
name: "ota_metadata_proto_java",
host_supported: true,