Skip to content

Commit 6da6c7c

Browse files
committed
add debug symbols
1 parent 9f425c0 commit 6da6c7c

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

glideavif/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ android {
4040
kotlinOptions {
4141
jvmTarget = '1.8'
4242
}
43+
packagingOptions {
44+
doNotStrip '**.so'
45+
}
4346
}
4447

4548
dependencies {

glideavif/libdav1d_builder/docker/dav1d_cross.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ cpu = '%CPU'
1515
endian = 'little'
1616

1717
[properties]
18-
c_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections']
18+
c_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections', '-g']
1919
c_link_args = ['-pie']
20-
cpp_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections']
20+
cpp_args = ['--sysroot', '%TOOLCHAIN_ROOT/sysroot', '-fPIE', '-fPIC', '-fdata-sections', '-ffunction-sections', '-g']

glideavif/libyuv_builder/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN cmake \
2828
-DANDROID_ABI=$ARCH \
2929
-DANDROID_NATIVE_API_LEVEL=$API_LEVEL \
3030
-DBUILD_SHARED_LIBS=OFF \
31-
-DCMAKE_BUILD_TYPE=Release \
31+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
3232
-GNinja \
3333
.. && ninja
3434

0 commit comments

Comments
 (0)