forked from istio/old_mixer_repo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
97 lines (77 loc) · 2.53 KB
/
WORKSPACE
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
workspace(name = "com_github_istio_mixer")
git_repository(
name = "io_bazel_rules_go",
commit = "4c73b9cb84c1f8e32e7df3c26e237439699d5d8c",
remote = "https://github.com/bazelbuild/rules_go.git",
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories", "new_go_repository")
go_repositories()
git_repository(
name = "org_pubref_rules_protobuf",
commit = "c0013ac259444437f913e7dd0b10e36ce3325ed4",
remote = "https://github.com/pubref/rules_protobuf",
)
load("@org_pubref_rules_protobuf//protobuf:rules.bzl", "proto_repositories")
proto_repositories()
load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_repositories")
go_proto_repositories()
new_go_repository(
name = "com_github_golang_glog",
commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998",
importpath = "github.com/golang/glog",
)
new_go_repository(
name = "in_gopkg_yaml_v2",
commit = "a5b47d31c556af34a302ce5d659e6fea44d90de0",
importpath = "gopkg.in/yaml.v2",
)
new_go_repository(
name = "com_github_golang_protobuf",
commit = "8ee79997227bf9b34611aee7946ae64735e6fd93",
importpath = "github.com/golang/protobuf",
)
GOOGLEAPIS_BUILD_FILE = """
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
go_prefix("github.com/googleapis/googleapis")
load("@org_pubref_rules_protobuf//go:rules.bzl", "go_proto_library")
go_proto_library(
name = "go_status_proto",
protos = [
"google/rpc/status.proto",
],
imports = [
"../../external/com_github_google_protobuf/src",
],
deps = [
"@com_github_golang_protobuf//ptypes/any:go_default_library",
],
verbose = 0,
)
"""
new_git_repository(
name = "com_github_googleapis_googleapis",
build_file_content = GOOGLEAPIS_BUILD_FILE,
commit = "13ac2436c5e3d568bd0e938f6ed58b77a48aba15",
remote = "https://github.com/googleapis/googleapis.git",
)
new_go_repository(
name = "com_github_google_go_genproto",
commit = "08f135d1a31b6ba454287638a3ce23a55adace6f",
importpath = "google.golang.org/genproto",
)
new_go_repository(
name = "org_golang_google_grpc",
commit = "8712952b7d646dbbbc6fb73a782174f3115060f3",
importpath = "google.golang.org/grpc",
)
new_go_repository(
name = "com_github_spf13_cobra",
commit = "9495bc009a56819bdb0ddbc1a373e29c140bc674",
importpath = "github.com/spf13/cobra",
)
new_go_repository(
name = "com_github_spf13_pflag",
commit = "5ccb023bc27df288a957c5e994cd44fd19619465",
importpath = "github.com/spf13/pflag",
)