Owt?Arm 移植之 webrtc
配置交叉编译工具链
cd src
./build/install-build-deps.sh --arm
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm
编译arm linux版本,install-build-deps.sh自动安装arm-linux-gnueabihf-gcc
修改?
.src/tools-woogeen/build.sh??
注意 修改 “? ” ‘? '
gn gen out --args='
is_clang=false
is_debug=false
use_sysroot=false
linux_use_bundled_binutils=false
treat_warnings_as_errors=false
rtc_include_tests=false
rtc_use_openmax_dl=false
rtc_enable_protobuf=false
rtc_enable_sctp=false
rtc_build_expat=false
rtc_build_json=false
rtc_build_libjpeg=false
rtc_build_libsrtp=false
rtc_build_openmax_dl=false
rtc_build_ssl=false
libyuv_use_gflags=false
libyuv_include_tests=false
libyuv_disable_jpeg=true
rtc_use_h264=true
rtc_build_libvpx=true
rtc_libvpx_build_vp9=true
rtc_build_opus=true
rtc_include_opus=true
target_os="linux"
target_cpu-"arm"
'
cd?src/tools-woogeen
./build.sh
编译 libwebrtc.a
|