Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Unified Diff: samples/BUILD.gn

Issue 1508003003: Move default value of pdf_enable_xfa to standalone.gypi (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Moar GN Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gyp ('k') | samples/samples.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/BUILD.gn
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index 6a9a516e2507f54351c845e6beea4fc0a47fe507..e1192c4a431c418f811c4a59b657111e2e65666c 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -31,8 +31,9 @@ config("pdfium_samples_config") {
executable("pdfium_test") {
testonly = true
sources = [
- "image_diff_png.cc",
"pdfium_test.cc",
+ "image_diff_png.cc",
+ "image_diff_png.h",
]
deps = [
"//build/config/sanitizers:deps",
@@ -44,6 +45,9 @@ executable("pdfium_test") {
# of results across platforms.
"//third_party/pdfium/third_party:fx_freetype",
]
+ if (!pdf_enable_xfa) {
+ deps += [ "../third_party:fx_lpng" ]
+ }
if (pdf_enable_v8) {
deps += [ "//v8:v8_libplatform" ]
include_dirs = [
@@ -65,6 +69,9 @@ executable("pdfium_diff") {
"//build/config/sanitizers:deps",
"//third_party/pdfium",
]
+ if (!pdf_enable_xfa) {
+ deps += [ "../third_party:fx_lpng" ]
+ }
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
":pdfium_samples_config",
« no previous file with comments | « pdfium.gyp ('k') | samples/samples.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698