2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-27 20:43:26 +00:00
rules_cc/tests
Googler 5e848c1434 Remove the "data" attribute from cc_action_type_config.
BEGIN_PUBLIC
Remove the "data" attribute from cc_action_type_config.

Technically speaking, data shouldn't be associated with action types. Instead, data should be associated with either a tool or a set of flags.

For example, instead of the cc_compile action having the header files as a data dependency, the "include_paths" cc_arg should instead declare `data = <header files>`.

This will allow us to, once we have a fully starlark-ified c++ toolchain, do much finer-grained dependencies. This will allow us to, for example, not provide header files to the action when the user enables the feature "nostdlib".
END_PUBLIC

PiperOrigin-RevId: 642434412
Change-Id: Id16fe05a1c86bbaf4718cd36a15f8a9d6afb0163
2024-06-11 16:44:42 -07:00
..
compiler_settings Fix lexicographical order to make Buildifier happy. 2023-09-05 03:15:26 -07:00
load_from_macro Internal change 2020-11-02 13:19:59 -08:00
rule_based_toolchain Remove the "data" attribute from cc_action_type_config. 2024-06-11 16:44:42 -07:00
simple_binary Introduce flag --@rules_cc//:link_extra_libs 2023-02-16 04:15:10 -08:00
system_library Fix internal breakages for rules_cc. 2024-02-09 09:50:57 -08:00