forked from google/cctz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWORKSPACE
More file actions
27 lines (26 loc) · 678 Bytes
/
WORKSPACE
File metadata and controls
27 lines (26 loc) · 678 Bytes
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
# GoogleTest/GoogleMock framework. Used by most unit-tests.
http_archive(
name = "com_google_googletest",
urls = ["https://github.com/google/googletest/archive/master.zip"],
strip_prefix = "googletest-master",
)
new_git_repository(
name = "benchmark",
remote = "https://github.com/google/benchmark.git",
commit = "cb8a0cc10f8b634fd554251ae086da522b58f50e",
build_file_content =
"""
cc_library(
name = "benchmark",
srcs = glob(["src/*.h", "src/*.cc"]),
hdrs = glob(["include/benchmark/*.h"]),
includes = [
"include",
],
visibility = ["//visibility:public"],
copts = [
"-DHAVE_STD_REGEX"
],
)
"""
)