When using NDK 23 and higher we should be able to use llvm-objcopy instead of objdump to generate our symbol files.
Design
Abstracted the work of SharedObjectMappingFileFactory into a new AbstractSoMappingTask which provides a template structure for all tasks that generate mappings for .so files. The new task also decides whether to use objdump or llvm-objcopy based on its configuration.
Testing
Manually tested. Automated testing will be added once the new upload endpoint is introduced to the upload tasks.
One new end-to-end test to ensure that the SDK version validation works as expected
Goal
When using NDK 23 and higher we should be able to use
llvm-objcopy
instead ofobjdump
to generate our symbol files.Design
Abstracted the work of
SharedObjectMappingFileFactory
into a newAbstractSoMappingTask
which provides a template structure for all tasks that generate mappings for.so
files. The new task also decides whether to useobjdump
orllvm-objcopy
based on its configuration.Testing
Manually tested. Automated testing will be added once the new upload endpoint is introduced to the upload tasks.
One new end-to-end test to ensure that the SDK version validation works as expected