Create group for c compile actions
BEGIN_PUBLIC
Create group for c compile actions
Adds `c_compile_actions` group to provide a logical C equivalent for `cpp_compile_actions`.
END_PUBLIC
PiperOrigin-RevId: 673408772
Change-Id: Ic5ccb57bc1fa7a98999d944316b97a39aac571ac
diff --git a/cc/toolchains/actions/BUILD b/cc/toolchains/actions/BUILD
index e122f5c..164a336 100644
--- a/cc/toolchains/actions/BUILD
+++ b/cc/toolchains/actions/BUILD
@@ -185,6 +185,13 @@
)
cc_action_type_set(
+ name = "c_compile_actions",
+ actions = [
+ ":c_compile",
+ ],
+)
+
+cc_action_type_set(
name = "cpp_compile_actions",
actions = [
":linkstamp_compile",
@@ -201,7 +208,7 @@
name = "compile_actions",
actions = [
":cpp_compile_actions",
- ":c_compile",
+ ":c_compile_actions",
":assembly_actions",
],
)