Merge "Don't use path to find protoc-gen-javastream"

am: 1a2a45667b

Change-Id: Idf4e12d812cf9108f8c3b22057e0bcbd90c14807
This commit is contained in:
Colin Cross
2017-12-05 05:33:47 +00:00
committed by android-build-merger

View File

@@ -614,11 +614,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 " +