hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 1 | # 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 | |
| 15 | package(default_visibility = ["//visibility:public"]) |
| 16 | |
rosica | 3fd5129 | 2019-08-12 10:24:34 -0700 | [diff] [blame] | 17 | load(":cc_toolchain_config.bzl", "cc_toolchain_config") |
rosica | 71bc38f | 2019-02-04 02:39:30 -0800 | [diff] [blame] | 18 | |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 19 | cc_library( |
| 20 | name = "malloc", |
| 21 | ) |
| 22 | |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 23 | filegroup( |
| 24 | name = "empty", |
| 25 | srcs = [], |
| 26 | ) |
| 27 | |
| 28 | cc_toolchain_suite( |
| 29 | name = "toolchain", |
| 30 | toolchains = { |
| 31 | "local|local": ":local", |
rosica | 547bf42 | 2018-09-06 02:10:02 -0700 | [diff] [blame] | 32 | "local": ":local", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 33 | }, |
| 34 | ) |
| 35 | |
| 36 | cc_toolchain( |
| 37 | name = "local", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 38 | all_files = ":empty", |
Googler | 28953cb | 2018-12-05 10:46:00 -0800 | [diff] [blame] | 39 | ar_files = ":empty", |
| 40 | as_files = ":empty", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 41 | compiler_files = ":empty", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 42 | dwp_files = ":empty", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 43 | linker_files = ":empty", |
| 44 | objcopy_files = ":empty", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 45 | strip_files = ":empty", |
hlopko | 1a25668 | 2019-10-24 07:01:01 -0700 | [diff] [blame] | 46 | toolchain_config = ":local_config", |
| 47 | toolchain_identifier = "local", |
hlopko | 57bc201 | 2018-05-16 02:15:04 -0700 | [diff] [blame] | 48 | ) |
rosica | 71bc38f | 2019-02-04 02:39:30 -0800 | [diff] [blame] | 49 | |
rosica | 3fd5129 | 2019-08-12 10:24:34 -0700 | [diff] [blame] | 50 | cc_toolchain_config(name = "local_config") |