Use new data property to sandbox stream protos
Test: build stream proto targets with sandboxing enabled Change-Id: I025b501dd32969609550c49bd54254aa7cd391df
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user