diff options
author | Fabrice de Gans-Riberi <fdegans@chromium.org> | 2018-04-04 18:27:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-04 18:27:21 +0000 |
commit | 8d970f7496a792ceffc0c81a037aafda8932c3fb (patch) | |
tree | 6894a696baefebf10a4f214ca58badd6fef98ebc | |
parent | 16adb3e0461ba8f5e641900c90b84be5af5c428f (diff) | |
download | pdfium-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>
-rw-r--r-- | BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" ] |