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

Commit a2d93ae1 authored by Wenshan Fu's avatar Wenshan Fu Committed by Gerrit Code Review
Browse files

Merge "aconfig: create java libraries for aconfig proto"

parents 50619b69 89467c31
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -2,6 +2,28 @@ package {
    default_applicable_licenses: ["Android-Apache-2.0"],
}

// proto libraries for consumers of `aconfig dump --format=protobuf` output

java_library {
    name: "libaconfig_java_proto_lite",
    host_supported: true,
    srcs: ["protos/aconfig.proto"],
    static_libs: ["libprotobuf-java-lite"],
    proto: {
        type: "lite",
    },
    sdk_version: "current",
}

java_library_host {
    name: "libaconfig_java_proto_full",
    srcs: ["protos/aconfig.proto"],
    static_libs: ["libprotobuf-java-full"],
    proto: {
        type: "full",
    },
}

// host binary: aconfig

rust_protobuf_host {