Correct and complete dependency sets after 74b411d38c

Prior to this change the __support_cpp_array_ref target's only dependency was libc_root.
but it #includes "TypeTraits.h" and Array.h for that matter.

These dependencies matter when building in distributed build systems and the relevant
files must be know for the distributed build to ship them to the executor.

Differential Revision: https://reviews.llvm.org/D121974
This commit is contained in:
Sterling Augustine 2022-03-17 19:31:00 -07:00
parent 63ea7797dd
commit 07998f6d75
1 changed files with 15 additions and 3 deletions

View File

@ -43,7 +43,11 @@ cc_library(
cc_library(
name = "__support_cpp_array_ref",
hdrs = ["src/__support/CPP/ArrayRef.h",],
deps = [":libc_root"],
deps = [
":__support_cpp_array",
":__support_cpp_type_traits",
":libc_root",
],
)
cc_library(
@ -87,7 +91,10 @@ cc_library(
cc_library(
name = "__support_cpp_utility",
hdrs = ["src/__support/CPP/Utility.h",],
deps = [":libc_root"],
deps = [
":__support_cpp_type_traits",
":libc_root",
],
)
cc_library(
@ -99,7 +106,10 @@ cc_library(
cc_library(
name = "__support_cpp_atomic",
hdrs = ["src/__support/CPP/atomic.h",],
deps = [":libc_root"],
deps = [
":__support_cpp_type_traits",
":libc_root",
],
)
cc_library(
@ -179,6 +189,8 @@ cc_library(
hdrs = sqrt_hdrs,
deps = [
":__support_common",
":__support_cpp_bit",
":__support_cpp_type_traits",
":__support_fputil",
":libc_root",
],