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

Commit 2934d29a authored by Liz Kammer's avatar Liz Kammer
Browse files

Use new data property to sandbox stream protos

Test: build stream proto targets with sandboxing enabled
Change-Id: I025b501dd32969609550c49bd54254aa7cd391df
parent 715355b6
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -21,10 +21,6 @@ gensrcs {
        "soong_zip",
    ],

    tool_files: [
        ":libprotobuf-internal-protos",
    ],

    cmd: "mkdir -p $(genDir)/$(in) " +
        "&& $(location aprotoc) " +
        "  --plugin=$(location protoc-gen-javastream) " +
@@ -43,6 +39,11 @@ gensrcs {
        "libs/incident/**/*.proto",
        ":service-permission-streaming-proto-sources",
    ],

    data: [
        ":libprotobuf-internal-protos",
    ],

    output_extension: "srcjar",
}

@@ -54,10 +55,6 @@ gensrcs {
        "protoc-gen-cppstream",
    ],

    tool_files: [
        ":libprotobuf-internal-protos",
    ],

    cmd: "mkdir -p $(genDir) " +
        "&& $(location aprotoc) " +
        "  --plugin=$(location protoc-gen-cppstream) " +
@@ -75,6 +72,10 @@ gensrcs {
        ":service-permission-streaming-proto-sources",
    ],

    data: [
        ":libprotobuf-internal-protos",
    ],

    output_extension: "proto.h",
}