blob: 286ea0f86e81972ade0173e4fdbd6d6abc772f8c [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
rosica3fd51292019-08-12 10:24:34 -070017load(":cc_toolchain_config.bzl", "cc_toolchain_config")
rosica71bc38f2019-02-04 02:39:30 -080018
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",
hlopko57bc2012018-05-16 02:15:04 -070038 all_files = ":empty",
Googler28953cb2018-12-05 10:46:00 -080039 ar_files = ":empty",
40 as_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070041 compiler_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070042 dwp_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070043 linker_files = ":empty",
44 objcopy_files = ":empty",
hlopko57bc2012018-05-16 02:15:04 -070045 strip_files = ":empty",
hlopko1a256682019-10-24 07:01:01 -070046 toolchain_config = ":local_config",
47 toolchain_identifier = "local",
hlopko57bc2012018-05-16 02:15:04 -070048)
rosica71bc38f2019-02-04 02:39:30 -080049
rosica3fd51292019-08-12 10:24:34 -070050cc_toolchain_config(name = "local_config")