-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
152 lines (104 loc) · 5.02 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
workspace(name = "google_privacysandbox_kv_server")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
local_repository(
name = "google_privacysandbox_functionaltest_system",
path = "testing/functionaltest-system",
)
load("//builders/bazel:deps.bzl", "python_deps")
python_deps("//builders/bazel")
http_archive(
name = "google_privacysandbox_servers_common",
# commit b34fe82 2024-04-03
sha256 = "2afc7017723efb9d34b6ed713be03dbdf9b45de8ba585d2ea314eb3a52903d0a",
strip_prefix = "data-plane-shared-libraries-b34fe821b982e06446df617edb7a6e3041c8b0db",
urls = [
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/b34fe821b982e06446df617edb7a6e3041c8b0db.zip",
],
)
load(
"@google_privacysandbox_servers_common//third_party:cpp_deps.bzl",
data_plane_shared_deps_cpp = "cpp_dependencies",
)
data_plane_shared_deps_cpp()
load("@google_privacysandbox_servers_common//third_party:deps1.bzl", data_plane_shared_deps1 = "deps1")
data_plane_shared_deps1()
load("@google_privacysandbox_servers_common//third_party:deps2.bzl", data_plane_shared_deps2 = "deps2")
data_plane_shared_deps2(go_toolchains_version = "1.19.9")
load("@google_privacysandbox_servers_common//third_party:deps3.bzl", data_plane_shared_deps3 = "deps3")
data_plane_shared_deps3()
load("@google_privacysandbox_servers_common//third_party:deps4.bzl", data_plane_shared_deps4 = "deps4")
data_plane_shared_deps4()
load(
"//third_party_deps:cpp_repositories.bzl",
"cpp_repositories",
)
cpp_repositories()
http_archive(
name = "io_bazel_rules_docker",
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
)
load("@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories")
container_repositories()
load("@io_bazel_rules_docker//repositories:deps.bzl", io_bazel_rules_docker_deps = "deps")
io_bazel_rules_docker_deps()
load("//third_party_deps:container_deps.bzl", "container_deps")
container_deps()
load("@io_bazel_rules_docker//go:image.bzl", go_image_repos = "repositories")
go_image_repos()
# googleapis
http_archive(
name = "com_google_googleapis", # master branch from 26.04.2022
sha256 = "3cbe0fcdad3ad7b2fdc58b0f297190c1e05b47b7c10fd14e3364501baa14177e",
strip_prefix = "googleapis-f91b6cf82e929280f6562f6110957c654bd9e2e6",
urls = ["https://github.com/googleapis/googleapis/archive/f91b6cf82e929280f6562f6110957c654bd9e2e6.tar.gz"],
)
http_archive(
name = "distributed_point_functions",
sha256 = "19cd27b36b0ceba683c02fc6c80e61339397afc3385b91d54210c5db0a254ef8",
strip_prefix = "distributed_point_functions-45da5f54836c38b73a1392e846c9db999c548711",
urls = ["https://github.com/google/distributed_point_functions/archive/45da5f54836c38b73a1392e846c9db999c548711.tar.gz"],
)
# Dependencies for Flex/Bison build rules
http_archive(
name = "rules_m4",
sha256 = "10ce41f150ccfbfddc9d2394ee680eb984dc8a3dfea613afd013cfb22ea7445c",
urls = ["https://github.com/jmillikin/rules_m4/releases/download/v0.2.3/rules_m4-v0.2.3.tar.xz"],
)
load("@rules_m4//m4:m4.bzl", "m4_register_toolchains")
m4_register_toolchains(version = "1.4.18")
http_archive(
name = "rules_bison",
sha256 = "2279183430e438b2dc77cacd7b1dbb63438971b2411406570f1ddd920b7c9145",
urls = ["https://github.com/jmillikin/rules_bison/releases/download/v0.2.2/rules_bison-v0.2.2.tar.xz"],
)
load("@rules_bison//bison:bison.bzl", "bison_register_toolchains")
bison_register_toolchains(version = "3.3.2")
http_archive(
name = "rules_flex",
sha256 = "8929fedc40909d19a4b42548d0785f796c7677dcef8b5d1600b415e5a4a7749f",
urls = ["https://github.com/jmillikin/rules_flex/releases/download/v0.2.1/rules_flex-v0.2.1.tar.xz"],
)
load("@rules_flex//flex:flex.bzl", "flex_register_toolchains")
flex_register_toolchains(version = "2.6.4")
load("//third_party_deps:python_deps.bzl", "python_repositories")
python_repositories()
# Load the starlark macro, which will define your dependencies.
load("@latency_benchmark//:requirements.bzl", latency_benchmark_install_deps = "install_deps")
load("@word2vec//:requirements.bzl", word2vec_install_deps = "install_deps")
# Call it to define repos for your requirements.
latency_benchmark_install_deps()
word2vec_install_deps()
# Use nogo to run `go vet` with bazel
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(nogo = "@//:kv_nogo")
# setup container_structure_test
http_archive(
name = "container_structure_test",
sha256 = "2da13da4c4fec9d4627d4084b122be0f4d118bd02dfa52857ff118fde88e4faa",
strip_prefix = "container-structure-test-1.16.0",
urls = ["https://github.com/GoogleContainerTools/container-structure-test/archive/v1.16.0.zip"],
)
load("@container_structure_test//:repositories.bzl", "container_structure_test_register_toolchain")
container_structure_test_register_toolchain(name = "cst")