From 6608668abf5a7f01d47b5e9e9a2e1206b2d0cb75 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 2 Mar 2019 18:29:56 +0000 Subject: [PATCH] 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. llvm-svn: 355275 --- utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn | 8 ++++++++ 1 file changed, 8 insertions(+) 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",