kokoro: Use --include-build in cronet

This avoids needing to build all of grpc as well as avoids having to
manually track which dependencies are necessary.

This cuts 1.5 minutes off the Cronet build time (to 3.5 minutes). But it
also reduces the amount being downloaded which should help with #3284.
This commit is contained in:
Eric Anderson 2018-02-01 13:18:43 -08:00
parent 2c8bc71fb7
commit 5a31dff283
1 changed files with 2 additions and 5 deletions

View File

@ -2,9 +2,6 @@
set -exu -o pipefail
cd ./github/grpc-java
./gradlew -PskipCodegen=true install
cd cronet
cd ./github/grpc-java/cronet
./cronet_deps.sh
../gradlew build
../gradlew --include-build .. build