Debian Codegraph @

utils/bazel/llvm-project-overlay/clang-tools-extra/unittests/BUILD.bazel

raw
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 load("@rules_cc//cc:defs.bzl", "cc_test")
6
7 package(
8 default_visibility = ["//visibility:public"],
9 features = ["layering_check"],
10 )
11
12 licenses(["notice"])
13
14 cc_test(
15 name = "clang_tidy_test",
16 size = "small",
17 srcs = glob(
18 [
19 "clang-tidy/*.cpp",
20 "clang-tidy/*.h",
21 ],
22 allow_empty = False,
23 ),
24 includes = ["clang-tidy/include"],
25 deps = [
26 "//clang:ast",
27 "//clang:ast_matchers",
28 "//clang:basic",
29 "//clang:frontend",
30 "//clang:lex",
31 "//clang:serialization",
32 "//clang:testing",
33 "//clang:tooling",
34 "//clang:tooling_core",
35 "//clang:transformer",
36 "//clang-tools-extra/clang-tidy:android",
37 "//clang-tools-extra/clang-tidy:google",
38 "//clang-tools-extra/clang-tidy:lib",
39 "//clang-tools-extra/clang-tidy:llvm",
40 "//clang-tools-extra/clang-tidy:misc",
41 "//clang-tools-extra/clang-tidy:modernize",
42 "//clang-tools-extra/clang-tidy:objc",
43 "//clang-tools-extra/clang-tidy:performance",
44 "//clang-tools-extra/clang-tidy:readability",
45 "//clang-tools-extra/clang-tidy:tool",
46 "//clang-tools-extra/clang-tidy:utils",
47 "//llvm:FrontendOpenMP",
48 "//llvm:Support",
49 "//llvm:TestingAnnotations",
50 "//llvm:TestingSupport",
51 "//third-party/unittest:gmock",
52 "//third-party/unittest:gtest",
53 "//third-party/unittest:gtest_main",
54 ],
55 )