diff options
author | Chong Zhang <chz@google.com> | 2017-08-16 13:03:47 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-16 20:22:55 +0000 |
commit | c2a954290dc3888f877a047098b84c24363895fb (patch) | |
tree | 8eb8361d87acc92276a2ddd2f79c95bb95cf24fd /BUILD.gn | |
parent | 6269f71f7fe3a9fcbcece7ec2668fc3fcbb71732 (diff) |
skia: add heif decoding support
Bug: b/64077740
Change-Id: I11e0243bcc4c21c0aa5aa29a719dd0fcba7ae6f7
Reviewed-on: https://skia-review.googlesource.com/35123
Reviewed-by: Chong Zhang <chz@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Chong Zhang <chz@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -31,6 +31,7 @@ declare_args() { skia_use_piex = !is_win skia_use_zlib = true skia_use_metal = false + skia_use_libheif = false skia_android_serial = "" skia_enable_discrete_gpu = true @@ -532,6 +533,17 @@ optional("gpu") { } } +optional("heif") { + enabled = skia_use_libheif + public_defines = [ "SK_HAS_HEIF_LIBRARY" ] + + deps = [] + + sources = [ + "src/codec/SkHeifCodec.cpp", + ] +} + optional("jpeg") { enabled = skia_use_libjpeg_turbo public_defines = [ "SK_HAS_JPEG_LIBRARY" ] @@ -655,6 +667,7 @@ component("skia") { ":fontmgr_fontconfig", ":fontmgr_fuchsia", ":gpu", + ":heif", ":jpeg", ":none", ":pdf", |