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

Issue 2911203002: Enabling `gn check` on webrtc/test (Closed)

Created:
3 years, 6 months ago by mbonadei
Modified:
3 years, 6 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, danilchap, AleBzk, kwiberg-webrtc, stefan-webrtc, henrika_webrtc, zhuangzesen_agora.io, hlundin-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, sdk-team_agora.io, peah-webrtc, minyue-webrtc, yujie_mao (webrtc), mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Enabling `gn check` on webrtc/test BUG=webrtc:6828 NOTRY=True Review-Url: https://codereview.webrtc.org/2911203002 Cr-Commit-Position: refs/heads/master@{#18372} Committed: https://chromium.googlesource.com/external/webrtc/+/db5bb404b0f42a7c0a43f882b34ba1325d8cbae2

Patch Set 1 #

Patch Set 2 : running chromium trybots #

Patch Set 3 : Fixing webrtc/test:fileutils #

Patch Set 4 : fixing webrtc/test:fileutils on win #

Total comments: 1

Patch Set 5 : running chromium trybots #

Patch Set 6 : rebasing after cl: 2908973005 #

Patch Set 7 : Fixing append to list #

Patch Set 8 : rebasing and re-running chromium trybots #

Patch Set 9 : re-adding .gn change after trybots #

Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -142 lines) Patch
M .gn View 2 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 3 chunks +112 lines, -110 lines 0 comments Download
M webrtc/modules/audio_device/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +13 lines, -13 lines 0 comments Download
M webrtc/modules/rtp_rtcp/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +15 lines, -15 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 6 7 12 chunks +56 lines, -4 lines 0 comments Download
M webrtc/test/fuzzers/BUILD.gn View 14 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
mbonadei
In PS#4 we ran all the common trybots. PS#5 and PS#6 were broken by the ...
3 years, 6 months ago (2017-05-30 13:55:49 UTC) #2
kjellander_webrtc
lgtm with a question https://codereview.webrtc.org/2911203002/diff/60001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2911203002/diff/60001/webrtc/test/BUILD.gn#newcode342 webrtc/test/BUILD.gn:342: deps += [ "//webrtc/sdk:objc_common" ] ...
3 years, 6 months ago (2017-05-30 14:17:35 UTC) #3
mbonadei
On 2017/05/30 14:17:35, kjellander_webrtc wrote: > lgtm with a question > > https://codereview.webrtc.org/2911203002/diff/60001/webrtc/test/BUILD.gn > File ...
3 years, 6 months ago (2017-05-30 14:26:31 UTC) #4
kjellander_webrtc
On 2017/05/30 14:26:31, mbonadei wrote: > On 2017/05/30 14:17:35, kjellander_webrtc wrote: > > lgtm with ...
3 years, 6 months ago (2017-05-30 14:28:46 UTC) #5
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/2911203002/160001
3 years, 6 months ago (2017-06-01 11:05:21 UTC) #8
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/external/webrtc/+/db5bb404b0f42a7c0a43f882b34ba1325d8cbae2
3 years, 6 months ago (2017-06-01 11:07:19 UTC) #11
mbonadei
3 years, 6 months ago (2017-06-01 11:25:32 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.webrtc.org/2920763002/ by mbonadei@webrtc.org.

The reason for reverting is: ERROR at
//webrtc/test/testsupport/fileutils_unittest.cc:20:11: Can't include this header
from here.
#include "webrtc/base/checks.h"
          ^-------------------
The target:
  //webrtc/test:fileutils_unittests
is including a file from the target:
  //webrtc/base:rtc_base_approved

It's usually best to depend directly on the destination target.
In some cases, the destination target is considered a subcomponent
of an intermediate target. In this case, the intermediate target
should depend publicly on the destination to forward the ability
to include headers.

Dependency chain (there may also be others):
  //webrtc/test:fileutils_unittests -->
  //webrtc/test:fileutils --[private]-->
  //webrtc/base:rtc_base_approved
.

Powered by Google App Engine
This is Rietveld 408576698