Skip to content

Commit 21aa00b

Browse files
committed
[gn] port 305c413
Not sure if this is everything; looks like only asan tests might be hooked up in the GN build.
1 parent 5f9092a commit 21aa00b

File tree

1 file changed

+8
-2
lines changed
  • llvm/utils/gn/secondary/compiler-rt/test/asan

1 file changed

+8
-2
lines changed

llvm/utils/gn/secondary/compiler-rt/test/asan/BUILD.gn

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ write_cmake_config("lit_site_cfg") {
2323
"LIT_SITE_CFG_IN_HEADER=## Autogenerated from $input, do not edit",
2424
]
2525
if (host_os == "mac") {
26-
values += [ "ASAN_TEST_DYNAMIC=1" ]
26+
values += [
27+
"ASAN_TEST_APPLE_TARGET_IS_HOST_PYBOOL=1",
28+
"ASAN_TEST_DYNAMIC=1",
29+
]
2730
} else {
28-
values += [ "ASAN_TEST_DYNAMIC=0" ]
31+
values += [
32+
"ASAN_TEST_APPLE_TARGET_IS_HOST_PYBOOL=0",
33+
"ASAN_TEST_DYNAMIC=0",
34+
]
2935
}
3036
}
3137

0 commit comments

Comments
 (0)