@@ -45,19 +45,19 @@ def portable_cc_toolchain(
4545 name = name + "_cc_toolchain" ,
4646 args = [
4747 name + "_target_args" ,
48- "//detail/args:default" ,
48+ Label ( "//detail/args:default" ) ,
4949 ] + args ,
5050 enabled_features = [
5151 "@rules_cc//cc/toolchains/args:experimental_replace_legacy_action_config_features" ,
5252 ] + select ({
53- "//detail/compilation_mode:fastbuild" : fastbuild_features ,
54- "//detail/compilation_mode:dbg" : dbg_features ,
55- "//detail/compilation_mode:opt" : opt_features ,
53+ Label ( "//detail/compilation_mode:fastbuild" ) : fastbuild_features ,
54+ Label ( "//detail/compilation_mode:dbg" ) : dbg_features ,
55+ Label ( "//detail/compilation_mode:opt" ) : opt_features ,
5656 }) + enabled_features ,
5757 known_features = [
5858 "@rules_cc//cc/toolchains/args:experimental_replace_legacy_action_config_features" ,
59- ] + FEATURES .keys () + known_features ,
60- tool_map = "//detail/tools" ,
59+ ] + [ Label ( f ) for f in FEATURES .keys ()] + known_features ,
60+ tool_map = Label ( "//detail/tools" ) ,
6161 supports_param_files = False , # we use a shell script wrapper to replace placeholder variables, maybe this can support param files in the future
6262 supports_header_parsing = True ,
6363 )
0 commit comments