diff options
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r-- | samples/BUILD.gn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn index 11bc9bab38..23f4d0ca56 100644 --- a/samples/BUILD.gn +++ b/samples/BUILD.gn @@ -30,6 +30,9 @@ config("pdfium_samples_config") { if (pdf_use_skia) { defines += [ "PDF_ENABLE_SKIA" ] } + if (is_asan) { + defines += [ "PDF_ENABLE_ASAN" ] + } if (use_coverage && is_clang) { cflags += [ "--coverage", |