| package(default_visibility = ["//visibility:public"]) |
| |
| cc_toolchain_suite( |
| name = "toolchain", |
| toolchains = { |
| "armeabi|compiler": ":cc-compiler-armeabi", |
| "local|compiler": ":cc-compiler-local", |
| }, |
| ) |
| |
| filegroup( |
| name = "empty", |
| srcs = [], |
| ) |
| |
| filegroup( |
| name = "arm_linux_all_files", |
| srcs = [ |
| "@arm_compiler//:compiler_pieces", |
| ], |
| ) |
| |
| 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", |
| all_files = ":arm_linux_all_files", |
| compiler_files = ":arm_linux_all_files", |
| cpu = "armeabi", |
| dwp_files = ":empty", |
| dynamic_runtime_libs = [":empty"], |
| linker_files = ":arm_linux_all_files", |
| objcopy_files = "arm_linux_all_files", |
| static_runtime_libs = [":empty"], |
| strip_files = "arm_linux_all_files", |
| supports_param_files = 1, |
| ) |