Skip to content

Commit

Permalink
add debug symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
GC committed Jun 4, 2020
1 parent 9f425c0 commit 6da6c7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions glideavif/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ android {
kotlinOptions {
jvmTarget = '1.8'
}
packagingOptions {
doNotStrip '**.so'
}
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions glideavif/libdav1d_builder/docker/dav1d_cross.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ cpu = '%CPU'
endian = 'little'

[properties]
c_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections']
c_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections', '-g']
c_link_args = ['-pie']
cpp_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections']
cpp_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections', '-g']
2 changes: 1 addition & 1 deletion glideavif/libyuv_builder/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN cmake \
-DANDROID_ABI=$ARCH \
-DANDROID_NATIVE_API_LEVEL=$API_LEVEL \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-GNinja \
.. && ninja

Expand Down

0 comments on commit 6da6c7c

Please sign in to comment.