blob: 577f0b823801c9765976b9d4c2813add1737581d [file] [log] [blame]
hlopko57bc2012018-05-16 02:15:04 -07001# Copyright 2018 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15package(default_visibility = ["//visibility:public"])
16
rosica71bc38f2019-02-04 02:39:30 -080017load("@bazel_tools//tools/cpp:cc_toolchain_config.bzl", "cc_toolchain_config")
18
hlopko57bc2012018-05-16 02:15:04 -070019cc_library(
20 name = "malloc",
21)
22
hlopko57bc2012018-05-16 02:15:04 -070023filegroup(
24 name = "empty",
25 srcs = [],
26)
27
28cc_toolchain_suite(
29 name = "toolchain",
30 toolchains = {
31 "local|local": ":local",
rosica547bf422018-09-06 02:10:02 -070032 "local": ":local",
hlopko57bc2012018-05-16 02:15:04 -070033 },
34)
35
36cc_toolchain(
37 name = "local",
hlopkoc3fb1db2018-10-09 20:40:58 -070038 toolchain_identifier = "local",
rosica71bc38f2019-02-04 02:39:30 -080039 toolchain_config = ":local_config",
hlopko57bc2012018-05-16 02:15:04 -070040 all_files = ":empty",
Googler28953cb2018-12-05 10:46:00 -080041 ar_files = ":empty",
42 as_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070043 compiler_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070044 dwp_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070045 linker_files = ":empty",
46 objcopy_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070047 strip_files = ":empty",
48)
rosica71bc38f2019-02-04 02:39:30 -080049
50cc_toolchain_config(
51 name = "local_config",
52 cpu = "local",
53 compiler = "compiler",
54)