I m using M140 branch tag, and able to generate the libwebrtc.a static file for android arm64 target. Now when I m using it in my project I'm getting a lot of linking errors.
This is the build command I used
gn gen out/arm64 --args='
target_os="android"
target_cpu="arm64"
is_debug=false
is_component_build=false
rtc_include_tests=false
rtc_build_examples=false
rtc_build_tools=false
rtc_enable_protobuf=true
symbol_level=0
optimize_for_size=true
default_min_sdk_version=26
default_target_sdk_version=36
use_rtti=true
'
1. ld.lld: error: undefined symbol: webrtc::InitializeSSL()
I m simply trying to link libwebrtc.a in my aandroid project.
I researched a lot and still no luck.
What I m suspecting is this libwebrtc.a doesn't contain all the symbols and I need to further additional linking with generated .o files.
If this is true why this is not documented.
Is there any gn argument which does linking to all .o generated files.
Any help is appriciated.