summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorFabrice de Gans-Riberi <fdegans@chromium.org>2018-04-04 18:27:21 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-04 18:27:21 +0000
commit8d970f7496a792ceffc0c81a037aafda8932c3fb (patch)
tree6894a696baefebf10a4f214ca58badd6fef98ebc /BUILD.gn
parent16adb3e0461ba8f5e641900c90b84be5af5c428f (diff)
downloadpdfium-8d970f7496a792ceffc0c81a037aafda8932c3fb.tar.xz
Prepare for |is_posix| switch in the Fuchsia build
|is_posix| will be switched to false for Fuchsia, this is a preliminary change. Bug: chromium:812974 Change-Id: Iabe2503db3d6d4cebf1445cb4ab0852b664e1dba Reviewed-on: https://pdfium-review.googlesource.com/29490 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 1cb7046c25..b4e83a4688 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -796,7 +796,7 @@ jumbo_static_library("fxcodec") {
"third_party:png",
]
}
- if (is_posix) {
+ if (is_posix || is_fuchsia) {
# core/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int
# conversion to check that an address is 16-bit aligned (benign).
cflags_c = [ "-Wno-pointer-to-int-cast" ]