summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn32
1 files changed, 16 insertions, 16 deletions
diff --git a/BUILD.gn b/BUILD.gn
index c19e2227a7..53a633baf8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -340,6 +340,21 @@ test("pdfium_embeddertests") {
}
}
+executable("pdfium_diff") {
+ testonly = true
+ sources = [
+ "testing/image_diff/image_diff.cpp",
+ ]
+ deps = [
+ ":pdfium",
+ "testing/image_diff",
+ "//build/win:default_exe_manifest",
+ ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
+ configs += [ ":pdfium_core_config" ]
+}
+
if (pdf_is_standalone) {
jumbo_source_set("samples") {
testonly = true
@@ -348,21 +363,6 @@ if (pdf_is_standalone) {
]
}
- executable("pdfium_diff") {
- testonly = true
- sources = [
- "testing/image_diff/image_diff.cpp",
- ]
- deps = [
- ":pdfium",
- "testing/image_diff",
- "//build/win:default_exe_manifest",
- ]
- configs -= [ "//build/config/compiler:chromium_code" ]
- configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":pdfium_core_config" ]
- }
-
group("fuzzers") {
testonly = true
deps = [
@@ -374,13 +374,13 @@ if (pdf_is_standalone) {
group("pdfium_all") {
testonly = true
deps = [
+ ":pdfium_diff",
":pdfium_embeddertests",
":pdfium_unittests",
]
if (pdf_is_standalone) {
deps += [
":fuzzers",
- ":pdfium_diff",
":samples",
]
}