Skip to content

Commit 2e09693

Browse files
Mike KleinSkia Commit-Bot
authored andcommitted
find cxxabi headers in Android ASAN builds
This fixes includes like <cxxabi.h> in Android ASAN builds. Bug: skia:10165 Change-Id: Ieeff45b29cd527dd0a60ed21422378f5aa610cc7 Cq-Include-Trybots: luci.skia.skia.primary:Build-Debian10-Clang-arm64-Debug-Android_ASAN,Build-Debian10-Clang-arm-Debug-Android_ASAN Reviewed-on: https://skia-review.googlesource.com/c/skia/+/322906 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
1 parent 59637dd commit 2e09693

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gn/BUILD.gn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,10 @@ config("default") {
169169

170170
if (is_android) {
171171
cflags += [ "--sysroot=$ndk/sysroot" ]
172-
cflags_cc += [ "-isystem$ndk/sources/cxx-stl/llvm-libc++/include" ]
172+
cflags_cc += [
173+
"-isystem$ndk/sources/cxx-stl/llvm-libc++/include",
174+
"-isystem$ndk/sources/cxx-stl/llvm-libc++abi/include",
175+
]
173176
ldflags += [ "-static-libstdc++" ]
174177
}
175178

0 commit comments

Comments
 (0)