|
|
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. |
DescriptionThe 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 #Messages
Total messages: 29 (14 generated)
mbonadei@webrtc.org changed reviewers: + kjellander@webrtc.org
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#newc... 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#newc... webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { I realized for targets like this we probably want to have visibility = [ ":*" ] to limit their visibility to the same BUILD.gn file. Applies to all the CLs similar to this.
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#newc... webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { On 2017/08/14 06:56:46, kjellander_webrtc wrote: > test_support_objc Done. https://codereview.webrtc.org/2991323003/diff/60001/webrtc/test/BUILD.gn#newc... webrtc/test/BUILD.gn:111: rtc_source_set("objc_test_support") { On 2017/08/14 06:56:45, kjellander_webrtc wrote: > I realized for targets like this we probably want to have visibility = [ ":*" ] > to limit their visibility to the same BUILD.gn file. Applies to all the CLs > similar to this. Done.
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#new... webrtc/test/BUILD.gn:612: libs = [] Add visibility = [ ":*" ]
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#new... webrtc/test/BUILD.gn:612: libs = [] On 2017/08/15 14:14:18, kjellander_webrtc wrote: > Add > visibility = [ ":*" ] Done.
Description was changed from ========== Decoupling test_support from Obj-C code BUG=webrtc:7743 ========== to ========== 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 ==========
The CQ bit was checked by mbonadei@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2991323003/#ps120001 (title: "Adding private visibility to test_renderer_generic")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
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...)
The CQ bit was checked by mbonadei@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2991323003/#ps140001 (title: "rebasing")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
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)
The CQ bit was checked by mbonadei@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2991323003/#ps160001 (title: "Fixing BUILD.gn file after wrong merge")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
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_db...)
On 2017/08/23 14:42:19, commit-bot: I haz the power wrote: > 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_db...) This is https://bugs.chromium.org/p/chromium/issues/detail?id=758222 I retried that bot for you.
> This is https://bugs.chromium.org/p/chromium/issues/detail?id=758222 > I retried that bot for you. Thank you!
The CQ bit was checked by mbonadei@webrtc.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 160001, "attempt_start_ts": 1503557471666140, "parent_rev": "ca6d3b60b521184a9c641162cf3dfad2dd0ff9e9", "commit_rev": "cd95a4ec76cc607886c21144b451c1b8e871013a"}
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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/+/cd95a4ec76cc607886c21144b... ==========
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/external/webrtc/+/cd95a4ec76cc607886c21144b... |