forked from cloudendpoints/esp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
171 lines (138 loc) · 4.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# Copyright (C) Extensible Service Proxy Authors
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
################################################################################
#
# A Bazel (http://bazel.io) workspace for the Google Cloud Endpoints runtime.
ESP_TOOL = "008e8c0203578d2ee48aa175b58c611fbecc4ca4"
git_repository(
name = "nginx",
commit = "18e870fcf52981cd0804eef269f2bb08182f0e3f", # v1.13.4
remote = "https://nginx.googlesource.com/nginx",
)
load("@nginx//:build.bzl", "nginx_repositories")
nginx_repositories(
bind = True,
nginx = "@nginx//",
)
# Needs to come after nginx
git_repository(
name = "iap_jwt_verify_nginx",
commit = "cbdfb7aa74897230c23a46162e3fbe0209cb659a", # Jan 8, 2018
remote = "https://github.com/GoogleCloudPlatform/appengine-sidecars-docker",
)
load("@iap_jwt_verify_nginx//:iap_jwt_verify_nginx.bzl", "iap_jwt_verify_nginx_repositories")
iap_jwt_verify_nginx_repositories(True)
# Required by gRPC.
bind(
name = "libssl",
actual = "@boringssl//:ssl",
)
load(
"//:repositories.bzl",
"servicecontrol_client_repositories",
"protobuf_repositories",
"googletest_repositories",
"grpc_repositories",
"transcoding_repositories",
)
bind(
name = "api_manager",
actual = "//include:api_manager",
)
bind(
name = "api_manager_status_proto",
actual = "//src/api_manager:status_proto",
)
bind(
name = "api_manager_status_proto_genproto",
actual = "//src/api_manager:status_proto_genproto",
)
bind(
name = "api_manager_auth_lib",
actual = "//src/api_manager/auth/lib",
)
bind(
name = "api_manager_utils",
actual = "//src/api_manager/utils",
)
bind(
name = "grpc_transcoding",
actual = "//src/grpc/transcoding:transcoding_endpoints",
)
servicecontrol_client_repositories()
protobuf_repositories()
googletest_repositories()
grpc_repositories()
transcoding_repositories()
git_repository(
name = "gflags_git",
commit = "fe57e5af4db74ab298523f06d2c43aa895ba9f98", # 2016-07-22
remote = "https://github.com/gflags/gflags",
)
bind(
name = "gflags",
actual = "@gflags_git//:gflags",
)
git_repository(
name = "tools",
commit = ESP_TOOL,
remote = "https://github.com/cloudendpoints/endpoints-tools",
)
#
# Python rules
#
git_repository(
name = "io_bazel_rules_pex",
commit = "6af30588d4f11cafcb744c50935cc37f029e6e7f",
remote = "https://github.com/benley/bazel_rules_pex.git",
)
load("@io_bazel_rules_pex//pex:pex_rules.bzl", "pex_repositories")
pex_repositories()
#
# Perl rules
#
git_repository(
name = "io_bazel_rules_perl",
commit = "5510c0ee04152aed9c5d1aba3ddb01daab336ad5",
remote = "https://github.com/bazelbuild/rules_perl.git",
)
#
# Go rules
#
git_repository(
name = "io_bazel_rules_go",
commit = "2d9f328a9723baf2d037ba9db28d9d0e30683938", # Apr 6, 2017 (buildifier fix)
remote = "https://github.com/bazelbuild/rules_go.git",
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories", "go_repository", "new_go_repository")
go_repositories()
new_git_repository(
name = "github_com_golang_protobuf",
build_file = "third_party/BUILD.golang_protobuf",
commit = "8616e8ee5e20a1704615e6c8d7afcdac06087a67",
remote = "https://github.com/golang/protobuf.git",
)
load("//test/grpc:repositories.bzl", "grpc_go_repositories")
grpc_go_repositories()