From: Nico Weber Date: Sat, 2 Mar 2019 18:29:56 +0000 (+0000) Subject: gn build: Add a cfi/sources target. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b32bb8a0f902ff0fccd7ff113979a200f5cb1b17;p=llvm gn build: Add a cfi/sources target. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355275 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn index dd24b5b987b..0db8fca16a9 100644 --- a/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn @@ -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",