aboutsummaryrefslogtreecommitdiff
path: root/pw_toolchain_bazel/cc_toolchain/defs.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'pw_toolchain_bazel/cc_toolchain/defs.bzl')
-rw-r--r--pw_toolchain_bazel/cc_toolchain/defs.bzl23
1 files changed, 23 insertions, 0 deletions
diff --git a/pw_toolchain_bazel/cc_toolchain/defs.bzl b/pw_toolchain_bazel/cc_toolchain/defs.bzl
index 7847c4eb2..b5340c54b 100644
--- a/pw_toolchain_bazel/cc_toolchain/defs.bzl
+++ b/pw_toolchain_bazel/cc_toolchain/defs.bzl
@@ -20,15 +20,38 @@ load(
_pw_cc_toolchain = "pw_cc_toolchain",
)
load(
+ "//cc_toolchain/private:flag_set.bzl",
+ _pw_cc_flag_group = "pw_cc_flag_group",
+ _pw_cc_flag_set = "pw_cc_flag_set",
+)
+load(
"//cc_toolchain/private:toolchain_feature.bzl",
_pw_cc_toolchain_feature = "pw_cc_toolchain_feature",
)
+load(
+ "//cc_toolchain/private:utils.bzl",
+ _ALL_AR_ACTIONS = "ALL_AR_ACTIONS",
+ _ALL_ASM_ACTIONS = "ALL_ASM_ACTIONS",
+ _ALL_CPP_COMPILER_ACTIONS = "ALL_CPP_COMPILER_ACTIONS",
+ _ALL_C_COMPILER_ACTIONS = "ALL_C_COMPILER_ACTIONS",
+ _ALL_LINK_ACTIONS = "ALL_LINK_ACTIONS",
+)
+
+ALL_ASM_ACTIONS = _ALL_ASM_ACTIONS
+ALL_C_COMPILER_ACTIONS = _ALL_C_COMPILER_ACTIONS
+ALL_CPP_COMPILER_ACTIONS = _ALL_CPP_COMPILER_ACTIONS
+ALL_LINK_ACTIONS = _ALL_LINK_ACTIONS
+ALL_AR_ACTIONS = _ALL_AR_ACTIONS
# TODO(b/301004620): Remove when bazel 7 is released and this constant exists in
# ACTION_NAMES
OBJ_COPY_ACTION_NAME = _OBJ_COPY_ACTION_NAME
OBJ_DUMP_ACTION_NAME = _OBJ_DUMP_ACTION_NAME
+pw_cc_flag_group = _pw_cc_flag_group
+pw_cc_flag_set = _pw_cc_flag_set
+
pw_cc_toolchain = _pw_cc_toolchain
+# TODO: b/309533028 - This is deprecated, and will soon be removed.
pw_cc_toolchain_feature = _pw_cc_toolchain_feature