-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
66 lines (57 loc) · 1.88 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
# rules_cc defines rules for generating C++ code from Protocol Buffers.
# rules_proto defines abstract rules for building Protocol Buffers.
hash = "97d8af4"
http_archive(
name = "rules_proto",
urls = [
"https://github.com/bazelbuild/rules_proto/tarball/" + hash,
],
type = "tar.gz",
strip_prefix = "bazelbuild-rules_proto-" + hash,
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
release = "1.10.0"
http_archive(
name = "googletest",
urls = ["https://github.com/google/googletest/archive/release-" + release + ".tar.gz"],
strip_prefix = "googletest-release-" + release,
)
http_file(
name = "cpplint_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/cpplint.BUILD"],
)
release = "1.5.2"
http_archive(
name = "cpplint",
urls = ["https://github.com/cpplint/cpplint/archive/" + release + ".tar.gz"],
strip_prefix = "cpplint-" + release,
build_file = "@cpplint_build//file:downloaded",
)
hash = "c51510d"
http_archive(
name = "com_google_absl",
urls = ["https://github.com/abseil/abseil-cpp/tarball/" + hash],
type = "tar.gz",
strip_prefix = "abseil-abseil-cpp-" + hash,
)
hash = "5f52dc7"
http_archive(
name = "libfactory",
urls = ["https://github.com/nicmcd/libfactory/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libfactory-" + hash,
)
http_file(
name = "nlohmann_json_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/nlohmannjson.BUILD"],
)
release = "3.9.1"
http_archive(
name = "nlohmann_json",
urls = ["https://github.com/nlohmann/json/archive/v" + release + ".tar.gz"],
strip_prefix = "json-" + release,
build_file = "@nlohmann_json_build//file:downloaded",
)