Skip to content

Commit

Permalink
Don't apply a host-configuration transition to the module_map attribute.
Browse files Browse the repository at this point in the history
This file is a data file that corresponds to header files compiled for the target, and so it should be evaluated in the target configuration.

PiperOrigin-RevId: 327412515
  • Loading branch information
Googler authored and copybara-github committed Aug 19, 2020
1 parent 4d695ee commit 2f908b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ input discovery is supported (currently Google-only).
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(module_map) -->
Module map artifact to be used for modular builds.
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("module_map", LABEL).legacyAllowAnyFileType().cfg(HostTransition.createFactory()))
.add(attr("module_map", LABEL).legacyAllowAnyFileType())
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(supports_param_files) -->
Set to True when cc_toolchain supports using param files for linking actions.
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
Expand Down

0 comments on commit 2f908b1

Please sign in to comment.