android-webrtc的代码的正确获取方法

来源:互联网 发布:优酷网络 编辑:程序博客网 时间:2024/05/21 10:52
1. gclient config https://webrtc.googlecode.com/svn/trunk2. add "target_os = ['android'] to .gclient (at the very end, outside all brackets)3. gclient sync4. cd trunk5. source ./build/android/envsetup.sh6. gclient runhooks 7. GYP_GENERATORS=ninja ./build/gyp_chromium --depth=. webrtc.gyp 8. ninja -C out/Debug All
该步骤引自webrtc issuse:https://code.google.com/p/webrtc/issues/detail?id=1654
之前需要配置的环境还是挺多的,以后慢慢补充,但步骤,上述是最靠谱的,不会出现.a文件not found的情况

原创粉丝点击