| # Copyright 2020 The IREE Authors |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| default_visibility = ["//visibility:public"], |
| features = ["layering_check"], |
| licenses = ["notice"], # Apache 2.0 |
| # Helper for getting linkopts into libraries in a way we can easily spot and |
| # rewrite from bazel-to-cmake and copybara. |
| name = "default_linkopts", |
| "//iree:iree_is_msvc": [], |
| "//iree:iree_is_android": [ |
| # Android provides its own pthreads support with no linking required. |
| "//conditions:default": [ |
| # Just include libraries that should be presumed in 2020. |
| "//iree:iree_is_msvc": [], |
| "//iree:iree_is_android": [ |
| "//conditions:default": [ |