From 460c9492d927689b9db7f28d8742705dc0bbee62 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Thu, 27 Apr 2023 20:30:31 -0700 Subject: [PATCH] Fixes bazel config so consumers can use this in bazel. --- BUILD | 1 + WORKSPACE | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/BUILD b/BUILD index 5eddcd3..1be472a 100644 --- a/BUILD +++ b/BUILD @@ -9,6 +9,7 @@ cc_library( cc_test( name = "tinytest_test", + size = "small", srcs = ["tinytest_test.cpp"], deps = [ ":tinytest", diff --git a/WORKSPACE b/WORKSPACE index b851cf7..934f020 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -21,3 +21,15 @@ http_archive( strip_prefix = "googletest-ccdeec888ebb740a7ea4e07d3e84a1b7ee32b315", 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"], +)