Media/WebRTC/libwebrtc Update Process/automation plan: Difference between revisions

add build instructions for webrtc.org
(add build verification section to results)
(add build instructions for webrtc.org)
Line 94: Line 94:
=== build instructions for moz-libwebrtc ===
=== build instructions for moz-libwebrtc ===
* verify build for webrtc.org
* verify build for webrtc.org
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export DEPOT_TOOLS=`pwd`/depot_tools
(cd depot_tools ; git checkout e7d1862b155ac3ccbef72c4d70629b5c88ffcb32 )
mkdir webrtc-checkout
cd webrtc-checkout
fetch --nohooks webrtc # populates .gclient and .gclient_entries
(cd src ; git checkout edd7f9e94d)
export PATH=$DEPOT_TOOLS:$PATH ; \
  export DEPOT_TOOLS_UPDATE=0 ; \
  export DEPOT_TOOLS_WIN_TOOLCHAIN=0
gclient sync
cd src
gn gen out/Default
ninja -C out/Default
./out/Default/rtc_media_unittests # quick smoke test
* verify build for moz-libwebrtc
* verify build for moz-libwebrtc
:- Use edd7f9e94d because some our patches stacked on top of this upstream revision are specific to building in the moz-central tree.
:- Use edd7f9e94d because some our patches stacked on top of this upstream revision are specific to building in the moz-central tree.
119

edits