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

Commit b6021931 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Dist aapt2 protos"

parents 84ea1138 0b28a924
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -187,3 +187,22 @@ cc_binary_host {
    static_libs: ["libaapt2"],
    defaults: ["aapt2_defaults"],
}

// ==========================================================
// Dist the protos
// ==========================================================
genrule {
    name: "aapt2-protos",
    tools: [":soong_zip"],
    srcs: [
        "Configuration.proto",
        "Resources.proto",
    ],
    out: ["aapt2-protos.zip"],
    cmd: "mkdir $(genDir)/protos && " +
        "cp $(in) $(genDir)/protos && " +
        "$(location :soong_zip) -o $(out) -C $(genDir)/protos -D $(genDir)/protos",
    dist: {
        targets: ["sdk_repo"],
    },
}