Skip to content

Commit

Permalink
Move to internal package
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed May 16, 2024
1 parent a775661 commit 015760e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crosstool/apple_cc_configure_extension.bzl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Extension configuring the C++ toolchain on macOS."""

load("@bazel_skylib//lib:modules.bzl", "modules")
load(":setup_internal.bzl", "apple_cc_autoconf", "apple_cc_autoconf_toolchains")
load("//crosstool/internal:setup.bzl", "apple_cc_autoconf", "apple_cc_autoconf_toolchains")

def _apple_cc_configure_extension_impl():
apple_cc_autoconf_toolchains(name = "local_config_apple_cc_toolchains")
Expand Down
Empty file added crosstool/internal/BUILD.bazel
Empty file.
2 changes: 0 additions & 2 deletions crosstool/setup_internal.bzl → crosstool/internal/setup.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

load("//crosstool:osx_cc_configure.bzl", "configure_osx_toolchain")

visibility("private")

_DISABLE_ENV_VAR = "BAZEL_NO_APPLE_CPP_TOOLCHAIN"
_OLD_DISABLE_ENV_VAR = "BAZEL_USE_CPP_ONLY_TOOLCHAIN"

Expand Down
2 changes: 1 addition & 1 deletion crosstool/setup.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Configure the Apple CC toolchain"""

load(":setup_internal.bzl", "apple_cc_autoconf", "apple_cc_autoconf_toolchains")
load("//crosstool/internal:setup_internal.bzl", "apple_cc_autoconf", "apple_cc_autoconf_toolchains")

# buildifier: disable=unnamed-macro
def apple_cc_configure():
Expand Down

0 comments on commit 015760e

Please sign in to comment.