Skip to content

Commit

Permalink
Create group for c compile actions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Googler authored and copybara-github committed Sep 11, 2024
1 parent 7a67e98 commit da1ac71
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cc/toolchains/actions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -201,7 +208,7 @@ cc_action_type_set(
name = "compile_actions",
actions = [
":cpp_compile_actions",
":c_compile",
":c_compile_actions",
":assembly_actions",
],
)
Expand Down

0 comments on commit da1ac71

Please sign in to comment.