File tree Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Original file line number Diff line number Diff line change 3
3
set -exu -o pipefail
4
4
cat /VERSION
5
5
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
+
You can’t perform that action at this time.
0 commit comments