summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-02 16:55:26 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-02 16:55:26 -0800
commitd87b20e1ae765cb65281c5bd7c12fc41e8a86780 (patch)
treeb2f5e373b980d9ed8c39533827c892ce2a312faf /samples
parent91f7f3fa6a6d62ed0ce819c3286b0ffe6eddedbc (diff)
downloadpdfium-d87b20e1ae765cb65281c5bd7c12fc41e8a86780.tar.xz
Rename png_ functions conflicting with chrome.
Part of the work required to ship XFA with chrome. BUG=pdfium:396 R=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1763493002 .
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': [