xref: /aosp_15_r20/external/tensorflow/arm_compiler.BUILD (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1package(default_visibility = ["//visibility:public"])
2
3filegroup(
4    name = "gcc",
5    srcs = glob(["bin/*-gcc"]),
6)
7
8filegroup(
9    name = "ar",
10    srcs = glob(["bin/*-ar"]),
11)
12
13filegroup(
14    name = "ld",
15    srcs = glob(["bin/*-ld"]),
16)
17
18filegroup(
19    name = "nm",
20    srcs = glob(["bin/*-nm"]),
21)
22
23filegroup(
24    name = "objcopy",
25    srcs = glob(["bin/*-objcopy"]),
26)
27
28filegroup(
29    name = "objdump",
30    srcs = glob(["bin/*-objdump"]),
31)
32
33filegroup(
34    name = "strip",
35    srcs = glob(["bin/*-strip"]),
36)
37
38filegroup(
39    name = "as",
40    srcs = glob(["bin/*-as"]),
41)
42
43filegroup(
44    name = "compiler_pieces",
45    srcs = glob([
46        "arm-rpi-linux-gnueabihf/**",
47        "libexec/**",
48        "lib/gcc/arm-rpi-linux-gnueabihf/**",
49        "include/**",
50    ]),
51)
52
53filegroup(
54    name = "aarch64_compiler_pieces",
55    srcs = glob([
56        "aarch64-none-linux-gnu/**",
57        "libexec/**",
58        "lib/gcc/aarch64-none-linux-gnu/**",
59        "include/**",
60    ]),
61)
62
63filegroup(
64    name = "compiler_components",
65    srcs = [
66        ":ar",
67        ":as",
68        ":gcc",
69        ":ld",
70        ":nm",
71        ":objcopy",
72        ":objdump",
73        ":strip",
74    ],
75)
76