summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/BUILD.gn')
-rw-r--r--samples/BUILD.gn6
1 files changed, 5 insertions, 1 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index f3bcbda418..2039d2f4dd 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -5,6 +5,7 @@
import("../pdfium.gni")
group("samples") {
+ testonly = true
deps = [
":pdfium_test",
]
@@ -25,12 +26,14 @@ config("pdfium_samples_config") {
}
executable("pdfium_test") {
+ testonly = true
sources = [
"image_diff_png.cc",
"pdfium_test.cc",
]
deps = [
- "//third_party/pdfium",
+ "//third_party/pdfium:pdfium",
+ "//third_party/pdfium:test_support",
]
if (pdf_enable_v8) {
deps += [
@@ -45,6 +48,7 @@ executable("pdfium_test") {
}
executable("pdfium_diff") {
+ testonly = true
sources = [
"image_diff.cc",
"image_diff_png.cc",