summaryrefslogtreecommitdiff
path: root/samples/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-19 16:04:22 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-19 16:04:22 -0700
commitd831dc7147e9895185740f551fed7abe246e2adf (patch)
tree07e43e97c1c5534285ec81e670987aa8d3bdbd73 /samples/BUILD.gn
parent81d44cd970875542a0abb29b1838e88994c88299 (diff)
downloadpdfium-d831dc7147e9895185740f551fed7abe246e2adf.tar.xz
Merge to XFA: Consolidate test support code.
Original Review URL: https://codereview.chromium.org/1416713002 . (cherry picked from commit 6d34d056a7188b7ae9800fe3ceb68645e0442879) Conflicts: BUILD.gn samples/BUILD.gn samples/pdfium_test.cc samples/samples.gyp R=thestig@chromium.org Review URL: https://codereview.chromium.org/1413593003 .
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",