summaryrefslogtreecommitdiff
path: root/ProtoLibraries.bp
diff options
context:
space:
mode:
Diffstat (limited to 'ProtoLibraries.bp')
-rw-r--r--ProtoLibraries.bp12
1 files changed, 8 insertions, 4 deletions
diff --git a/ProtoLibraries.bp b/ProtoLibraries.bp
index 0f3ea0ca298f..67acfad3bfdd 100644
--- a/ProtoLibraries.bp
+++ b/ProtoLibraries.bp
@@ -14,7 +14,6 @@
gensrcs {
name: "framework-javastream-protos",
- depfile: true,
tools: [
"aprotoc",
@@ -22,10 +21,13 @@ gensrcs {
"soong_zip",
],
+ tool_files: [
+ ":libprotobuf-internal-protos",
+ ],
+
cmd: "mkdir -p $(genDir)/$(in) " +
"&& $(location aprotoc) " +
" --plugin=$(location protoc-gen-javastream) " +
- " --dependency_out=$(depfile) " +
" --javastream_out=$(genDir)/$(in) " +
" -Iexternal/protobuf/src " +
" -I . " +
@@ -47,17 +49,19 @@ gensrcs {
gensrcs {
name: "framework-cppstream-protos",
- depfile: true,
tools: [
"aprotoc",
"protoc-gen-cppstream",
],
+ tool_files: [
+ ":libprotobuf-internal-protos",
+ ],
+
cmd: "mkdir -p $(genDir) " +
"&& $(location aprotoc) " +
" --plugin=$(location protoc-gen-cppstream) " +
- " --dependency_out=$(depfile) " +
" --cppstream_out=$(genDir) " +
" -Iexternal/protobuf/src " +
" -I . " +