| 1 |
# This file is licensed under the Apache License v2.0 with LLVM Exceptions. |
| 2 |
# See https://llvm.org/LICENSE.txt for license information. |
| 3 |
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 4 |
|
| 5 |
package( |
| 6 |
default_visibility = ["//visibility:public"], |
| 7 |
features = ["layering_check"], |
| 8 |
) |
| 9 |
|
| 10 |
licenses(["notice"]) |
| 11 |
|
| 12 |
[ |
| 13 |
cc_test( |
| 14 |
name = "{}".format(file.split(".")[0]), |
| 15 |
srcs = [file] + glob(["*.h"]), |
| 16 |
deps = [ |
| 17 |
"//compiler-rt:orc_rt", |
| 18 |
"//compiler-rt:orc_rt_common_headers", |
| 19 |
"//third-party/unittest:gtest", |
| 20 |
"//third-party/unittest:gtest_main", |
| 21 |
], |
| 22 |
) |
| 23 |
for file in glob( |
| 24 |
["*.cpp"], |
| 25 |
# TODO: Broken with older libc++ versions, currently unused anyways |
| 26 |
exclude = ["interval_set_test.cpp"], |
| 27 |
) |
| 28 |
] |