Fix ASan gn build (chromium).
R=thestig@chromium.org, thakis@chromium.org
BUG=556808
Review URL: https://codereview.chromium.org/1452013004 .
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 73683c4..a66178a 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 @@
"pdfium_test.cc",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium:pdfium",
"//third_party/pdfium:test_support",
@@ -58,6 +60,7 @@
"image_diff_png.h",
]
deps = [
+ "//build/config/sanitizers:deps",
"//third_party/pdfium",
":fx_lpng",
]