-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathBUILD.bazel
More file actions
55 lines (46 loc) · 1.2 KB
/
BUILD.bazel
File metadata and controls
55 lines (46 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
load("//rules:cc_test_runner_toolchain.bzl", "cc_test_runner_toolchain")
load("//rules:gdb_qemu_runner.bzl", "gdb_qemu_runner")
load("//rules:qemu_runner.bzl", "qemu_runner")
xcode_config(name = "host_xcodes")
filegroup(
name = "format-config",
srcs = [".clang-format"],
visibility = [":__subpackages__"],
)
filegroup(
name = "tidy-config",
srcs = [".clang-tidy"],
visibility = [":__subpackages__"],
)
alias(
name = "gdb",
actual = "@gdb",
tags = ["manual"],
visibility = ["//visibility:public"],
)
alias(
name = "qemu-system-arm",
actual = "@qemu-system-arm",
visibility = ["//visibility:public"],
)
qemu_runner(
name = "qemu_runner",
visibility = ["//visibility:public"],
)
gdb_qemu_runner(
name = "gdb_qemu_runner",
tags = ["manual"],
visibility = ["//visibility:public"],
)
cc_test_runner_toolchain(
name = "qemu_cc_test_runner_toolchain",
test_runner = "//rules:qemu_semihosting_runner",
)
toolchain(
name = "qemu_test_runner_toolchain",
target_compatible_with = [
"@platforms//os:none",
],
toolchain = ":qemu_cc_test_runner_toolchain",
toolchain_type = "@bazel_tools//tools/cpp:test_runner_toolchain_type",
)