gn build: Add a cfi/sources target.
authorNico Weber <nicolasweber@gmx.de>
Sat, 2 Mar 2019 18:29:56 +0000 (18:29 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 2 Mar 2019 18:29:56 +0000 (18:29 +0000)
This build target is currently unused, but after r355144 the sync script
started complaining about cfi.cpp not being listed, and this makes the
script happy again.

llvm-svn: 355275

llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn

index dd24b5b987b5277e77b8474c2136039911a3dfbe..0db8fca16a93662021ff3b2deedf2fc983a05ad1 100644 (file)
@@ -1,5 +1,13 @@
 import("//clang/resource_dir.gni")
 
+source_set("sources") {
+  configs -= [ "//llvm/utils/gn/build:llvm_code" ]
+  configs += [ "//llvm/utils/gn/build:crt_code" ]
+  sources = [
+    "cfi.cpp",
+  ]
+}
+
 copy("blacklist") {
   sources = [
     "cfi_blacklist.txt",