]> granicus.if.org Git - llvm/commitdiff
gn build: Merge r367071
authorVitaly Buka <vitalybuka@google.com>
Mon, 29 Jul 2019 17:48:02 +0000 (17:48 +0000)
committerVitaly Buka <vitalybuka@google.com>
Mon, 29 Jul 2019 17:48:02 +0000 (17:48 +0000)
llvm-svn: 366289

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367245 91177308-0d34-0410-b5e6-96231b3b80d8

utils/gn/secondary/clang-tools-extra/clang-tidy/linuxkernel/BUILD.gn [new file with mode: 0644]
utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn

diff --git a/utils/gn/secondary/clang-tools-extra/clang-tidy/linuxkernel/BUILD.gn b/utils/gn/secondary/clang-tools-extra/clang-tidy/linuxkernel/BUILD.gn
new file mode 100644 (file)
index 0000000..109174d
--- /dev/null
@@ -0,0 +1,17 @@
+static_library("linuxkernel") {
+  output_name = "clangTidyLinuxKernelModule"
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang-tools-extra/clang-tidy",
+    "//clang-tools-extra/clang-tidy/utils",
+    "//clang/lib/AST",
+    "//clang/lib/ASTMatchers",
+    "//clang/lib/Basic",
+    "//clang/lib/Lex",
+    "//llvm/lib/Support",
+  ]
+  sources = [
+    "LinuxKernelTidyModule.cpp",
+    "MustCheckErrsCheck.cpp",
+  ]
+}
index a5f7af4275f0c4bee63486548dda6e9a3abe2ec7..46efc8ac99feb6869831f5732a55ec2e392e0c7e 100644 (file)
@@ -13,6 +13,7 @@ executable("clang-tidy") {
     "//clang-tools-extra/clang-tidy/fuchsia",
     "//clang-tools-extra/clang-tidy/google",
     "//clang-tools-extra/clang-tidy/hicpp",
+    "//clang-tools-extra/clang-tidy/linuxkernel",
     "//clang-tools-extra/clang-tidy/llvm",
     "//clang-tools-extra/clang-tidy/misc",
     "//clang-tools-extra/clang-tidy/modernize",