Fixes bazel config so consumers can use this in bazel.

This commit is contained in:
2023-04-27 20:30:31 -07:00
parent 0bc03c9d9c
commit 460c9492d9
2 changed files with 13 additions and 0 deletions

1
BUILD
View File

@@ -9,6 +9,7 @@ cc_library(
cc_test( cc_test(
name = "tinytest_test", name = "tinytest_test",
size = "small",
srcs = ["tinytest_test.cpp"], srcs = ["tinytest_test.cpp"],
deps = [ deps = [
":tinytest", ":tinytest",

View File

@@ -21,3 +21,15 @@ http_archive(
strip_prefix = "googletest-ccdeec888ebb740a7ea4e07d3e84a1b7ee32b315", strip_prefix = "googletest-ccdeec888ebb740a7ea4e07d3e84a1b7ee32b315",
urls = ["https://github.com/google/googletest/archive/ccdeec888ebb740a7ea4e07d3e84a1b7ee32b315.zip"], urls = ["https://github.com/google/googletest/archive/ccdeec888ebb740a7ea4e07d3e84a1b7ee32b315.zip"],
) )
http_archive(
name = "com_google_absl",
strip_prefix = "abseil-cpp-b971ac5250ea8de900eae9f95e06548d14cd95fe",
urls = ["https://github.com/abseil/abseil-cpp/archive/b971ac5250ea8de900eae9f95e06548d14cd95fe.zip"],
)
http_archive(
name = "bazel_skylib",
sha256 = "f7be3474d42aae265405a592bb7da8e171919d74c16f082a5457840f06054728",
urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/1.2.1/bazel-skylib-1.2.1.tar.gz"],
)