Skip to content

Commit

Permalink
resolve merge conflict with android.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ericgribkoff committed Apr 23, 2018
1 parent 5ded152 commit d72570b
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions buildscripts/kokoro/android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,6 @@ cat /VERSION

BASE_DIR="$(pwd)"

# Build grpc-cronet

cd "$BASE_DIR/github/grpc-java/cronet"
./cronet_deps.sh
../gradlew --include-build .. build


# Build grpc-android

cd "$BASE_DIR/github/grpc-java/android"
../gradlew --include-build .. build


# Install gRPC and codegen for the Android examples
# (a composite gradle build can't find protoc-gen-grpc-java)

Expand All @@ -36,6 +23,21 @@ ln -s "/tmp/protobuf-${PROTOBUF_VERSION}/$(uname -s)-$(uname -p)" /tmp/protobuf

./gradlew install

# Build Cronet

pushd cronet
./cronet_deps.sh
../gradlew build
popd

# Build grpc-android

pushd android
../gradlew build
popd

# Build examples

cd ./examples/android/clientcache
./gradlew build
cd ../routeguide
Expand Down

0 comments on commit d72570b

Please sign in to comment.