Skip to content

Commit

Permalink
Move android_deploy_info.proto to rules_android
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684187633
Change-Id: Ic33d37a21e8888a469ff1e51b8fadd05fbbaf6b1
  • Loading branch information
ahumesky authored and copybara-github committed Oct 9, 2024
1 parent de5b947 commit d9a5300
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/tools/deploy_info/deploy_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"io/ioutil"
"log"

pb "src/tools/deploy_info/proto/android_deploy_info_go_proto"
_ "src/common/golang/flagfile"
"src/common/golang/flags"
pb "src/tools/deploy_info/proto/android_deploy_info_go_proto"
"google.golang.org/protobuf/proto"
)

Expand Down
20 changes: 14 additions & 6 deletions src/tools/deploy_info/proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")

proto_library(
name = "android_deploy_info_proto",
srcs = ["android_deploy_info.proto"],
visibility = ["//visibility:public"],
)

java_proto_library(
name = "android_deploy_info_java_proto",
visibility = ["//visibility:public"],
deps = [":android_deploy_info_proto"],
)

go_proto_library(
name = "android_deploy_info_go_proto",
importpath = "src/tools/deploy_info/proto/android_deploy_info_go_proto",
protos = [
"@bazel_tools//src/main/protobuf:android_deploy_info_proto",
],
visibility = [
"//src/tools/deploy_info:__pkg__",
],
protos = [":android_deploy_info_proto"],
visibility = ["//visibility:public"],
)

0 comments on commit d9a5300

Please sign in to comment.