summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
Diffstat (limited to 'samples')
-rw-r--r--samples/BUILD.gn7
-rw-r--r--samples/samples.gyp1
2 files changed, 3 insertions, 5 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
index e3652086e4..9ff1bea4c1 100644
--- a/samples/BUILD.gn
+++ b/samples/BUILD.gn
@@ -17,24 +17,23 @@ group("samples") {
config("pdfium_samples_config") {
defines = [
"PNG_PREFIX",
- "PNGPREFIX_H",
"PNG_USE_READ_MACROS",
]
include_dirs = [ ".." ]
if (pdf_enable_v8) {
- defines += [ "PDF_ENABLE_V8", ]
+ defines += [ "PDF_ENABLE_V8" ]
}
if (pdf_enable_xfa) {
- defines += [ "PDF_ENABLE_XFA", ]
+ defines += [ "PDF_ENABLE_XFA" ]
}
}
executable("pdfium_test") {
testonly = true
sources = [
- "pdfium_test.cc",
"image_diff_png.cc",
"image_diff_png.h",
+ "pdfium_test.cc",
]
deps = [
"//build/config/sanitizers:deps",
diff --git a/samples/samples.gyp b/samples/samples.gyp
index da9ce74b0a..6f262d5a04 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -10,7 +10,6 @@
'target_defaults': {
'defines' : [
'PNG_PREFIX',
- 'PNGPREFIX_H',
'PNG_USE_READ_MACROS',
],
'include_dirs': [