| package(default_visibility = ["//visibility:public"]) | 
 |  | 
 | cc_library( | 
 |     name = "malloc", | 
 | ) | 
 |  | 
 | cc_library( | 
 |     name = "stl", | 
 | ) | 
 |  | 
 | filegroup( | 
 |     name = "empty", | 
 |     srcs = [], | 
 | ) | 
 |  | 
 | # This is the entry point for --crosstool_top.  Toolchains are found | 
 | # by lopping off the name of --crosstool_top and searching for | 
 | # "cc-compiler-${CPU}" in this BUILD file, where CPU is the target CPU | 
 | # specified in --cpu. | 
 | # | 
 | # This file group should include | 
 | #   * all cc_toolchain targets supported | 
 | #   * all file groups that said cc_toolchain might refer to, | 
 | # including the default_grte_top setting in the CROSSTOOL | 
 | # protobuf. | 
 | filegroup( | 
 |     name = "toolchain", | 
 |     srcs = ["//external:cc_toolchain"], | 
 | ) | 
 |  | 
 | # Hardcoded toolchain, legacy behaviour. | 
 | filegroup( | 
 |     name = "default-toolchain", | 
 |     srcs = [ | 
 |         ":cc-compiler-armeabi-v7a", | 
 |         ":cc-compiler-darwin", | 
 |         ":cc-compiler-freebsd", | 
 |         ":cc-compiler-local", | 
 |         ":cc-compiler-x64_windows", | 
 |         ":cc-compiler-x64_windows_msvc", | 
 |         ":empty", | 
 |     ], | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-local", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "local", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 1, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-armeabi-v7a", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "local", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 1, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-k8", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "local", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 1, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-darwin", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "darwin", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 0, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-freebsd", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "local", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 0, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-x64_windows", | 
 |     all_files = ":empty", | 
 |     compiler_files = ":empty", | 
 |     cpu = "local", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 0, | 
 | ) | 
 |  | 
 | cc_toolchain( | 
 |     name = "cc-compiler-x64_windows_msvc", | 
 |     all_files = ":every-file-x64_windows", | 
 |     compiler_files = ":compile-x64_windows", | 
 |     cpu = "x64_windows", | 
 |     dwp_files = ":empty", | 
 |     dynamic_runtime_libs = [":empty"], | 
 |     linker_files = ":empty", | 
 |     objcopy_files = ":empty", | 
 |     static_runtime_libs = [":empty"], | 
 |     strip_files = ":empty", | 
 |     supports_param_files = 1, | 
 | ) | 
 |  | 
 | filegroup( | 
 |     name = "every-file-x64_windows", | 
 |     srcs = [ | 
 |         ":compile-x64_windows", | 
 |     ], | 
 | ) | 
 |  | 
 | filegroup( | 
 |     name = "compile-x64_windows", | 
 |     srcs = glob([ | 
 |         "wrapper/bin/msvc_*", | 
 |         "wrapper/bin/pydir/msvc*", | 
 |     ]), | 
 | ) | 
 |  | 
 | filegroup( | 
 |     name = "srcs", | 
 |     srcs = glob(["**"]) + ["//tools/cpp/test:srcs"], | 
 | ) |