[libc][bazel] Add missing dependency for stdlib tests.
authorTue Ly <lntue@google.com>
Wed, 15 Feb 2023 23:03:17 +0000 (18:03 -0500)
committerTue Ly <lntue@google.com>
Wed, 15 Feb 2023 23:03:43 +0000 (18:03 -0500)
utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel

index 7ba34fd..285bf93 100644 (file)
@@ -13,6 +13,9 @@ licenses(["notice"])
 cc_library(
     name = "atoi_test_helper",
     hdrs = ["AtoiTest.h"],
+    deps = [
+        //libc:__support_cpp_type_traits",
+    ],
 )
 
 libc_test(
@@ -61,6 +64,10 @@ libc_test(
 cc_library(
     name = "strtol_test_helper",
     hdrs = ["StrtolTest.h"],
+    deps = [
+        "//libc:__support_cpp_limits",
+        "//libc:__support_cpp_type_traits",
+    ],
 )
 
 libc_test(