aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/BUILD
blob: 6dae212e45d6d93a016251c1def738f476a54be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(":proto_alias.bzl", "proto_alias")

PROTOBUF_VERSION = "3.0.0"

filegroup(
    name = "srcs",
    srcs = [
        "//third_party/protobuf/" + PROTOBUF_VERSION + ":srcs",
    ] + glob(["**"]),  # glob everything to satisfy the compile.sh srcs test
    visibility = ["//third_party:__pkg__"],
)

proto_alias("protoc", PROTOBUF_VERSION)

proto_alias("protobuf_java", PROTOBUF_VERSION)

proto_alias("protobuf-jars", PROTOBUF_VERSION)

proto_alias("protobuf-util", PROTOBUF_VERSION)

alias(
    name = "protobuf_java_util",
    actual = "//third_party/protobuf/3.0.0:protobuf-util"
)

proto_alias("protobuf_python", PROTOBUF_VERSION)

proto_alias("protobuf_clib", PROTOBUF_VERSION)

alias(
    name = "protobuf",
    actual = "//third_party/protobuf/3.0.0:protobuf_clib"
)

proto_alias("protoc_lib", PROTOBUF_VERSION)

proto_alias("java_toolchain", PROTOBUF_VERSION)