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

Issue 2067233002: Revert of Use Mojo pipes to signal sync IPC events (Closed)

Created:
4 years, 6 months ago by tommycli
Modified:
4 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Use Mojo pipes to signal sync IPC events (patchset #30 id:760001 of https://codereview.chromium.org/2033243003/ ) Reason for revert: Breaks DrMemory builder. Sorry: https://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Windows%20Builder%20%28DrMemory%29?numbuilds=200 First breaking build: https://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Windows%20Builder%20%28DrMemory%29/builds/17216 Error: Updating projects from gyp files... Exception: Unknown AST node at key path 'includes': Set([Const('mojo_public.gypi')]) while reading C:\b\build\slave\drm-cr\build\src\mojo\mojo_public.gyp Traceback (most recent call last): File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 496, in CallLoadTargetBuildFile includes, depth, check, False) File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 391, in LoadTargetBuildFile includes, True, check) File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 240, in LoadOneBuildFile build_file_data = CheckedEval(build_file_contents) File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 194, in CheckedEval return CheckNode(c3[0], []) File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 210, in CheckNode dict[key] = CheckNode(c[n + 1], kp) File "C:\b\build\slave\drm-cr\build\src\tools\gyp\pylib\gyp\input.py", line 224, in CheckNode "': " + repr(node)) TypeError: Unknown AST node at key path 'includes': Set([Const('mojo_public.gypi')]) while reading C:\b\build\slave\drm-cr\build\src\mojo\mojo_public.gyp Original issue's description: > Use Mojo pipes to signal sync IPC events > > This transitions legacy sync IPC to use Mojo message pipe handles > for all of its sync event waiting. This is a necessary precursor to > mixing sync legacy IPC with sync Mojo IPC, and is also required to > support correct FIFO between ChannelProxy and Mojo Channel > associated interfaces. > > Specifically: > > - Introduces a new IPC::MojoEvent type which is a WaitableEvent-like > interface around a local message pipe. > - Moves mojo::SyncHandleRegistry out of internal bindings API and > exposes it publicly. > - Replaces most uses of WaitableEvent with MojoEvent for sync IPC > - Replaces all use of WaitableEvent::WaitMany for sync IPC > with mojo::SyncHandleRegistry::WatchAllHandles. > - Cleans up some unnecessary complexity in SyncMessage since > pump_messages_event() was only being used with a single > global event that's always signaled. > > The system's behavior should be effectively unchanged by this CL, > but legacy sync IPC and mojo sync IPC can now be mixed freely. > > BUG=612500 > CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel > > Committed: https://crrev.com/97912711c72d91e50bf6999f6842f9de1c05fab1 > Cr-Commit-Position: refs/heads/master@{#399848} TBR=bbudge@chromium.org,jam@chromium.org,mseaborn@chromium.org,raymes@chromium.org,sievers@chromium.org,yzshen@chromium.org,rockot@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=612500 Committed: https://crrev.com/5628ee3c26b0d0e18f8d722875fc71789b2ffba5 Cr-Commit-Position: refs/heads/master@{#399905}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+566 lines, -1230 lines) Patch
M chrome/browser/printing/cloud_print/test/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M components/nacl.gyp View 2 chunks +0 lines, -2 lines 0 comments Download
M components/nacl/loader/BUILD.gn View 3 chunks +0 lines, -3 lines 0 comments Download
M components/nacl/loader/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M components/nacl/loader/nacl_helper_linux.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M components/nacl/loader/nacl_main.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M components/nacl_nonsfi.gyp View 4 chunks +0 lines, -16 lines 0 comments Download
M gpu/gpu.gyp View 1 chunk +1 line, -1 line 0 comments Download
M gpu/ipc/service/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ipc/BUILD.gn View 5 chunks +1 line, -19 lines 0 comments Download
M ipc/DEPS View 1 chunk +0 lines, -8 lines 0 comments Download
M ipc/ipc.gyp View 4 chunks +1 line, -21 lines 0 comments Download
M ipc/ipc.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M ipc/ipc_nacl.gyp View 2 chunks +0 lines, -4 lines 0 comments Download
M ipc/ipc_sync_channel.h View 7 chunks +16 lines, -19 lines 0 comments Download
M ipc/ipc_sync_channel.cc View 17 chunks +90 lines, -182 lines 0 comments Download
M ipc/ipc_sync_message.h View 4 chunks +25 lines, -12 lines 0 comments Download
M ipc/ipc_sync_message.cc View 3 chunks +22 lines, -1 line 0 comments Download
M ipc/ipc_sync_message_filter.h View 3 chunks +3 lines, -15 lines 0 comments Download
M ipc/ipc_sync_message_filter.cc View 5 chunks +11 lines, -53 lines 0 comments Download
D ipc/mojo_event.h View 1 chunk +0 lines, -45 lines 0 comments Download
D ipc/mojo_event.cc View 1 chunk +0 lines, -39 lines 0 comments Download
M ipc/run_all_unittests.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M mojo/mojo_edk.gyp View 4 chunks +101 lines, -57 lines 0 comments Download
D mojo/mojo_edk.gypi View 1 chunk +0 lines, -115 lines 0 comments Download
M mojo/mojo_edk_tests.gyp View 5 chunks +10 lines, -10 lines 0 comments Download
M mojo/mojo_public.gyp View 7 chunks +277 lines, -68 lines 0 comments Download
D mojo/mojo_public.gypi View 1 chunk +0 lines, -150 lines 0 comments Download
D mojo/mojo_public_nacl.gyp View 1 chunk +0 lines, -88 lines 0 comments Download
D mojo/mojo_public_tests.gyp View 1 chunk +0 lines, -162 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/sync_handle_registry.cc View 3 chunks +3 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/sync_handle_watcher.h View 1 chunk +1 line, -1 line 0 comments Download
D mojo/public/cpp/bindings/sync_handle_registry.h View 1 chunk +0 lines, -65 lines 0 comments Download
M mojo/public/cpp/system/watcher.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ppapi/BUILD.gn View 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/nacl_irt/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/nacl_irt/plugin_startup.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M ppapi/native_client/native_client.gyp View 6 chunks +0 lines, -24 lines 0 comments Download
M ppapi/ppapi_internal.gyp View 2 chunks +0 lines, -2 lines 0 comments Download
M ppapi/ppapi_proxy_nacl.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/ppapi_tests.gypi View 3 chunks +1 line, -3 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/DEPS View 1 chunk +0 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_perftests.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
tommycli
Created Revert of Use Mojo pipes to signal sync IPC events
4 years, 6 months ago (2016-06-15 15:53:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2067233002/1
4 years, 6 months ago (2016-06-15 15:53:38 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-15 15:55:10 UTC) #5
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 15:55:25 UTC) #6
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 15:56:57 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5628ee3c26b0d0e18f8d722875fc71789b2ffba5
Cr-Commit-Position: refs/heads/master@{#399905}

Powered by Google App Engine
This is Rietveld 408576698