File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Expand file tree Collapse file tree 1 file changed +33
-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
+
7
+ ${ANDROID_HOME} /tools/bin/apkanalyzer dex references app/build/outputs/apk/release/app-release-unsigned.apk
8
+
9
+ # cd ./github/grpc-java/cronet
10
+ # ./cronet_deps.sh
11
+ # ../gradlew --include-build .. build
12
+
13
+ # cd ../
14
+
15
+ export GRADLE_OPTS=-Xmx512m
16
+ export PROTOBUF_VERSION=3.5.1
17
+ export LDFLAGS=-L/tmp/protobuf/lib
18
+ export CXXFLAGS=-I/tmp/protobuf/include
19
+ export LD_LIBRARY_PATH=/tmp/protobuf/lib
20
+ export OS_NAME=$( uname)
21
+
22
+ cd ./github/grpc-java
23
+
24
+ # Proto deps
25
+ buildscripts/make_dependencies.sh
26
+ ln -s " /tmp/protobuf-${PROTOBUF_VERSION} /$( uname -s) -$( uname -p) " /tmp/protobuf
27
+
28
+ ./gradlew install
29
+
30
+ cd ./examples/android/helloworld
31
+
32
+ # Composite build can't find protoc-gen-grpc-java
33
+ # ../../../gradlew --include-build ../../.. build
34
+ ./gradlew build
35
+
36
+ ${ANDROID_HOME} /tools/bin/apkanalyzer dex references app/build/outputs/apk/release/app-release-unsigned.apk
37
+
38
+
You can’t perform that action at this time.
0 commit comments