[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

llvm-svn: 349987

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

index 0db9084..03c465d 100644 (file)
@@ -1,5 +1,6 @@
 group("default") {
   deps = [
+    "//clang/lib/ARCMigrate",
     "//clang/lib/AST",
     "//clang/lib/ASTMatchers",
     "//clang/lib/CodeGen",
diff --git a/llvm/utils/gn/secondary/clang/lib/ARCMigrate/BUILD.gn b/llvm/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",
+  ]
+}