blob: b3056b8a896ebf1052fdc5bfc701e5c428af240c [file] [log] [blame]
load("//tools/base/bazel:bazel.bzl", "java_jarjar")
# Studio cannot handle proto3, so we jarjar our proto library together with grpc
# on a renamed namespace.
#The long list is as we want to jar-jar specific jars, and not all of their depenendencies,
#as those are already present on the studio classpath.
java_jarjar(
name = "studio-profiler-grpc-1.0-jarjar",
srcs = [
"//prebuilts/tools/common/m2/repository/com/google/protobuf/protobuf-java/3.0.0:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-auth/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-context/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-core/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-netty/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-nano/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf/1.0.1:jar",
"//prebuilts/tools/common/m2/repository/io/grpc/grpc-stub/1.0.1:jar",
"//tools/base/profiler/proto:libprofiler_java_proto.jar",
],
rules = "jarjar_rules.txt",
visibility = ["//visibility:public"],
)