Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add headers to headermap action inputs
Browse files Browse the repository at this point in the history
luispadron committed Aug 8, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 6b3c965 commit a93ef20
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rules/hmap.bzl
Original file line number Diff line number Diff line change
@@ -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],
)

0 comments on commit a93ef20

Please sign in to comment.