File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
22
3- common:skip_android --deleted_packages=android
3+ common:skip_android --deleted_packages=android,binder
Original file line number Diff line number Diff line change 1+ load ("@rules_android//rules:rules.bzl" , "android_library" )
2+ load ("@rules_jvm_external//:defs.bzl" , "artifact" )
3+
4+ licenses (["notice" ])
5+
6+ android_library (
7+ name = "binder" ,
8+ srcs = glob ([
9+ "src/main/java/**/*.java" ,
10+ ]),
11+ manifest = "src/main/AndroidManifest.xml" ,
12+ custom_package = "io.grpc.binder" ,
13+ # TODO(jdcormie): Figure out how to make this public without forcing
14+ # existing non-android users to configure rules_android and Google's maven.
15+ visibility = ["//:__subpackages__" ],
16+ exports = ["@grpc_android_maven//:androidx_annotation_annotation" ],
17+ deps = [
18+ "//api" ,
19+ "//core:internal" ,
20+ # Resolve android deps from the isolated grpc_android_maven repository.
21+ "@grpc_android_maven//:androidx_annotation_annotation" ,
22+ "@grpc_android_maven//:androidx_annotation_annotation_jvm" ,
23+ "@grpc_android_maven//:androidx_core_core" ,
24+ "@grpc_android_maven//:androidx_lifecycle_lifecycle_common" ,
25+ artifact ("com.google.code.findbugs:jsr305" ),
26+ artifact ("com.google.errorprone:error_prone_annotations" ),
27+ artifact ("com.google.guava:guava" ),
28+ ],
29+ )
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ export PATH=/tmp/bazelisk:$PATH
4747
4848export USE_BAZEL_VERSION=9.1.0
4949bazelisk build \
50- //android
50+ //android \
51+ //binder
5152
5253curl -Ls https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-linux-x86_64.tar.gz | \
5354 tar xz -C /tmp
You can’t perform that action at this time.
0 commit comments