|
|
Created:
4 years ago by ehmaldonado_webrtc Modified:
4 years ago CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc Target Ref:
refs/pending/heads/master Project:
webrtc Visibility:
Public. |
DescriptionRefactor fileutils.cc/h and fileutils_unittests.cc into their own targets.
This will allow for custom implementations downstream.
R=kjellander@webrtc.org, phoglund@webrtc.org
BUG=webrtc:6727
Committed: https://crrev.com/37535bfb7fcb46df9382e6976ce9ac99c3fb1c3e
Cr-Commit-Position: refs/heads/master@{#15423}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Addressed comments. #
Total comments: 2
Patch Set 3 : Adressed comments. #
Total comments: 2
Patch Set 4 : Reverted webrtc/build/webrtc.gni #Patch Set 5 : Make fileutils a public_dep. #Patch Set 6 : Fix windows compile error. #
Total comments: 1
Patch Set 7 : Move iosfileutils.mm to fileutils. #Patch Set 8 : Fix iOS compile error. #
Messages
Total messages: 37 (16 generated)
Description was changed from ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG= ========== to ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG=webrtc:6727 ==========
The idea is to implement target translation downstream, so we could replace every occurrence of the target "fileutils" with "fileutils_internal" or something.
https://codereview.webrtc.org/2548713003/diff/1/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2548713003/diff/1/webrtc/test/BUILD.gn#newcode391 webrtc/test/BUILD.gn:391: rtc_source_set("fileutils") { Move these closer to the reference
On 2016/12/02 14:31:08, kjellander_webrtc wrote: > https://codereview.webrtc.org/2548713003/diff/1/webrtc/test/BUILD.gn > File webrtc/test/BUILD.gn (right): > > https://codereview.webrtc.org/2548713003/diff/1/webrtc/test/BUILD.gn#newcode391 > webrtc/test/BUILD.gn:391: rtc_source_set("fileutils") { > Move these closer to the reference PTAL
https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... webrtc/test/BUILD.gn:115: rtc_source_set("fileutils_unittests") { Please move to below test_support_unittests https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... webrtc/test/BUILD.gn:127: suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] Is this one needed? With just so few files, it would be nice to fix the warnings instead.
On 2016/12/02 14:40:40, kjellander_webrtc wrote: > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn > File webrtc/test/BUILD.gn (right): > > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... > webrtc/test/BUILD.gn:115: rtc_source_set("fileutils_unittests") { > Please move to below test_support_unittests > > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... > webrtc/test/BUILD.gn:127: suppressed_configs += [ > "//build/config/clang:find_bad_constructs" ] > Is this one needed? With just so few files, it would be nice to fix the warnings > instead. I had expected it to be harder to fix... If this is the only thing we should do to get rid of that suppression, it might be worth doing. PTAL
On 2016/12/02 14:40:40, kjellander_webrtc wrote: > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn > File webrtc/test/BUILD.gn (right): > > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... > webrtc/test/BUILD.gn:115: rtc_source_set("fileutils_unittests") { > Please move to below test_support_unittests > > https://codereview.webrtc.org/2548713003/diff/20001/webrtc/test/BUILD.gn#newc... > webrtc/test/BUILD.gn:127: suppressed_configs += [ > "//build/config/clang:find_bad_constructs" ] > Is this one needed? With just so few files, it would be nice to fix the warnings > instead. I had expected it to be harder to fix... If this is the only thing we should do to get rid of that suppression, it might be worth doing. PTAL
https://codereview.webrtc.org/2548713003/diff/40001/webrtc/build/webrtc.gni File webrtc/build/webrtc.gni (right): https://codereview.webrtc.org/2548713003/diff/40001/webrtc/build/webrtc.gni#n... webrtc/build/webrtc.gni:19: rtc_use_default_fileutils = true Wut? But this variable is never read in your patch.
https://codereview.webrtc.org/2548713003/diff/40001/webrtc/build/webrtc.gni File webrtc/build/webrtc.gni (right): https://codereview.webrtc.org/2548713003/diff/40001/webrtc/build/webrtc.gni#n... webrtc/build/webrtc.gni:19: rtc_use_default_fileutils = true On 2016/12/02 16:03:54, phoglund wrote: > Wut? But this variable is never read in your patch. Forgot to revert. Sorry.
lgtm!
The CQ bit was checked by ehmaldonado@webrtc.org
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_x86_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_rel...) android_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/19032) ios_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/19390) linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds...)
The CQ bit was checked by ehmaldonado@webrtc.org to run a CQ dry run
Dry run: 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
Dry run: Try jobs failed on following builders: win_x64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/20302)
Patchset #6 (id:100001) has been deleted
Patchset #6 (id:120001) has been deleted
On 2016/12/02 22:04:06, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > android_compile_x86_rel on master.tryserver.webrtc (JOB_FAILED, > http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_rel...) > android_rel on master.tryserver.webrtc (JOB_FAILED, > http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/19032) > ios_rel on master.tryserver.webrtc (JOB_FAILED, > http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/19390) > linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, > http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds...) PTAL. I made a couple of changes.
https://codereview.webrtc.org/2548713003/diff/140001/webrtc/test/BUILD.gn File webrtc/test/BUILD.gn (right): https://codereview.webrtc.org/2548713003/diff/140001/webrtc/test/BUILD.gn#new... webrtc/test/BUILD.gn:157: sources += [ "testsupport/iosfileutils.mm" ] Shouldn't this be in the fileutils target?
On 2016/12/03 17:06:37, kjellander_webrtc wrote: > https://codereview.webrtc.org/2548713003/diff/140001/webrtc/test/BUILD.gn > File webrtc/test/BUILD.gn (right): > > https://codereview.webrtc.org/2548713003/diff/140001/webrtc/test/BUILD.gn#new... > webrtc/test/BUILD.gn:157: sources += [ "testsupport/iosfileutils.mm" ] > Shouldn't this be in the fileutils target? Right. PTAL.
lgtm
lgtm
The CQ bit was checked by ehmaldonado@webrtc.org
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: ios_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_dbg/builds/20703)
The CQ bit was checked by ehmaldonado@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from phoglund@webrtc.org, kjellander@webrtc.org Link to the patchset: https://codereview.webrtc.org/2548713003/#ps180001 (title: "Fix iOS compile error.")
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": 180001, "attempt_start_ts": 1480948027199150, "parent_rev": "a69d4a754403610334f97b038234c127d9905eae", "commit_rev": "6bfb83bbc20fe48f6fbebb17dbba46fa8c2252c6"}
Message was sent while issue was closed.
Description was changed from ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG=webrtc:6727 ========== to ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG=webrtc:6727 ==========
Message was sent while issue was closed.
Committed patchset #8 (id:180001)
Message was sent while issue was closed.
Description was changed from ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG=webrtc:6727 ========== to ========== Refactor fileutils.cc/h and fileutils_unittests.cc into their own targets. This will allow for custom implementations downstream. R=kjellander@webrtc.org, phoglund@webrtc.org BUG=webrtc:6727 Committed: https://crrev.com/37535bfb7fcb46df9382e6976ce9ac99c3fb1c3e Cr-Commit-Position: refs/heads/master@{#15423} ==========
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/37535bfb7fcb46df9382e6976ce9ac99c3fb1c3e Cr-Commit-Position: refs/heads/master@{#15423} |