blob: 43ed151c76f99b036c853578b8d38e10d1a91aee [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",
32 ],
33)
34
35cc_toolchain(
36 name = "cc-compiler-local",
37 all_files = ":empty",
38 compiler_files = ":empty",
39 cpu = "local",
40 dwp_files = ":empty",
41 dynamic_runtime_libs = [":empty"],
42 linker_files = ":empty",
43 objcopy_files = ":empty",
44 static_runtime_libs = [":empty"],
45 strip_files = ":empty",
46 supports_param_files = 0,
47)
48
49cc_toolchain(
50 name = "cc-compiler-armeabi-v7a",
51 all_files = ":empty",
52 compiler_files = ":empty",
53 cpu = "local",
54 dwp_files = ":empty",
55 dynamic_runtime_libs = [":empty"],
56 linker_files = ":empty",
57 objcopy_files = ":empty",
58 static_runtime_libs = [":empty"],
59 strip_files = ":empty",
60 supports_param_files = 0,
61)
62
63cc_toolchain(
64 name = "cc-compiler-k8",
65 all_files = ":empty",
66 compiler_files = ":empty",
67 cpu = "local",
68 dwp_files = ":empty",
69 dynamic_runtime_libs = [":empty"],
70 linker_files = ":empty",
71 objcopy_files = ":empty",
72 static_runtime_libs = [":empty"],
73 strip_files = ":empty",
74 supports_param_files = 0,
75)