2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-27 20:43:26 +00:00
rules_cc/tests/rule_based_toolchain
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
..
action_type_config Remove the "data" attribute from cc_action_type_config. 2024-06-11 16:44:42 -07:00
actions BEGIN_PUBLIC 2024-02-20 15:54:10 -08:00
args Refactor AddArgsInfo into ExpandArgsInfo 2024-03-14 16:28:07 -07:00
args_list Rename additional_files to data. 2024-03-13 04:22:40 -07:00
features Implement provides in rule based toolchain. 2024-03-25 23:44:03 -07:00
nested_args Gather variable metadata for the new rule-based toolchain. 2024-04-04 16:13:02 -07:00
testdata Create a cc_directory_tool rule. 2024-06-03 16:24:27 -07:00
tool Create a cc_directory_tool rule. 2024-06-03 16:24:27 -07:00
toolchain_config Remove support for args from action_type_config. 2024-06-11 16:35:03 -07:00
variables Implement flag_group in the new rule-based toolchain. 2024-04-05 01:47:45 -07:00
analysis_test_suite.bzl BEGIN_PUBLIC 2024-02-20 15:54:10 -08:00
BUILD BEGIN_PUBLIC 2024-02-20 15:54:10 -08:00
generate_factory.bzl BEGIN_PUBLIC 2024-03-05 15:15:39 -08:00
generics.bzl Implement cc_toolchain_config rule and cc_legacy_file_group rule. 2024-03-05 15:58:06 -08:00
subjects.bzl Remove support for args from action_type_config. 2024-06-11 16:35:03 -07:00