Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3a74b69 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Expose ota_metadata_proto for consumption

Recovery needs to parse OTA metadata and perform various safety checks

Test: th
Change-Id: Ibbfa55a8ec8a15d37adb57299ed6ee89b06ba368
parent 4de9bb23
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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,