Skip to content

Commit 5719fde

Browse files
committed
do not review: kokoro experiment
1 parent 32eefda commit 5719fde

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

buildscripts/kokoro/cronet.sh

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,33 @@
33
set -exu -o pipefail
44
cat /VERSION
55

6-
cd ./github/grpc-java/cronet
7-
./cronet_deps.sh
8-
../gradlew --include-build .. build
6+
#cd ./github/grpc-java/cronet
7+
#./cronet_deps.sh
8+
#../gradlew --include-build .. build
9+
10+
#cd ../
11+
12+
export GRADLE_OPTS=-Xmx512m
13+
export PROTOBUF_VERSION=3.5.1
14+
export LDFLAGS=-L/tmp/protobuf/lib
15+
export CXXFLAGS=-I/tmp/protobuf/include
16+
export LD_LIBRARY_PATH=/tmp/protobuf/lib
17+
export OS_NAME=$(uname)
18+
19+
cd ./github/grpc-java
20+
21+
# Proto deps
22+
buildscripts/make_dependencies.sh
23+
ln -s "/tmp/protobuf-${PROTOBUF_VERSION}/$(uname -s)-$(uname -p)" /tmp/protobuf
24+
25+
./gradlew install
26+
27+
cd ./examples/android/helloworld
28+
29+
# Composite build can't find protoc-gen-grpc-java
30+
#../../../gradlew --include-build ../../.. build
31+
./gradlew build
32+
33+
${ANDROID_HOME}/tools/bin/apkanalyzer dex references app/build/outputs/apk/release/app-release-unsigned.apk
34+
35+

0 commit comments

Comments
 (0)