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

Issue 2001913002: Split TaskQueue out into a separate build target. (Closed)

Created:
4 years, 7 months ago by tommi
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, kjellander_webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Split TaskQueue out into a separate build target. This is needed as there are targets such as newlib_pnacl/remoting_client_plugin_newlib.pexe that depend on rtc_base_approved but don't need TaskQueue. We could implement support for TaskQueue in nacl using ppapi types, but it looks like there isn't a need for it. Libevent isn't supported for nacl either, so I'm introducing a layer on top of rtc_base_approved for TaskQueue. It's conceivable that this target will morph into a target that holds other threading primitives such as platform_thread and possibly socket related operations, which is also an area that we currently #ifdef out for nacl in a few places. Functional change: Removes the "is_nacl" check. R=phoglund@webrtc.org Committed: https://crrev.com/09c60da70439c2dfd50c0aa377594d371d8be9b0 Cr-Commit-Position: refs/heads/master@{#12878}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Address comments #

Patch Set 3 : More cleanup #

Patch Set 4 : Remove comment #

Patch Set 5 : Fix GN build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -16 lines) Patch
M webrtc/base/BUILD.gn View 1 2 3 4 2 chunks +12 lines, -4 lines 0 comments Download
M webrtc/base/base.gyp View 3 chunks +23 lines, -12 lines 0 comments Download
M webrtc/webrtc_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (14 generated)
tommi
Patrik - I simplified the GN files to only have the previously-global flags for libevent, ...
4 years, 7 months ago (2016-05-21 19:28:33 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001913002/1
4 years, 7 months ago (2016-05-21 19:28:47 UTC) #3
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_gn_dbg/builds/11000)
4 years, 7 months ago (2016-05-21 19:31:46 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001913002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001913002/20001
4 years, 7 months ago (2016-05-21 19:34:27 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_ubsan_vptr on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/2726)
4 years, 7 months ago (2016-05-21 19:54:17 UTC) #10
tommi
https://codereview.webrtc.org/2001913002/diff/20001/webrtc/build/webrtc.gni File webrtc/build/webrtc.gni (left): https://codereview.webrtc.org/2001913002/diff/20001/webrtc/build/webrtc.gni#oldcode62 webrtc/build/webrtc.gni:62: if (is_win || is_mac || is_ios || is_nacl) { ...
4 years, 7 months ago (2016-05-21 20:10:05 UTC) #12
phoglund
I understand why you want to make the simplifications, but we're putting a high premium ...
4 years, 7 months ago (2016-05-23 08:23:32 UTC) #13
tommi
Address comments
4 years, 7 months ago (2016-05-23 15:33:22 UTC) #14
tommi
More cleanup
4 years, 7 months ago (2016-05-23 15:35:41 UTC) #15
tommi
Remove comment
4 years, 7 months ago (2016-05-23 15:36:50 UTC) #16
tommi
https://codereview.webrtc.org/2001913002/diff/20001/webrtc/base/BUILD.gn File webrtc/base/BUILD.gn (right): https://codereview.webrtc.org/2001913002/diff/20001/webrtc/base/BUILD.gn#newcode202 webrtc/base/BUILD.gn:202: defines += [ "WEBRTC_BUILD_LIBEVENT" ] On 2016/05/23 08:23:32, phoglund ...
4 years, 7 months ago (2016-05-23 15:37:19 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001913002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001913002/80001
4 years, 7 months ago (2016-05-23 15:37:41 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_gn_dbg/builds/11265) android_gn_rel on ...
4 years, 7 months ago (2016-05-23 15:40:35 UTC) #21
tommi
Fix GN build
4 years, 7 months ago (2016-05-23 18:12:08 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001913002/100001
4 years, 7 months ago (2016-05-23 18:13:27 UTC) #24
kjellander_webrtc
lgtm
4 years, 7 months ago (2016-05-23 19:22:08 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
4 years, 7 months ago (2016-05-23 20:13:57 UTC) #28
tommi
ping phoglund
4 years, 7 months ago (2016-05-24 14:00:04 UTC) #29
phoglund
lgtm
4 years, 7 months ago (2016-05-24 14:43:07 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2001913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2001913002/100001
4 years, 7 months ago (2016-05-24 18:29:09 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 7 months ago (2016-05-24 18:40:40 UTC) #34
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 18:40:51 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/09c60da70439c2dfd50c0aa377594d371d8be9b0
Cr-Commit-Position: refs/heads/master@{#12878}

Powered by Google App Engine
This is Rietveld 408576698