File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ android {
1313 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
1414 externalNativeBuild {
1515 cmake {
16- arguments " -DANDROID_TOOLCHAIN=clang"
1716 arguments " -DANDROID_STL=c++_static"
1817 cppFlags " "
1918 }
@@ -61,13 +60,7 @@ android {
6160 }
6261 }
6362 packagingOptions{
64- doNotStrip " */armeabi/*.so"
65- doNotStrip " */armeabi-v7a/*.so"
66- doNotStrip " */arm64-v8a/*.so"
67- doNotStrip " */x86/*.so"
68- doNotStrip " */x86_64/*.so"
69- doNotStrip " */mips/*.so"
70- doNotStrip " */mips64/*.so"
63+ doNotStrip " */*/*.so"
7164 }
7265 }
7366 }
Original file line number Diff line number Diff line change @@ -21,6 +21,4 @@ APP_ABI := arm64-v8a
2121APP_PLATFORM := android-8
2222# APP_PLATFORM := android-3
2323
24- NDK_TOOLCHAIN_VERSION := 4.9
25-
2624APP_STL := c++_static
Original file line number Diff line number Diff line change 208208#define PNG_USER_HEIGHT_MAX 1000000
209209#define PNG_USER_WIDTH_MAX 1000000
210210#define PNG_ZBUF_SIZE 8192
211- #define PNG_ZLIB_VERNUM 0x1230
211+ // Replaced autodetected PNG_ZLIB_VERNUM 0x1230 (libpng configured with ndk-16b API14)
212+ // to '0' to suppress errors in ndk-18 with newer zlib.
213+ #define PNG_ZLIB_VERNUM 0
212214#define PNG_Z_DEFAULT_COMPRESSION (-1)
213215#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
214216#define PNG_Z_DEFAULT_STRATEGY 1
You can’t perform that action at this time.
0 commit comments