summaryrefslogtreecommitdiff
path: root/ProtoLibraries.bp
diff options
context:
space:
mode:
Diffstat (limited to 'ProtoLibraries.bp')
-rw-r--r--ProtoLibraries.bp18
1 files changed, 8 insertions, 10 deletions
diff --git a/ProtoLibraries.bp b/ProtoLibraries.bp
index 0f3ea0ca298f..c12f5b4395ec 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 . " +
@@ -33,7 +35,6 @@ gensrcs {
"&& $(location soong_zip) -jar -o $(out) -C $(genDir)/$(in) -D $(genDir)/$(in)",
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",
@@ -47,24 +48,25 @@ 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 . " +
" $(in)",
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",
@@ -80,7 +82,6 @@ gensrcs {
java_library_host {
name: "platformprotos",
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",
@@ -120,7 +121,6 @@ java_library {
],
sdk_version: "9",
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",
@@ -143,7 +143,6 @@ java_library {
},
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",
@@ -181,7 +180,6 @@ cc_defaults {
],
srcs: [
- ":framework-connectivity-protos",
":ipconnectivity-proto-src",
":libstats_atom_enum_protos",
":libstats_atom_message_protos",