File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
22
22
23
23
# This script builds binaries for all Android architectures. They are placed in the directory 'out'.
24
- # The libheif source has to be unpacked to a directory named "libheif-1.16.2" (replace version number with the value of HEIF_VERSION below) .
24
+ # The script should be run in the root directory of the libheif sources .
25
25
26
26
# The configuration below builds libheif with heic decoding only.
27
27
28
28
# Set these variables to suit your needs
29
29
NDK_PATH= ... # for example .../android-sdk/sdk/ndk/25.1.8937393
30
30
TOOLCHAIN=clang
31
- ANDROID_VERSION=19 # the minimum version of Android to support
32
- HEIF_VERSION=1.16.2
31
+ ANDROID_VERSION=24 # the minimum version of Android to support
33
32
34
33
function build {
35
34
mkdir -p build/$1
@@ -58,7 +57,8 @@ function build {
58
57
-DCMAKE_INSTALL_PREFIX=../../out/$1 \
59
58
-DCMAKE_BUILD_TYPE=Release \
60
59
-Dld-version-script=OFF \
61
- ../../libheif-${HEIF_VERSION}
60
+ ../..
61
+
62
62
make VERBOSE=1
63
63
make install
64
64
cd ../..
You can’t perform that action at this time.
0 commit comments