blob: 2c7914278790a41912b938ad457a740977104526 [file] [log] [blame]
Brian Silverman0d57fc82016-01-24 21:02:53 -05001package(default_visibility = ['//tools/cpp:__pkg__'])
2
3cc_library(
4 name = 'libpthread',
5 visibility = ['//visibility:public'],
6 srcs = [
7 'clang_more_libs/libpthread.so',
8 ],
9)
10
11filegroup(
12 name = 'gcc',
13 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080014 '@linaro_linux_gcc_4_9_repo//:gcc',
Brian Silverman0d57fc82016-01-24 21:02:53 -050015 'arm-linux-gnueabihf-gcc',
16 ],
17)
18
19filegroup(
20 name = 'ar',
21 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080022 '@linaro_linux_gcc_4_9_repo//:ar',
Brian Silverman0d57fc82016-01-24 21:02:53 -050023 'arm-linux-gnueabihf-ar',
24 ],
25)
26
27filegroup(
28 name = 'ld',
29 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080030 '@linaro_linux_gcc_4_9_repo//:ld',
Brian Silverman0d57fc82016-01-24 21:02:53 -050031 'arm-linux-gnueabihf-ld',
32 ],
33)
34
35filegroup(
36 name = 'nm',
37 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080038 '@linaro_linux_gcc_4_9_repo//:nm',
Brian Silverman0d57fc82016-01-24 21:02:53 -050039 'arm-linux-gnueabihf-nm',
40 ],
41)
42
43filegroup(
44 name = 'objcopy',
45 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080046 '@linaro_linux_gcc_4_9_repo//:objcopy',
Brian Silverman0d57fc82016-01-24 21:02:53 -050047 'arm-linux-gnueabihf-objcopy',
48 ],
49)
50
51filegroup(
52 name = 'objdump',
53 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080054 '@linaro_linux_gcc_4_9_repo//:objdump',
Brian Silverman0d57fc82016-01-24 21:02:53 -050055 'arm-linux-gnueabihf-objdump',
56 ],
57)
58
59filegroup(
60 name = 'strip',
61 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080062 '@linaro_linux_gcc_4_9_repo//:strip',
Brian Silverman0d57fc82016-01-24 21:02:53 -050063 'arm-linux-gnueabihf-strip',
64 ],
65)
66
67filegroup(
68 name = 'as',
69 srcs = [
Austin Schuh61660832016-03-04 21:56:39 -080070 '@linaro_linux_gcc_4_9_repo//:as',
Brian Silverman0d57fc82016-01-24 21:02:53 -050071 'arm-linux-gnueabihf-as',
72 ],
73)
74
75filegroup(
76 name = 'clang',
77 srcs = [
78 'clang_bin/clang',
79 ],
80)
81
82filegroup(
83 name = 'clang-ld',
84 srcs = [
85 'clang_bin/ld',
86 ':ld',
87 ],
88)
89
90filegroup(
91 name = 'tool-wrappers',
92 srcs = [
93 ':gcc',
94 ':ar',
95 ':ld',
96 ':nm',
97 ':objcopy',
98 ':objdump',
99 ':strip',
100 ':as',
101 'clang_bin/as',
102 ':clang',
103 ':clang-ld',
104 ],
105)
106
107filegroup(
108 name = 'clang-symlinks',
109 srcs = glob([
110 'clang_more_libs/**',
111 'clang_syroot/**',
112 ]),
113)