summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-03-02 18:29:56 +0000
committerNico Weber <nicolasweber@gmx.de>2019-03-02 18:29:56 +0000
commit84f2803bc69cb15f0a235cb51e74ca4d86b22298 (patch)
tree97c55b7bda1ca9871cb63ec5fcbd8391225b3254
parentc10a8848734898970a216aa6d4fd453fe05ae606 (diff)
downloadbcm5719-llvm-84f2803bc69cb15f0a235cb51e74ca4d86b22298.tar.gz
bcm5719-llvm-84f2803bc69cb15f0a235cb51e74ca4d86b22298.zip
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
-rw-r--r--llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
index dd24b5b987b..0db8fca16a9 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
+++ b/llvm/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",
OpenPOWER on IntegriCloud