Deleted deprecated `bzl` files and packages (#608)

This commit is contained in:
UebelAndre 2021-04-13 12:09:46 -07:00 committed by GitHub
parent 2d98051813
commit b03693d108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 0 additions and 677 deletions

View File

@ -14,7 +14,6 @@ bzl_library(
visibility = ["//visibility:public"],
deps = [
":bazel_tools_bzl_srcs",
"//for_workspace:bzl_srcs",
"//foreign_cc:bzl_srcs",
"//toolchains:bzl_srcs",
],

View File

@ -1,15 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
exports_files(
[
"make_build.bzl",
"cmake_build.bzl",
"ninja_build.bzl",
],
)
bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
visibility = ["//:__subpackages__"],
)

View File

@ -1,8 +0,0 @@
""" This module is deprecated and has been moved to `//toolchains/built_tools/...` """
load("//foreign_cc/built_tools:cmake_build.bzl", _cmake_tool = "cmake_tool")
load(":deprecation.bzl", "print_deprecation")
print_deprecation()
cmake_tool = _cmake_tool

View File

@ -1,10 +0,0 @@
"""A helper module to inform users this package is deprecated"""
def print_deprecation():
# buildifier: disable=print
print(
"`@rules_foreign_cc//for_workspace/...` is deprecated, please " +
"find the relevant symbols in `@rules_foreign_cc//foreign_cc/built_tools/...`. " +
"Note that the core rules can now be loaded from " +
"`@rules_foreign_cc//foreign_cc:defs.bzl`",
)

View File

@ -1,8 +0,0 @@
""" This module is deprecated and has been moved to `//toolchains/built_tools/...` """
load("//foreign_cc/built_tools:make_build.bzl", _make_tool = "make_tool")
load(":deprecation.bzl", "print_deprecation")
print_deprecation()
make_tool = _make_tool

View File

@ -1,8 +0,0 @@
""" This module is deprecated and has been moved to `//toolchains/built_tools/...` """
load("//foreign_cc/built_tools:ninja_build.bzl", _ninja_tool = "ninja_tool")
load(":deprecation.bzl", "print_deprecation")
print_deprecation()
ninja_tool = _ninja_tool

View File

@ -1,23 +0,0 @@
""" Remote repositories, used by this project itself """
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
# buildifier: disable=print
print("@rules_foreign_cc//for_workspace:repositories.bzl is deprecated and will be removed in the near future")
def repositories():
"""Declare repositories used by `rules_foreign_cc`"""
# buildifier: disable=print
print("This macro is deprecated and will soon be removed")
maybe(
http_archive,
name = "bazel_skylib",
sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
],
)

View File

@ -1,8 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
visibility = ["//:__subpackages__"],
deps = [],
)

View File

@ -1,8 +0,0 @@
""" Rule for building Boost from sources. """
load("//foreign_cc:defs.bzl", _boost_build = "boost_build")
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
boost_build = _boost_build

View File

@ -1,30 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:cc_toolchain_util.bzl",
_CxxFlagsInfo = "CxxFlagsInfo",
_CxxToolsInfo = "CxxToolsInfo",
_LibrariesToLinkInfo = "LibrariesToLinkInfo",
_absolutize_path_in_str = "absolutize_path_in_str",
_create_linking_info = "create_linking_info",
_get_env_vars = "get_env_vars",
_get_flags_info = "get_flags_info",
_get_tools_info = "get_tools_info",
_is_debug_mode = "is_debug_mode",
_targets_windows = "targets_windows",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
CxxFlagsInfo = _CxxFlagsInfo
CxxToolsInfo = _CxxToolsInfo
LibrariesToLinkInfo = _LibrariesToLinkInfo
absolutize_path_in_str = _absolutize_path_in_str
create_linking_info = _create_linking_info
get_env_vars = _get_env_vars
get_flags_info = _get_flags_info
get_tools_info = _get_tools_info
is_debug_mode = _is_debug_mode
targets_windows = _targets_windows

View File

@ -1,13 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
load("//foreign_cc:defs.bzl", _cmake = "cmake")
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
cmake = _cmake
# This is an alias to the underlying rule and is
# kept around for legacy compaitiblity. This should
# not be removed without sufficent warning.
cmake_external = _cmake

View File

@ -1,12 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:cmake_script.bzl",
_create_cmake_script = "create_cmake_script",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
create_cmake_script = _create_cmake_script

View File

@ -1,8 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
load("//foreign_cc:defs.bzl", _configure_make = "configure_make")
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
configure_make = _configure_make

View File

@ -1,16 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:configure_script.bzl",
_create_configure_script = "create_configure_script",
_create_make_script = "create_make_script",
_get_env_vars = "get_env_vars",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
create_configure_script = _create_configure_script
create_make_script = _create_make_script
get_env_vars = _get_env_vars

View File

@ -1,10 +0,0 @@
"""A helper module to inform users this package is deprecated"""
def print_deprecation():
# buildifier: disable=print
print(
"`@rules_foreign_cc//tools/build_defs/...` is deprecated, please " +
"find the relevant symbols in `@rules_foreign_cc//foreign_cc/...`. " +
"Note that the core rules can now be loaded from " +
"`@rules_foreign_cc//foreign_cc:defs.bzl`",
)

View File

@ -1,14 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:detect_root.bzl",
_detect_root = "detect_root",
_filter_containing_dirs_from_inputs = "filter_containing_dirs_from_inputs",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
detect_root = _detect_root
filter_containing_dirs_from_inputs = _filter_containing_dirs_from_inputs

View File

@ -1,39 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:framework.bzl",
_CC_EXTERNAL_RULE_ATTRIBUTES = "CC_EXTERNAL_RULE_ATTRIBUTES",
_ConfigureParameters = "ConfigureParameters",
_InputFiles = "InputFiles",
_WrappedOutputs = "WrappedOutputs",
_cc_external_rule_impl = "cc_external_rule_impl",
_create_attrs = "create_attrs",
_get_foreign_cc_dep = "get_foreign_cc_dep",
_uniq_list_keep_order = "uniq_list_keep_order",
_wrap_outputs = "wrap_outputs",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
CC_EXTERNAL_RULE_ATTRIBUTES = _CC_EXTERNAL_RULE_ATTRIBUTES
cc_external_rule_impl = _cc_external_rule_impl
# buildifier: disable=name-conventions
ConfigureParameters = _ConfigureParameters
create_attrs = _create_attrs
get_foreign_cc_dep = _get_foreign_cc_dep
# buildifier: disable=name-conventions
InputFiles = _InputFiles
uniq_list_keep_order = _uniq_list_keep_order
wrap_outputs = _wrap_outputs
# buildifier: disable=name-conventions
WrappedOutputs = _WrappedOutputs

View File

@ -1,8 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
load("//foreign_cc:defs.bzl", _make = "make")
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
make = _make

View File

@ -1,8 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
load("//foreign_cc:defs.bzl", _ninja = "ninja")
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
ninja = _ninja

View File

@ -1,17 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:run_shell_file_utils.bzl",
_CreatedByScript = "CreatedByScript",
_copy_directory = "copy_directory",
_fictive_file_in_genroot = "fictive_file_in_genroot",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
# buildifier: disable=name-conventions
CreatedByScript = _CreatedByScript
fictive_file_in_genroot = _fictive_file_in_genroot
copy_directory = _copy_directory

View File

@ -1,30 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private:shell_script_helper.bzl",
_convert_shell_script = "convert_shell_script",
_convert_shell_script_by_context = "convert_shell_script_by_context",
_create_function = "create_function",
_do_function_call = "do_function_call",
_extract_wrapped = "extract_wrapped",
_get_function_name = "get_function_name",
_os_name = "os_name",
_replace_exports = "replace_exports",
_replace_var_ref = "replace_var_ref",
_split_arguments = "split_arguments",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
os_name = _os_name
create_function = _create_function
convert_shell_script = _convert_shell_script
convert_shell_script_by_context = _convert_shell_script_by_context
replace_var_ref = _replace_var_ref
replace_exports = _replace_exports
get_function_name = _get_function_name
extract_wrapped = _extract_wrapped
do_function_call = _do_function_call
split_arguments = _split_arguments

View File

@ -1,7 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
visibility = ["//:__subpackages__"],
)

View File

@ -1,12 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/polymorphism:generate_overloads.bzl",
_generate_overloads = "generate_overloads",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
generate_overloads = _generate_overloads

View File

@ -1,17 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
alias(
name = "shell_commands",
actual = "//foreign_cc/private/shell_toolchain/toolchains:shell_commands",
deprecation = "This target has been moved to `@rules_foreign_cc//foreign_cc/private/shell_toolchain/toolchains:shell_commands`",
visibility = ["//visibility:public"],
)
bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]) + [
"@rules_foreign_cc_commands_overloads//:toolchain_data_defs.bzl",
],
visibility = ["//:__subpackages__"],
deps = ["//foreign_cc/private/shell_toolchain/toolchains/impl:bzl_srcs"],
)

View File

@ -1,16 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:access.bzl",
_call_shell = "call_shell",
_check_argument_types = "check_argument_types",
_create_context = "create_context",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
create_context = _create_context
call_shell = _call_shell
check_argument_types = _check_argument_types

View File

@ -1,16 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:commands.bzl",
_ArgumentInfo = "ArgumentInfo",
_CommandInfo = "CommandInfo",
_PLATFORM_COMMANDS = "PLATFORM_COMMANDS",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
CommandInfo = _CommandInfo
ArgumentInfo = _ArgumentInfo
PLATFORM_COMMANDS = _PLATFORM_COMMANDS

View File

@ -1,16 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:defs.bzl",
_build_part = "build_part",
_register_mappings = "register_mappings",
_toolchain_data = "toolchain_data",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
build_part = _build_part
register_mappings = _register_mappings
toolchain_data = _toolchain_data

View File

@ -1,13 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:function_and_call.bzl",
_FunctionAndCall = "FunctionAndCall",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
# buildifier: disable=name-conventions
FunctionAndCall = _FunctionAndCall

View File

@ -1,7 +0,0 @@
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
bzl_library(
name = "bzl_srcs",
srcs = glob(["**/*.bzl"]),
visibility = ["//:__subpackages__"],
)

View File

@ -1,60 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:impl/default_commands.bzl",
_assert_script_errors = "assert_script_errors",
_cat = "cat",
_children_to_path = "children_to_path",
_cleanup_function = "cleanup_function",
_copy_dir_contents_to_dir = "copy_dir_contents_to_dir",
_define_absolute_paths = "define_absolute_paths",
_define_function = "define_function",
_echo = "echo",
_env = "env",
_export_var = "export_var",
_if_else = "if_else",
_increment_pkg_config_path = "increment_pkg_config_path",
_local_var = "local_var",
_mkdirs = "mkdirs",
_os_name = "os_name",
_path = "path",
_pwd = "pwd",
_redirect_out_err = "redirect_out_err",
_replace_absolute_paths = "replace_absolute_paths",
_replace_in_files = "replace_in_files",
_script_prelude = "script_prelude",
_symlink_contents_to_dir = "symlink_contents_to_dir",
_symlink_to_dir = "symlink_to_dir",
_touch = "touch",
_use_var = "use_var",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
assert_script_errors = _assert_script_errors
cat = _cat
children_to_path = _children_to_path
cleanup_function = _cleanup_function
copy_dir_contents_to_dir = _copy_dir_contents_to_dir
define_absolute_paths = _define_absolute_paths
define_function = _define_function
echo = _echo
env = _env
export_var = _export_var
if_else = _if_else
increment_pkg_config_path = _increment_pkg_config_path
local_var = _local_var
mkdirs = _mkdirs
os_name = _os_name
path = _path
pwd = _pwd
redirect_out_err = _redirect_out_err
replace_absolute_paths = _replace_absolute_paths
replace_in_files = _replace_in_files
script_prelude = _script_prelude
symlink_contents_to_dir = _symlink_contents_to_dir
symlink_to_dir = _symlink_to_dir
touch = _touch
use_var = _use_var

View File

@ -1,60 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:impl/linux_commands.bzl",
_assert_script_errors = "assert_script_errors",
_cat = "cat",
_children_to_path = "children_to_path",
_cleanup_function = "cleanup_function",
_copy_dir_contents_to_dir = "copy_dir_contents_to_dir",
_define_absolute_paths = "define_absolute_paths",
_define_function = "define_function",
_echo = "echo",
_env = "env",
_export_var = "export_var",
_if_else = "if_else",
_increment_pkg_config_path = "increment_pkg_config_path",
_local_var = "local_var",
_mkdirs = "mkdirs",
_os_name = "os_name",
_path = "path",
_pwd = "pwd",
_redirect_out_err = "redirect_out_err",
_replace_absolute_paths = "replace_absolute_paths",
_replace_in_files = "replace_in_files",
_script_prelude = "script_prelude",
_symlink_contents_to_dir = "symlink_contents_to_dir",
_symlink_to_dir = "symlink_to_dir",
_touch = "touch",
_use_var = "use_var",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
assert_script_errors = _assert_script_errors
cat = _cat
children_to_path = _children_to_path
cleanup_function = _cleanup_function
copy_dir_contents_to_dir = _copy_dir_contents_to_dir
define_absolute_paths = _define_absolute_paths
define_function = _define_function
echo = _echo
env = _env
export_var = _export_var
if_else = _if_else
increment_pkg_config_path = _increment_pkg_config_path
local_var = _local_var
mkdirs = _mkdirs
os_name = _os_name
path = _path
pwd = _pwd
redirect_out_err = _redirect_out_err
replace_absolute_paths = _replace_absolute_paths
replace_in_files = _replace_in_files
script_prelude = _script_prelude
symlink_contents_to_dir = _symlink_contents_to_dir
symlink_to_dir = _symlink_to_dir
touch = _touch
use_var = _use_var

View File

@ -1,60 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:impl/macos_commands.bzl",
_assert_script_errors = "assert_script_errors",
_cat = "cat",
_children_to_path = "children_to_path",
_cleanup_function = "cleanup_function",
_copy_dir_contents_to_dir = "copy_dir_contents_to_dir",
_define_absolute_paths = "define_absolute_paths",
_define_function = "define_function",
_echo = "echo",
_env = "env",
_export_var = "export_var",
_if_else = "if_else",
_increment_pkg_config_path = "increment_pkg_config_path",
_local_var = "local_var",
_mkdirs = "mkdirs",
_os_name = "os_name",
_path = "path",
_pwd = "pwd",
_redirect_out_err = "redirect_out_err",
_replace_absolute_paths = "replace_absolute_paths",
_replace_in_files = "replace_in_files",
_script_prelude = "script_prelude",
_symlink_contents_to_dir = "symlink_contents_to_dir",
_symlink_to_dir = "symlink_to_dir",
_touch = "touch",
_use_var = "use_var",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
assert_script_errors = _assert_script_errors
cat = _cat
children_to_path = _children_to_path
cleanup_function = _cleanup_function
copy_dir_contents_to_dir = _copy_dir_contents_to_dir
define_absolute_paths = _define_absolute_paths
define_function = _define_function
echo = _echo
env = _env
export_var = _export_var
if_else = _if_else
increment_pkg_config_path = _increment_pkg_config_path
local_var = _local_var
mkdirs = _mkdirs
os_name = _os_name
path = _path
pwd = _pwd
redirect_out_err = _redirect_out_err
replace_absolute_paths = _replace_absolute_paths
replace_in_files = _replace_in_files
script_prelude = _script_prelude
symlink_contents_to_dir = _symlink_contents_to_dir
symlink_to_dir = _symlink_to_dir
touch = _touch
use_var = _use_var

View File

@ -1,60 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:impl/windows_commands.bzl",
_assert_script_errors = "assert_script_errors",
_cat = "cat",
_children_to_path = "children_to_path",
_cleanup_function = "cleanup_function",
_copy_dir_contents_to_dir = "copy_dir_contents_to_dir",
_define_absolute_paths = "define_absolute_paths",
_define_function = "define_function",
_echo = "echo",
_env = "env",
_export_var = "export_var",
_if_else = "if_else",
_increment_pkg_config_path = "increment_pkg_config_path",
_local_var = "local_var",
_mkdirs = "mkdirs",
_os_name = "os_name",
_path = "path",
_pwd = "pwd",
_redirect_out_err = "redirect_out_err",
_replace_absolute_paths = "replace_absolute_paths",
_replace_in_files = "replace_in_files",
_script_prelude = "script_prelude",
_symlink_contents_to_dir = "symlink_contents_to_dir",
_symlink_to_dir = "symlink_to_dir",
_touch = "touch",
_use_var = "use_var",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
assert_script_errors = _assert_script_errors
cat = _cat
children_to_path = _children_to_path
cleanup_function = _cleanup_function
copy_dir_contents_to_dir = _copy_dir_contents_to_dir
define_absolute_paths = _define_absolute_paths
define_function = _define_function
echo = _echo
env = _env
export_var = _export_var
if_else = _if_else
increment_pkg_config_path = _increment_pkg_config_path
local_var = _local_var
mkdirs = _mkdirs
os_name = _os_name
path = _path
pwd = _pwd
redirect_out_err = _redirect_out_err
replace_absolute_paths = _replace_absolute_paths
replace_in_files = _replace_in_files
script_prelude = _script_prelude
symlink_contents_to_dir = _symlink_contents_to_dir
symlink_to_dir = _symlink_to_dir
touch = _touch
use_var = _use_var

View File

@ -1,15 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:toolchain_mappings.bzl",
_TOOLCHAIN_MAPPINGS = "TOOLCHAIN_MAPPINGS",
_ToolchainMapping = "ToolchainMapping",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
# buildifier: disable=name-conventions
ToolchainMapping = _ToolchainMapping
TOOLCHAIN_MAPPINGS = _TOOLCHAIN_MAPPINGS

View File

@ -1,12 +0,0 @@
"""DEPRECATED: Please use the sources in `@rules_foreign_cc//foreign_cc/...`"""
# buildifier: disable=bzl-visibility
load(
"//foreign_cc/private/shell_toolchain/toolchains:ws_defs.bzl",
_workspace_part = "workspace_part",
)
load("//tools/build_defs:deprecation.bzl", "print_deprecation")
print_deprecation()
workspace_part = _workspace_part

View File

@ -1,12 +0,0 @@
"""Deprecated in favor of `//foreign_cc:repositories.bzl"""
load("//foreign_cc:repositories.bzl", _rules_foreign_cc_dependencies = "rules_foreign_cc_dependencies")
# buildifier: disable=print
print(
"`@rules_foreign_cc//:workspace_definitions.bzl` has been replaced by " +
"`@rules_foreign_cc//foreign_cc:repositories.bzl`. Please use the " +
"updated source location",
)
rules_foreign_cc_dependencies = _rules_foreign_cc_dependencies