summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index 86e57476dd4f..c03530ee890c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -603,11 +603,9 @@ gensrcs {
"soong_zip",
],
- // Append protoc-gen-javastream tool's PATH otherwise aprotoc can't find the plugin tool
- cmd: "export PATH=$$PATH:$$(dirname $(location protoc-gen-javastream)) " +
- "&& mkdir -p $(genDir)/$(in) " +
+ cmd: "mkdir -p $(genDir)/$(in) " +
"&& $(location aprotoc) " +
- " --plugin=protoc-gen-java-stream=protoc-gen-javastream " +
+ " --plugin=$(location protoc-gen-javastream) " +
" --dependency_out=$(depfile) " +
" --javastream_out=$(genDir)/$(in) " +
" -Iexternal/protobuf/src " +