diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-24 18:57:44 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-25 10:32:23 +0100 |
commit | 1715bf9508ec1defe2e2dd1809f1e5226e24337f (patch) | |
tree | 546a982e49f5b418b1620307d4b0668df9eb5c59 /platform/android/config.cmake | |
parent | 1f3424fafab32431f02c6348382266437bb08aea (diff) | |
download | qtlocation-mapboxgl-1715bf9508ec1defe2e2dd1809f1e5226e24337f.tar.gz |
[core] replace encodePNG() with a version that doesn't use libpng
rationale: encodePNG is only used in tests + sample apps, but shouldn't actually be part of the core library. In #7828, we're removing the libpng dependency for Android, and using a libpng-free version of encodePNG allows us to run the core unit tests on Android without pulling in libpng just for the test suite. In a next step, we should remove encodePNG() from the image.hpp header, which is a public header.
Diffstat (limited to 'platform/android/config.cmake')
-rw-r--r-- | platform/android/config.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/config.cmake b/platform/android/config.cmake index c3c461ffa1..7d522a1212 100644 --- a/platform/android/config.cmake +++ b/platform/android/config.cmake @@ -83,6 +83,7 @@ macro(mbgl_platform_core) # Image handling PRIVATE platform/default/image.cpp + PRIVATE platform/default/png_writer.cpp PRIVATE platform/default/png_reader.cpp PRIVATE platform/default/jpeg_reader.cpp |