rules_cc/cc
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 Fix licensing errors and add default condition for `local_defines`. 2023-07-18 07:27:57 -07:00
private Remove redundant "# copybara-use-repo-external-label" 2023-02-16 04:17:58 -08:00
proto Create toolchain types for proto_library and lang_proto_library 2023-09-18 12:30:14 -07:00
runfiles The targets in the old package were either not publicly visible or testonly dependencies and had diverged heavily from @bazel_tools. 2023-01-10 02:00:52 -08:00
toolchains Remove the "data" attribute from cc_action_type_config. 2024-06-11 16:44:42 -07:00
BUILD Remove `cc_host_toolchain_alias` target. 2023-05-02 06:19:53 -07:00
action_names.bzl Implement action types for the configurable cc toolchain. 2024-02-12 18:54:59 -08:00
cc_toolchain_config_lib.bzl Add documentation for rule-based bazel toolchain configuration 2024-02-12 18:22:13 -08:00
defs.bzl Fix the load broken by a new version of buildifier. 2024-04-05 00:59:04 -07:00
extensions.bzl Automated rollback of commit 48881f1f45. 2023-01-11 02:48:25 -08:00
find_cc_toolchain.bzl Merge pull request #146 from bazelbuild:meteorcloudy-patch-1 2022-09-19 13:51:00 +00:00
repositories.bzl Copybara Merge: https://github.com/bazelbuild/rules_cc/pull/165 2023-01-11 04:33:23 -08:00
system_library.bzl Merge pull request #79 from agluszak:system_library 2020-09-23 06:28:04 -07:00
toolchain_utils.bzl Fix buildifier warnings in @rules_cc 2019-10-24 07:01:25 -07:00