| package(default_visibility = ["//visibility:public"]) | |
| filegroup( | |
| name = "gcc", | |
| srcs = glob(["bin/*-gcc"]), | |
| ) | |
| filegroup( | |
| name = "ar", | |
| srcs = glob(["bin/*-ar"]), | |
| ) | |
| filegroup( | |
| name = "ld", | |
| srcs = glob(["bin/*-ld"]), | |
| ) | |
| filegroup( | |
| name = "nm", | |
| srcs = glob(["bin/*-nm"]), | |
| ) | |
| filegroup( | |
| name = "objcopy", | |
| srcs = glob(["bin/*-objcopy"]), | |
| ) | |
| filegroup( | |
| name = "objdump", | |
| srcs = glob(["bin/*-objdump"]), | |
| ) | |
| filegroup( | |
| name = "strip", | |
| srcs = glob(["bin/*-strip"]), | |
| ) | |
| filegroup( | |
| name = "as", | |
| srcs = glob(["bin/*-as"]), | |
| ) | |
| filegroup( | |
| name = "compiler_pieces", | |
| srcs = glob([ | |
| "arm-linux-gnueabihf/**", | |
| "libexec/**", | |
| "lib/gcc/arm-linux-gnueabihf/**", | |
| "include/**", | |
| ]), | |
| ) | |
| filegroup( | |
| name = "aarch64_compiler_pieces", | |
| srcs = glob([ | |
| "aarch64-none-linux-gnu/**", | |
| "libexec/**", | |
| "lib/gcc/aarch64-none-linux-gnu/**", | |
| "include/**", | |
| ]), | |
| ) | |
| filegroup( | |
| name = "compiler_components", | |
| srcs = [ | |
| ":ar", | |
| ":as", | |
| ":gcc", | |
| ":ld", | |
| ":nm", | |
| ":objcopy", | |
| ":objdump", | |
| ":strip", | |
| ], | |
| ) |