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

Issue 2991323003: Decoupling test targets from Obj-C code (Closed)

Created:
3 years, 4 months ago by mbonadei
Modified:
3 years, 4 months ago
Reviewers:
kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

The goal of this CL is to separate Obj-C/Obj-C++ code from targets which have also C++ code (see https://bugs.chromium.org/p/webrtc/issues/detail?id=7743 for more information). We have moved .mm files out of test_support and fileutils (into test_support_objc and fileutils_objc). To achieve the goal for run_test and test_renderer (in the next part of the phrase X is run_test or test_renderer) we have created 2 targets (X_objc and X_generic) and X will act as a proxy between these targets (this way we can avoid a circular dependency between X_generic and X_objc). BUG=webrtc:7743 Review-Url: https://codereview.webrtc.org/2991323003 Cr-Commit-Position: refs/heads/master@{#19479} Committed: https://chromium.googlesource.com/external/webrtc/+/cd95a4ec76cc607886c21144b451c1b8e871013a

Patch Set 1 #

Patch Set 2 : Decoupling fileutils from Obj-C code #

Patch Set 3 : Decoupling run_test from Obj-C code #

Patch Set 4 : Decoupling test_renderer from Obj-C code #

Total comments: 4

Patch Set 5 : Removing circular dependencies #

Patch Set 6 : Coding standards #

Total comments: 2

Patch Set 7 : Adding private visibility to test_renderer_generic #

Patch Set 8 : rebasing #

Patch Set 9 : Fixing BUILD.gn file after wrong merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -33 lines) Patch
M webrtc/test/BUILD.gn View 1 2 3 4 5 6 7 8 8 chunks +116 lines, -33 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
mbonadei
3 years, 4 months ago (2017-08-11 12:10:47 UTC) #2
kjellander_webrtc
https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn#newcode111 webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { test_support_objc https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn#newcode111 webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { I realized ...
3 years, 4 months ago (2017-08-14 06:56:46 UTC) #3
mbonadei
PTAL. https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn#newcode111 webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { On 2017/08/14 06:56:46, kjellander_webrtc wrote: > ...
3 years, 4 months ago (2017-08-15 13:43:14 UTC) #4
kjellander_webrtc
lgtm with my comment addressed. https://codereview.webrtc.org/2991323003/diff/100001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2991323003/diff/100001/webrtc/test/BUILD.gn#newcode612 webrtc/test/BUILD.gn:612: libs = [] Add ...
3 years, 4 months ago (2017-08-15 14:14:18 UTC) #5
mbonadei
https://codereview.webrtc.org/2991323003/diff/100001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2991323003/diff/100001/webrtc/test/BUILD.gn#newcode612 webrtc/test/BUILD.gn:612: libs = [] On 2017/08/15 14:14:18, kjellander_webrtc wrote: > ...
3 years, 4 months ago (2017-08-15 14:25:16 UTC) #6
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/2991323003/120001
3 years, 4 months ago (2017-08-22 12:21:51 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x64_dbg/builds/17014)
3 years, 4 months ago (2017-08-22 13:11:15 UTC) #12
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/2991323003/140001
3 years, 4 months ago (2017-08-23 12:45:16 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_baremetal on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_baremetal/builds/24221)
3 years, 4 months ago (2017-08-23 12:48:46 UTC) #17
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/2991323003/160001
3 years, 4 months ago (2017-08-23 13:27:26 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_mips_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_mips_dbg/builds/14567)
3 years, 4 months ago (2017-08-23 14:42:19 UTC) #22
kjellander_webrtc
On 2017/08/23 14:42:19, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 4 months ago (2017-08-24 04:22:05 UTC) #23
mbonadei
> This is https://bugs.chromium.org/p/chromium/issues/detail?id=758222 > I retried that bot for you. Thank you!
3 years, 4 months ago (2017-08-24 06:40:23 UTC) #24
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/2991323003/160001
3 years, 4 months ago (2017-08-24 06:51:24 UTC) #26
commit-bot: I haz the power
3 years, 4 months ago (2017-08-24 06:56:02 UTC) #29
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/external/webrtc/+/cd95a4ec76cc607886c21144b...

Powered by Google App Engine
This is Rietveld 408576698