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

Issue 2041743003: GN: Add SDK tests to rtc_unittests. (Closed)

Created:
4 years, 6 months ago by kjellander_webrtc
Modified:
4 years, 6 months ago
Reviewers:
Nico, tkchin_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
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

GN: Add SDK tests to rtc_unittests. In https://codereview.webrtc.org/2034923003 it was discovered that a test binary rtc_sdk_peerconnection_objc_tests was a dependency to rtc_unittests. Unfortunately gtest doesn't include dependent executables into the same test executable; only libraries (so theses tests weren't run). This CL incorporates those tests into rtc_unittests and does the same changes to the GN build. BUG=webrtc:5949 TESTED=Built and ran rtc_unittests locally on Mac. NOTRY=True Committed: https://crrev.com/3bcedd3595f417330149d661a8e4d4dd4b6562f8 Cr-Commit-Position: refs/heads/master@{#13060}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Removed commented lib #

Patch Set 3 : Final fixes #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -146 lines) Patch
M webrtc/BUILD.gn View 2 chunks +30 lines, -0 lines 0 comments Download
M webrtc/base/BUILD.gn View 3 chunks +9 lines, -3 lines 3 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
M webrtc/sdk/BUILD.gn View 1 5 chunks +120 lines, -87 lines 2 comments Download
D webrtc/sdk/sdk_tests.gyp View 1 chunk +0 lines, -43 lines 0 comments Download
M webrtc/webrtc.gyp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 chunk +19 lines, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
kjellander_webrtc
See comments in PS#1 and trybot results from PS#2+3 :) https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (left): https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn#oldcode52 ...
4 years, 6 months ago (2016-06-06 19:34:03 UTC) #4
tkchin_webrtc
lgtm https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (right): https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn#newcode563 webrtc/base/BUILD.gn:563: "ApplicationServices.framework", On 2016/06/06 19:34:03, kjellander_webrtc wrote: > This ...
4 years, 6 months ago (2016-06-07 22:14:55 UTC) #5
kjellander_webrtc
https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (right): https://codereview.webrtc.org/2041743003/diff/1/webrtc/base/BUILD.gn#newcode563 webrtc/base/BUILD.gn:563: "ApplicationServices.framework", On 2016/06/07 22:14:54, tkchin_webrtc wrote: > On 2016/06/06 ...
4 years, 6 months ago (2016-06-08 08:03:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2041743003/40001
4 years, 6 months ago (2016-06-08 08:09:01 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-08 08:14:21 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/3bcedd3595f417330149d661a8e4d4dd4b6562f8 Cr-Commit-Position: refs/heads/master@{#13060}
4 years, 6 months ago (2016-06-08 08:14:30 UTC) #12
Nico
https://codereview.webrtc.org/2041743003/diff/40001/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (right): https://codereview.webrtc.org/2041743003/diff/40001/webrtc/base/BUILD.gn#newcode64 webrtc/base/BUILD.gn:64: libs = [ "Carbon.framework" ] This must be +=, ...
4 years, 6 months ago (2016-06-13 11:32:34 UTC) #14
kjellander_webrtc
4 years, 6 months ago (2016-06-13 11:51:33 UTC) #15
Message was sent while issue was closed.
On 2016/06/13 11:32:34, Nico (traveling...slow) wrote:
> https://codereview.webrtc.org/2041743003/diff/40001/webrtc/base/BUILD.gn
> File webrtc/base/BUILD.gn (right):
> 
>
https://codereview.webrtc.org/2041743003/diff/40001/webrtc/base/BUILD.gn#newc...
> webrtc/base/BUILD.gn:64: libs = [ "Carbon.framework" ]
> This must be +=, not =, else gn will fail with "this overwrites a non-empty
> list" when configuring a 32-bit build. Can you add a + here please?

Sure, doing it in https://codereview.webrtc.org/2065583002/

> 
> (i'd do it myself, but editing webrtc as part of a chromium checkout and
running
> `git cl upload` there doesn't work, while it works fine for all other
> third-party chromium deps. I do have a standalone webrtc checkout, but it's
> still on webrtc, and getting a fresh standalone webrtc checkout will take
hours
> and I'm on a laptop and traveling…)

Right, that's unfortunate and is tracked in
https://bugs.chromium.org/p/chromium/issues/detail?id=611808

Powered by Google App Engine
This is Rietveld 408576698