summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-18 09:22:55 -0800
committerOliver Chang <ochang@chromium.org>2015-11-18 09:22:55 -0800
commit97f900e93e6a96b164b33bfe1228f383d9a5ecd3 (patch)
treef70fad098f8306026c3c8b17af0d138639ff443a /samples
parent4dcf313c46c176e5afa1328f5f07fce4e614366d (diff)
downloadpdfium-97f900e93e6a96b164b33bfe1228f383d9a5ecd3.tar.xz
Fix ASan gn build (chromium).
R=thestig@chromium.org, thakis@chromium.org BUG=556808 Review URL: https://codereview.chromium.org/1452013004 .
Diffstat (limited to 'samples')
-rw-r--r--samples/BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 73683c4bbc..a66178a0cd 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/sanitizers/sanitizers.gni")
import("../pdfium.gni")
group("samples") {
@@ -31,6 +32,7 @@ executable("pdfium_test") {
"pdfium_test.cc",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium:pdfium",
"//third_party/pdfium:test_support",
@@ -58,6 +60,7 @@ executable("pdfium_diff") {
"image_diff_png.h",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium",
":fx_lpng",
]