[gn build] make "all" target build
authorNico Weber <thakis@chromium.org>
Wed, 16 Sep 2020 18:21:14 +0000 (14:21 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 16 Sep 2020 18:21:48 +0000 (14:21 -0400)
If you want to build everything, building the default target
via just `ninja` is better, but `ninja all` shouldn't give you
compile errors -- this fixes that.

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

index 1143b26..c8c057f 100644 (file)
@@ -27,6 +27,8 @@ group("scudo") {
 # This target is unused, it only exists to satisfy
 # sync_source_lists_from_cmake.py.
 source_set("sources") {
+  configs -= [ "//llvm/utils/gn/build:llvm_code" ]
+  configs += [ "//llvm/utils/gn/build:crt_code" ]
   sources = [
     "scudo_allocator.cpp",
     "scudo_allocator.h",