blob: a29003c04d3349f047af3b331ef16fd9568db986 [file] [log] [blame]
Brian Silverman12b3fc52015-10-11 19:38:33 -04001package(default_visibility = ["//visibility:public"])
2
3cc_library(
4 name = "malloc",
5)
6
7cc_library(
8 name = "stl",
9)
10
11filegroup(
12 name = "empty",
13 srcs = [],
14)
15
16# This is the entry point for --crosstool_top. Toolchains are found
17# by lopping off the name of --crosstool_top and searching for
18# "cc-compiler-${CPU}" in this BUILD file, where CPU is the target CPU
19# specified in --cpu.
20#
21# This file group should include
22# * all cc_toolchain targets supported
23# * all file groups that said cc_toolchain might refer to,
24# including the default_grte_top setting in the CROSSTOOL
25# protobuf.
26filegroup(
27 name = "toolchain",
28 srcs = [
29 ":cc-compiler-armeabi-v7a",
30 ":cc-compiler-local",
31 ":cc-compiler-k8",
Austin Schuh23da18b2015-10-11 20:52:49 -070032 ":cc-compiler-roborio",
Brian Silverman12b3fc52015-10-11 19:38:33 -040033 ],
34)
35
36cc_toolchain(
37 name = "cc-compiler-local",
38 all_files = ":empty",
39 compiler_files = ":empty",
40 cpu = "local",
41 dwp_files = ":empty",
42 dynamic_runtime_libs = [":empty"],
43 linker_files = ":empty",
44 objcopy_files = ":empty",
45 static_runtime_libs = [":empty"],
46 strip_files = ":empty",
47 supports_param_files = 0,
48)
49
50cc_toolchain(
51 name = "cc-compiler-armeabi-v7a",
52 all_files = ":empty",
53 compiler_files = ":empty",
54 cpu = "local",
55 dwp_files = ":empty",
56 dynamic_runtime_libs = [":empty"],
57 linker_files = ":empty",
58 objcopy_files = ":empty",
59 static_runtime_libs = [":empty"],
60 strip_files = ":empty",
61 supports_param_files = 0,
62)
63
64cc_toolchain(
65 name = "cc-compiler-k8",
66 all_files = ":empty",
67 compiler_files = ":empty",
68 cpu = "local",
69 dwp_files = ":empty",
70 dynamic_runtime_libs = [":empty"],
71 linker_files = ":empty",
72 objcopy_files = ":empty",
73 static_runtime_libs = [":empty"],
74 strip_files = ":empty",
75 supports_param_files = 0,
76)
Austin Schuh23da18b2015-10-11 20:52:49 -070077
78cc_toolchain(
79 name = "cc-compiler-roborio",
80 all_files = ":empty",
81 compiler_files = ":empty",
82 cpu = "local",
83 dwp_files = ":empty",
84 dynamic_runtime_libs = [":empty"],
85 linker_files = ":empty",
86 objcopy_files = ":empty",
87 static_runtime_libs = [":empty"],
88 strip_files = ":empty",
89 supports_param_files = 0,
90)