版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
- gn 参数(macOS环境)
gaoliwen@bogon:~/work/webrtc-checkout/src$ gn gen out/Debug --args="target_os=\"mac\" target_cpu=\"x64\" rtc_use_h264=true proprietary_codecs=true ffmpeg_branding=\"Chrome\" use_sysroot=false treat_warnings_as_errors=false use_custom_libcxx=false use_custom_libcxx_for_host=false rtc_include_pulse_audio=false rtc_include_tests=false rtc_libvpx_build_vp9=false is_debug=true" --ide=xcode
Generating Xcode projects took 88ms
Done. Made 801 targets from 193 files in 952ms
- ninja编译
gaoliwen@bogon:~/work/webrtc-checkout/src$ ninja -C out/Debug
ninja: Entering directory `out/Debug'
[3508/3508] STAMP obj/default.stamp
- xcode打开
- 运行demo