From a93ef201cc079c872dca5ee4d746e8b42572ecd5 Mon Sep 17 00:00:00 2001 From: Luis Padron Date: Sat, 13 Jul 2024 00:50:50 -0400 Subject: [PATCH] Add headers to `headermap` action `inputs` --- rules/hmap.bzl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rules/hmap.bzl b/rules/hmap.bzl index 3107e5efe..d0525d7cc 100644 --- a/rules/hmap.bzl +++ b/rules/hmap.bzl @@ -32,9 +32,16 @@ def _make_hmap(actions, headermap_builder, output, namespace, hdrs_lists): args.set_param_file_format(format = "multiline") args.use_param_file("@%s") + headers = [ + header + for header_list in hdrs_lists + for header in header_list + ] + actions.run( mnemonic = "HmapCreate", arguments = [args], + inputs = headers, executable = headermap_builder, outputs = [output], )