Building webrtc for Linux ARM

2019-07-12 18:49发布

1 Instaling prerequistences for Webrtc (depot tools etc) 2 install all dependencies for arm crossbuilding  ./build/ install-build-deps.sh --arm
2 then install the arm sysroot with ./build/linux/install-arm-sysroot.py
3 define the following settings:   export GYP_DEFINES="target_arch=arm arm_version=6 arm_neon=0 arm_float_abi=hard"   export CC=arm-linux-gnueabihf-gcc   export CXX=arm-linux-gnueabihf-g++   export AR=arm-linux-gnueabihf-ar   export CC_host=gcc   export CXX_host=g++
4. Setting up the stable version of webrtc:       gclient config --name=trunk http://webrtc.googlecode.com/svn/stable 5. gclient sync --force 6. Fixing bug related to pkg-config-wrapper in libgingle.gyp