]> granicus.if.org Git - llvm/commitdiff
[gn build] Add build file for clang/lib/ARCMigrate
authorNico Weber <nicolasweber@gmx.de>
Sat, 22 Dec 2018 03:15:08 +0000 (03:15 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 22 Dec 2018 03:15:08 +0000 (03:15 +0000)
Differential Revision: https://reviews.llvm.org/D55979

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

utils/gn/secondary/BUILD.gn
utils/gn/secondary/clang/lib/ARCMigrate/BUILD.gn [new file with mode: 0644]

index 0db90848d056a2392ee6876c0c6158e477baa66e..03c465d55db2e9080607da5d74dacc731be3214a 100644 (file)
@@ -1,5 +1,6 @@
 group("default") {
   deps = [
+    "//clang/lib/ARCMigrate",
     "//clang/lib/AST",
     "//clang/lib/ASTMatchers",
     "//clang/lib/CodeGen",
diff --git a/utils/gn/secondary/clang/lib/ARCMigrate/BUILD.gn b/utils/gn/secondary/clang/lib/ARCMigrate/BUILD.gn
new file mode 100644 (file)
index 0000000..d78a559
--- /dev/null
@@ -0,0 +1,39 @@
+static_library("ARCMigrate") {
+  output_name = "clangARCMigrate"
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/AST",
+    "//clang/lib/Analysis",
+    "//clang/lib/Basic",
+    "//clang/lib/Edit",
+    "//clang/lib/Frontend",
+    "//clang/lib/Lex",
+    "//clang/lib/Rewrite",
+    "//clang/lib/Sema",
+    "//clang/lib/Serialization",
+    "//clang/lib/StaticAnalyzer/Checkers",
+    "//llvm/lib/Support",
+  ]
+  sources = [
+    "ARCMT.cpp",
+    "ARCMTActions.cpp",
+    "FileRemapper.cpp",
+    "ObjCMT.cpp",
+    "PlistReporter.cpp",
+    "TransAPIUses.cpp",
+    "TransARCAssign.cpp",
+    "TransAutoreleasePool.cpp",
+    "TransBlockObjCVariable.cpp",
+    "TransEmptyStatementsAndDealloc.cpp",
+    "TransGCAttrs.cpp",
+    "TransGCCalls.cpp",
+    "TransProperties.cpp",
+    "TransProtectedScope.cpp",
+    "TransRetainReleaseDealloc.cpp",
+    "TransUnbridgedCasts.cpp",
+    "TransUnusedInitDelegate.cpp",
+    "TransZeroOutPropsInDealloc.cpp",
+    "TransformActions.cpp",
+    "Transforms.cpp",
+  ]
+}