summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-18 09:26:28 -0800
committerOliver Chang <ochang@chromium.org>2015-11-18 09:26:28 -0800
commit17e920da8f98461d7a60d063053cf26f4eaf3a37 (patch)
tree8568fb19eda968fd67b8149682fb1a6d17496735 /samples/BUILD.gn
parent0c0d8bd35decd8e97fb972a932abd111b545138c (diff)
downloadpdfium-17e920da8f98461d7a60d063053cf26f4eaf3a37.tar.xz
Merge to XFA: Fix ASan gn build (chromium).
TBR=thestig@chromium.org] BUG=556808 Review URL: https://codereview.chromium.org/1452013004 . (cherry picked from commit 97f900e93e6a96b164b33bfe1228f383d9a5ecd3) Review URL: https://codereview.chromium.org/1456973003 .
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r--samples/BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 6cb76e9690..6a9a516e25 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") {
@@ -34,6 +35,7 @@ executable("pdfium_test") {
"pdfium_test.cc",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium:pdfium",
"//third_party/pdfium:test_support",
@@ -60,6 +62,7 @@ executable("pdfium_diff") {
"image_diff_png.h",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium",
]
configs -= [ "//build/config/compiler:chromium_code" ]