From da1ac71c8e45e27dd57b19c04373b302c34783ed Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 11 Sep 2024 08:46:11 -0700 Subject: [PATCH] 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 --- cc/toolchains/actions/BUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 @@ -184,6 +184,13 @@ cc_action_type_set( ], ) +cc_action_type_set( + name = "c_compile_actions", + actions = [ + ":c_compile", + ], +) + cc_action_type_set( name = "cpp_compile_actions", actions = [ @@ -201,7 +208,7 @@ cc_action_type_set( name = "compile_actions", actions = [ ":cpp_compile_actions", - ":c_compile", + ":c_compile_actions", ":assembly_actions", ], )