Skip to content

Commit

Permalink
[gn build] Remove unnecessary include_dirs
Browse files Browse the repository at this point in the history
These are already part of crt_code.
  • Loading branch information
aeubanks committed Jan 26, 2022
1 parent bdb7837 commit 0a4bbda
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
3 changes: 0 additions & 3 deletions llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
Expand Up @@ -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" ]
Expand Down
3 changes: 0 additions & 3 deletions llvm/utils/gn/secondary/compiler-rt/lib/msan/BUILD.gn
Expand Up @@ -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" ]
Expand Down
5 changes: 1 addition & 4 deletions llvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
Expand Up @@ -25,10 +25,7 @@ static_library("profile") {
cflags += [ "/wd4221" ]
}

include_dirs = [
"..",
"../../include",
]
include_dirs = [ "../../include" ]

sources = [
"GCDAProfiling.c",
Expand Down
3 changes: 0 additions & 3 deletions llvm/utils/gn/secondary/compiler-rt/lib/tsan/rtl/BUILD.gn
Expand Up @@ -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" ]
Expand Down

0 comments on commit 0a4bbda

Please sign in to comment.