Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Issue 2041233006: GN: Add modules_unittests (Closed)

Created:
4 years, 6 months ago by kjellander_webrtc
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

GN: Add modules_unittests Changes: * Enabled protobuf for iOS globally. * Set WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE on a global scope similar to GYP since tests depend on it. * Added missing rtc_libvpx_build_vp9 variable. * Moved out audio_coding defines into .gni file to avoid code duplication * Renamed files to avoid object naming conflicts that GN disallows: * webrtc/modules/audio_processing/{echo_cancellation_unittest.cc->echo_cancellation_bit_exact_unittest.cc} * webrtc/modules/video_coding/codecs/vp9/{screenshare_layers_unittest.cc->vp9_screenshare_layers_unittest.cc} BUG=webrtc:5949 TESTED=Built and ran the tests on Mac. Also ran: gn gen out/Default --args="rtc_enable_bwe_test_logging=true" and verified that more objects are being built (1885 vs 1883) when compiling modules_unittests. NOTRY=True NOPRESUBMIT=True Committed: https://crrev.com/fb11424551dae924869ae54059cb1612836cb6f7 Cr-Commit-Position: refs/heads/master@{#13108}

Patch Set 1 : #

Patch Set 2 : Fix compile errors #

Patch Set 3 : Fix audio_device #

Patch Set 4 : Reverted invalid metrics/field trial dependency changes #

Patch Set 5 : Rebased #

Patch Set 6 : Added missing rtc_base dependencies #

Patch Set 7 : Correct path to base.gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+872 lines, -700 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M webrtc/build/webrtc.gni View 1 2 2 chunks +1 line, -4 lines 0 comments Download
A webrtc/modules/BUILD.gn View 1 2 3 4 5 1 chunk +540 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 4 chunks +151 lines, -15 lines 0 comments Download
A webrtc/modules/audio_coding/audio_coding.gni View 1 chunk +30 lines, -0 lines 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 2 chunks +44 lines, -2 lines 0 comments Download
A + webrtc/modules/audio_processing/echo_cancellation_bit_exact_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
D webrtc/modules/audio_processing/echo_cancellation_unittest.cc View 1 chunk +0 lines, -339 lines 0 comments Download
M webrtc/modules/desktop_capture/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/BUILD.gn View 3 chunks +67 lines, -2 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 chunk +30 lines, -0 lines 0 comments Download
D webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc View 1 chunk +0 lines, -324 lines 0 comments Download
A + webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 36 (26 generated)
kjellander_webrtc
henrik.lundin: main review stefan: video_coding/codecs/vp9/screenshare_layers_unittest.cc rename (let me know if you want to do a ...
4 years, 6 months ago (2016-06-09 14:10:45 UTC) #19
hlundin-webrtc
lgtm
4 years, 6 months ago (2016-06-10 09:45:14 UTC) #20
stefan-webrtc
Did you also build with the flag to enable bwe test logging? (-Denable_bwe_test_logging=1 for gyp)
4 years, 6 months ago (2016-06-10 11:27:08 UTC) #21
kjellander_webrtc
On 2016/06/10 11:27:08, stefan-webrtc (holmer) wrote: > Did you also build with the flag to ...
4 years, 6 months ago (2016-06-10 20:45:46 UTC) #22
stefan-webrtc
On 2016/06/10 20:45:46, kjellander_webrtc wrote: > On 2016/06/10 11:27:08, stefan-webrtc (holmer) wrote: > > Did ...
4 years, 6 months ago (2016-06-10 20:47:26 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041233006/260001
4 years, 6 months ago (2016-06-13 06:03:25 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/6224)
4 years, 6 months ago (2016-06-13 06:05:34 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041233006/320001
4 years, 6 months ago (2016-06-13 07:19:41 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:320001)
4 years, 6 months ago (2016-06-13 07:19:53 UTC) #34
commit-bot: I haz the power
4 years, 6 months ago (2016-06-13 07:19:59 UTC) #36
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/fb11424551dae924869ae54059cb1612836cb6f7
Cr-Commit-Position: refs/heads/master@{#13108}

Powered by Google App Engine
This is Rietveld 408576698