summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorAndrew Weintraub <asweintraub@google.com>2017-11-29 23:27:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-29 23:27:10 +0000
commit98b56332e9b5c04cde680301a8b0685590c3b922 (patch)
tree97b1f6f67b60678f37844322ccb0a657f9b3266c /BUILD.gn
parent02f46ae70560c4bd70950faa1496e0c6b244ff8d (diff)
downloadpdfium-98b56332e9b5c04cde680301a8b0685590c3b922.tar.xz
Allow building pdfium against the system version of libpng.
Bug: Change-Id: I0c930ca30637f58af3b60ed8f1383bd9234a1723 Reviewed-on: https://pdfium-review.googlesource.com/19850 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 228271d534..4a9daca59a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -273,7 +273,7 @@ static_library("image_diff") {
configs += [ ":pdfium_core_config" ]
deps = []
if (!pdf_enable_xfa) {
- deps += [ "third_party:fx_lpng" ]
+ deps += [ "third_party:png" ]
}
}
@@ -781,8 +781,8 @@ static_library("fxcodec") {
"core/fxcodec/lbmp/fx_bmp.h",
]
deps += [
- "third_party:fx_lpng",
"third_party:fx_tiff",
+ "third_party:png",
]
}
if (is_posix) {