diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/llvm/llvm.autogenerated.BUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/third_party/llvm/llvm.autogenerated.BUILD b/third_party/llvm/llvm.autogenerated.BUILD index 0ac27e26a4..776935739a 100644 --- a/third_party/llvm/llvm.autogenerated.BUILD +++ b/third_party/llvm/llvm.autogenerated.BUILD @@ -109,16 +109,23 @@ template_rule( ) # A common library that all LLVM targets depend on. +# TODO(b/113996071): We need to glob all potentially #included files and stage +# them here because LLVM's build files are not strict headers clean, and remote +# build execution requires all inputs to be depended upon. cc_library( name = "config", - hdrs = [ + hdrs = glob([ + "**/*.h", + "**/*.def", + "**/*.inc.cpp", + ]) + [ "include/llvm/Config/AsmParsers.def", "include/llvm/Config/AsmPrinters.def", "include/llvm/Config/Disassemblers.def", "include/llvm/Config/Targets.def", - "include/llvm/Config/abi-breaking.h", "include/llvm/Config/config.h", "include/llvm/Config/llvm-config.h", + "include/llvm/Config/abi-breaking.h", ], defines = llvm_defines, includes = ["include"], |