forked from erenon/bazel_clang_tidy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
35 lines (30 loc) · 829 Bytes
/
BUILD
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
filegroup(
name = "clang_tidy_config_default",
srcs = [
".clang-tidy",
# '//example:clang_tidy_config', # add package specific configs if needed
],
)
label_flag(
name = "clang_tidy_config",
build_setting_default = ":clang_tidy_config_default",
visibility = ["//visibility:public"],
)
filegroup(
name = "clang_tidy_executable_default",
srcs = [], # empty list: system clang-tidy
)
label_flag(
name = "clang_tidy_executable",
build_setting_default = ":clang_tidy_executable_default",
visibility = ["//visibility:public"],
)
filegroup(
name = "clang_tidy_additional_deps_default",
srcs = [],
)
label_flag(
name = "clang_tidy_additional_deps",
build_setting_default = ":clang_tidy_additional_deps_default",
visibility = ["//visibility:public"],
)