Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame^] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | filegroup( |
| 4 | name = "gcc", |
| 5 | srcs = [ |
| 6 | "bin/arm-linux-gnueabihf-gcc", |
| 7 | ], |
| 8 | ) |
| 9 | |
| 10 | filegroup( |
| 11 | name = "ar", |
| 12 | srcs = [ |
| 13 | "bin/arm-linux-gnueabihf-ar", |
| 14 | ], |
| 15 | ) |
| 16 | |
| 17 | filegroup( |
| 18 | name = "ld", |
| 19 | srcs = [ |
| 20 | "bin/arm-linux-gnueabihf-ld", |
| 21 | ], |
| 22 | ) |
| 23 | |
| 24 | filegroup( |
| 25 | name = "nm", |
| 26 | srcs = [ |
| 27 | "bin/arm-linux-gnueabihf-nm", |
| 28 | ], |
| 29 | ) |
| 30 | |
| 31 | filegroup( |
| 32 | name = "objcopy", |
| 33 | srcs = [ |
| 34 | "bin/arm-linux-gnueabihf-objcopy", |
| 35 | ], |
| 36 | ) |
| 37 | |
| 38 | filegroup( |
| 39 | name = "objdump", |
| 40 | srcs = [ |
| 41 | "bin/arm-linux-gnueabihf-objdump", |
| 42 | ], |
| 43 | ) |
| 44 | |
| 45 | filegroup( |
| 46 | name = "strip", |
| 47 | srcs = [ |
| 48 | "bin/arm-linux-gnueabihf-strip", |
| 49 | ], |
| 50 | ) |
| 51 | |
| 52 | filegroup( |
| 53 | name = "as", |
| 54 | srcs = [ |
| 55 | "bin/arm-linux-gnueabihf-as", |
| 56 | ], |
| 57 | ) |
| 58 | |
| 59 | filegroup( |
| 60 | name = "compiler_pieces", |
| 61 | srcs = glob([ |
| 62 | "arm-linux-gnueabihf/**", |
| 63 | "libexec/**", |
| 64 | "lib/gcc/arm-linux-gnueabihf/**", |
| 65 | "include/**", |
| 66 | ]), |
| 67 | ) |
| 68 | |
| 69 | filegroup( |
| 70 | name = "compiler_components", |
| 71 | srcs = [ |
| 72 | ":ar", |
| 73 | ":as", |
| 74 | ":gcc", |
| 75 | ":ld", |
| 76 | ":nm", |
| 77 | ":objcopy", |
| 78 | ":objdump", |
| 79 | ":strip", |
| 80 | ], |
| 81 | ) |