diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn index f05168bd57c2..57374f5ad2ae 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn @@ -102,9 +102,6 @@ target(asan_target_type, "asan") { sources += [ "asan_interceptors_vfork.S" ] } - # To be able to include sanitizer_common. - include_dirs = [ ".." ] - # FIXME: have SANITIZER_COMMON_CFLAGS thingy? should fno-builtin be in # crt_code? cflags = [ "-fno-builtin" ] diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/msan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/msan/BUILD.gn index 92be6dffa756..ea933b30f793 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/msan/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/msan/BUILD.gn @@ -39,9 +39,6 @@ static_library("msan") { "msan_thread.h", ] - # To be able to include sanitizer_common. - include_dirs = [ ".." ] - # FIXME: have SANITIZER_COMMON_CFLAGS thingy? should fno-builtin be in # crt_code? cflags = [ "-fno-builtin" ] diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn index a0bc9b72c365..21e3ae8d2028 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn @@ -25,10 +25,7 @@ static_library("profile") { cflags += [ "/wd4221" ] } - include_dirs = [ - "..", - "../../include", - ] + include_dirs = [ "../../include" ] sources = [ "GCDAProfiling.c", diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn index db354d907a4e..3f6db757f48e 100644 --- a/llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn +++ b/llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn @@ -128,9 +128,6 @@ target(tsan_target_type, "rtl") { sources += [ "tsan_rtl_s390x.S" ] } - # To be able to include sanitizer_common. - include_dirs = [ ".." ] - # FIXME: have SANITIZER_COMMON_CFLAGS thingy? should fno-builtin be in # crt_code? cflags += [ "-fno-builtin" ]