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

Issue 2832063003: Enabling 'gn check' on webrtc/video (Closed)

Created:
3 years, 8 months ago by mbonadei
Modified:
3 years, 8 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enabling 'gn check' on webrtc/video. This CL also renames webrtc/media:rtc_unittest_main to webrtc/media:rtc_media_tests_utils and it pushes the dependency on webrtc/base:rtc_base_tests_main down in the dependency hierarchy so we can avoid a double definition of the main function. BUG=webrtc:6828 NOTRY=True Review-Url: https://codereview.webrtc.org/2832063003 Cr-Commit-Position: refs/heads/master@{#17859} Committed: https://chromium.googlesource.com/external/webrtc/+/9087d49b8396ff0f88085f2175aa67d9c0a24c99

Patch Set 1 #

Patch Set 2 : Using 'check_includes = false' for video_tests #

Total comments: 1

Patch Set 3 : Moving rtc_base_tests_main out of rtc_unittest_main #

Total comments: 2

Patch Set 4 : Renaming rtc_unittest_main to rtc_unittest_utils #

Total comments: 2

Patch Set 5 : Renaming media:rtc_unittest_utils to media:rtc_media_tests_utils #

Patch Set 6 : running chromium trybots #

Patch Set 7 : Revert "running chromium trybots" #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -6 lines) Patch
M .gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/media/BUILD.gn View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/ortc/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 4 8 chunks +56 lines, -0 lines 2 comments Download

Messages

Total messages: 23 (9 generated)
mbonadei
3 years, 8 months ago (2017-04-21 14:44:33 UTC) #3
kjellander_webrtc
https://codereview.webrtc.org/2832063003/diff/20001/webrtc/video/BUILD.gn File webrtc/video/BUILD.gn (right): https://codereview.webrtc.org/2832063003/diff/20001/webrtc/video/BUILD.gn#newcode217 webrtc/video/BUILD.gn:217: # //webrtc/media/rtc_unittest_main. Can you break rtc_unittest_main into two targets ...
3 years, 8 months ago (2017-04-24 05:14:33 UTC) #5
mbonadei
On 2017/04/24 05:14:33, kjellander_webrtc wrote: > https://codereview.webrtc.org/2832063003/diff/20001/webrtc/video/BUILD.gn > File webrtc/video/BUILD.gn (right): > > https://codereview.webrtc.org/2832063003/diff/20001/webrtc/video/BUILD.gn#newcode217 > ...
3 years, 8 months ago (2017-04-24 12:10:30 UTC) #6
mbonadei
https://codereview.webrtc.org/2832063003/diff/40001/webrtc/media/BUILD.gn File webrtc/media/BUILD.gn (right): https://codereview.webrtc.org/2832063003/diff/40001/webrtc/media/BUILD.gn#newcode264 webrtc/media/BUILD.gn:264: rtc_source_set("rtc_unittest_main") { I think that the _main suffix is ...
3 years, 8 months ago (2017-04-24 12:10:39 UTC) #7
kjellander_webrtc
Let's rename it first. This kind of relates to https://bugs.chromium.org/p/webrtc/issues/detail?id=5996 so you could reference that ...
3 years, 8 months ago (2017-04-24 12:41:43 UTC) #8
mbonadei
On 2017/04/24 12:41:43, kjellander_webrtc wrote: > Let's rename it first. > This kind of relates ...
3 years, 8 months ago (2017-04-24 13:20:14 UTC) #9
kjellander_webrtc
https://codereview.webrtc.org/2832063003/diff/60001/webrtc/media/BUILD.gn File webrtc/media/BUILD.gn (right): https://codereview.webrtc.org/2832063003/diff/60001/webrtc/media/BUILD.gn#newcode264 webrtc/media/BUILD.gn:264: rtc_source_set("rtc_unittest_utils") { Can we use rtc_media_tests_utils instead? I don't ...
3 years, 8 months ago (2017-04-24 13:37:06 UTC) #10
mbonadei
https://codereview.webrtc.org/2832063003/diff/60001/webrtc/media/BUILD.gn File webrtc/media/BUILD.gn (right): https://codereview.webrtc.org/2832063003/diff/60001/webrtc/media/BUILD.gn#newcode264 webrtc/media/BUILD.gn:264: rtc_source_set("rtc_unittest_utils") { On 2017/04/24 13:37:06, kjellander_webrtc wrote: > Can ...
3 years, 8 months ago (2017-04-24 14:16:31 UTC) #11
kjellander_webrtc
lgtm
3 years, 8 months ago (2017-04-24 14:33:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2832063003/120001
3 years, 8 months ago (2017-04-25 07:31:25 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/external/webrtc/+/9087d49b8396ff0f88085f2175aa67d9c0a24c99
3 years, 8 months ago (2017-04-25 07:35:41 UTC) #19
kjellander_webrtc
On 2017/04/25 07:35:41, commit-bot: I haz the power wrote: > Committed patchset #7 (id:120001) as ...
3 years, 8 months ago (2017-04-25 07:41:51 UTC) #20
kjellander_webrtc
Found a mistake, but it's being fixed (and prevented) by my upcoming CL. https://codereview.webrtc.org/2832063003/diff/120001/webrtc/video/BUILD.gn File ...
3 years, 8 months ago (2017-04-25 08:50:13 UTC) #22
mbonadei
3 years, 8 months ago (2017-04-25 09:08:39 UTC) #23
Message was sent while issue was closed.
https://codereview.webrtc.org/2832063003/diff/120001/webrtc/video/BUILD.gn
File webrtc/video/BUILD.gn (right):

https://codereview.webrtc.org/2832063003/diff/120001/webrtc/video/BUILD.gn#ne...
webrtc/video/BUILD.gn:248: "../modules/rtp_rtcp:rtp_rtcp_unittests",
On 2017/04/25 08:50:13, kjellander_webrtc wrote:
> Ah, I missed that this target now pulled in additional tests with this
> dependency.
> 
> Luckily I'm fixing that and preventing such from happening in the future with
my
> https://codereview.webrtc.org/2828793003/

Thanks, I missed that too!

Powered by Google App Engine
This is Rietveld 408576698