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

Issue 231353002: Make mojo_system static and mojo_system_impl a component, never use both (Closed)

Created:
6 years, 8 months ago by DaveMoore
Modified:
4 years, 11 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, Aaron Boodman, darin (slow to review), viettrungluu+watch_chromium.org, ben+mojo_chromium.org, abarth-chromium
Visibility:
Public.

Description

Make mojo_system static and mojo_system_impl a component, never use both BUG= R=viettrungluu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263717

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 21

Patch Set 3 : Deal with review comments #

Patch Set 4 : Fix accidental change to .gitmodules #

Patch Set 5 : Fix accidental change to .gitmodules #

Total comments: 28

Patch Set 6 : Address review concerns, move static Core* to entrypoints #

Patch Set 7 : Export MojoSetSystemThunks() regardless of component build #

Patch Set 8 : Get content builds to work #

Total comments: 11

Patch Set 9 : Make sure that apps that depend on mojo_common_lib don't depend on mojo_system #

Patch Set 10 : Add explicit dependency on mojo_system_impl to mojo_service_managaer #

Patch Set 11 : Add explicit dependency on mojo_system_impl to mojo_gles2_impl #

Patch Set 12 : Add explicit dependency on mojo_system_impl to mojo_native_viewport_service #

Patch Set 13 : Make mojo_test_support a component instead of a shared_library #

Patch Set 14 : Fix the mac loader path dependencies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+587 lines, -2231 lines) Patch
M content/content_app.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/content_common_mojo_bindings.gypi View 1 2 3 4 5 6 7 2 chunks +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +0 lines, -3 lines 0 comments Download
M mojo/embedder/embedder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +9 lines, -8 lines 0 comments Download
M mojo/embedder/test_embedder.cc View 1 2 3 4 5 6 3 chunks +8 lines, -7 lines 0 comments Download
M mojo/mojo.gyp View 1 2 3 4 5 6 7 8 9 10 17 chunks +14 lines, -17 lines 0 comments Download
M mojo/mojo_apps.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +1 line, -2 lines 0 comments Download
M mojo/mojo_examples.gypi View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +5 lines, -10 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +5 lines, -40 lines 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -5 lines 0 comments Download
A mojo/public/platform/native/system_thunks.h View 1 2 3 4 5 6 7 8 9 1 chunk +136 lines, -0 lines 0 comments Download
A + mojo/public/platform/native/system_thunks.cc View 1 2 3 4 5 6 7 8 4 chunks +60 lines, -69 lines 0 comments Download
D mojo/public/system/core_private.h View 1 chunk +0 lines, -87 lines 0 comments Download
D mojo/public/system/core_private.cc View 1 chunk +0 lines, -177 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
A mojo/system/core.h View 1 2 3 4 5 1 chunk +151 lines, -0 lines 0 comments Download
A + mojo/system/core.cc View 1 2 3 4 5 19 chunks +70 lines, -71 lines 0 comments Download
D mojo/system/core_impl.h View 1 chunk +0 lines, -153 lines 0 comments Download
D mojo/system/core_impl.cc View 1 chunk +0 lines, -580 lines 0 comments Download
D mojo/system/core_impl_unittest.cc View 1 chunk +0 lines, -881 lines 0 comments Download
M mojo/system/core_test_base.h View 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/system/core_test_base.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A + mojo/system/core_unittest.cc View 13 chunks +14 lines, -14 lines 0 comments Download
M mojo/system/data_pipe.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/dispatcher.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A mojo/system/entrypoints.h View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
A + mojo/system/entrypoints.cc View 1 2 3 4 5 7 chunks +36 lines, -63 lines 0 comments Download
M mojo/system/handle_table.h View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M mojo/system/handle_table.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/mapping_table.h View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M mojo/system/mapping_table.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/system/message_pipe.h View 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/system/message_pipe.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/system/simple_dispatcher.h View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/system/waiter_list.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
DaveMoore
Cleanup
6 years, 8 months ago (2014-04-09 19:59:08 UTC) #1
viettrungluu
https://codereview.chromium.org/231353002/diff/20001/mojo/embedder/embedder.cc File mojo/embedder/embedder.cc (left): https://codereview.chromium.org/231353002/diff/20001/mojo/embedder/embedder.cc#oldcode57 mojo/embedder/embedder.cc:57: void Init() { Please don't do this. https://codereview.chromium.org/231353002/diff/20001/mojo/shell/in_process_dynamic_service_runner.cc File ...
6 years, 8 months ago (2014-04-09 20:26:52 UTC) #2
viettrungluu
https://codereview.chromium.org/231353002/diff/20001/mojo/public/platform/native/mojo_core.h File mojo/public/platform/native/mojo_core.h (right): https://codereview.chromium.org/231353002/diff/20001/mojo/public/platform/native/mojo_core.h#newcode120 mojo/public/platform/native/mojo_core.h:120: extern "C" MOJO_SYSTEM_EXPORT MojoResult SetMojoCore(MojoCore* mojo_core); This probably shouldn't ...
6 years, 8 months ago (2014-04-09 20:39:10 UTC) #3
viettrungluu
https://codereview.chromium.org/231353002/diff/20001/mojo/public/platform/native/mojo_core.cc File mojo/public/platform/native/mojo_core.cc (right): https://codereview.chromium.org/231353002/diff/20001/mojo/public/platform/native/mojo_core.cc#newcode156 mojo/public/platform/native/mojo_core.cc:156: mojo_core->size = sizeof(g_core); This seems like a bad idea. ...
6 years, 8 months ago (2014-04-09 20:52:22 UTC) #4
DaveMoore
Deal with review comments
6 years, 8 months ago (2014-04-09 22:35:56 UTC) #5
DaveMoore
Fix accidental change to .gitmodules
6 years, 8 months ago (2014-04-09 22:37:19 UTC) #6
DaveMoore
Fix accidental change to .gitmodules
6 years, 8 months ago (2014-04-09 22:41:36 UTC) #7
DaveMoore
https://codereview.chromium.org/231353002/diff/20001/mojo/embedder/embedder.cc File mojo/embedder/embedder.cc (left): https://codereview.chromium.org/231353002/diff/20001/mojo/embedder/embedder.cc#oldcode57 mojo/embedder/embedder.cc:57: void Init() { On 2014/04/09 20:26:52, viettrungluu wrote: > ...
6 years, 8 months ago (2014-04-09 22:49:07 UTC) #8
viettrungluu
https://codereview.chromium.org/231353002/diff/80001/content/app/mojo/mojo_init.cc File content/app/mojo/mojo_init.cc (left): https://codereview.chromium.org/231353002/diff/80001/content/app/mojo/mojo_init.cc#oldcode23 content/app/mojo/mojo_init.cc:23: mojo::embedder::Init(); Presumably, you need to restore this line? https://codereview.chromium.org/231353002/diff/80001/mojo/common/test/run_all_unittests.cc ...
6 years, 8 months ago (2014-04-09 23:06:44 UTC) #9
DaveMoore
Address review concerns, move static Core* to entrypoints
6 years, 8 months ago (2014-04-10 17:26:50 UTC) #10
DaveMoore
Export MojoSetSystemThunks() regardless of component build
6 years, 8 months ago (2014-04-10 18:16:12 UTC) #11
DaveMoore
Get content builds to work
6 years, 8 months ago (2014-04-10 18:53:58 UTC) #12
DaveMoore
https://codereview.chromium.org/231353002/diff/80001/content/app/mojo/mojo_init.cc File content/app/mojo/mojo_init.cc (left): https://codereview.chromium.org/231353002/diff/80001/content/app/mojo/mojo_init.cc#oldcode23 content/app/mojo/mojo_init.cc:23: mojo::embedder::Init(); On 2014/04/09 23:06:44, viettrungluu wrote: > Presumably, you ...
6 years, 8 months ago (2014-04-10 18:58:58 UTC) #13
viettrungluu
LGTM with a few small issues. You break the Winuxoid Component Frobinator build, you buy ...
6 years, 8 months ago (2014-04-10 19:38:06 UTC) #14
DaveMoore
Make sure that apps that depend on mojo_common_lib don't depend on mojo_system
6 years, 8 months ago (2014-04-11 21:22:14 UTC) #15
DaveMoore
Add explicit dependency on mojo_system_impl to mojo_service_managaer
6 years, 8 months ago (2014-04-11 22:00:26 UTC) #16
DaveMoore
Add explicit dependency on mojo_system_impl to mojo_gles2_impl
6 years, 8 months ago (2014-04-11 22:22:37 UTC) #17
DaveMoore
Add explicit dependency on mojo_system_impl to mojo_native_viewport_service
6 years, 8 months ago (2014-04-11 22:42:29 UTC) #18
DaveMoore
Make mojo_test_support a component instead of a shared_library
6 years, 8 months ago (2014-04-13 22:03:47 UTC) #19
DaveMoore
Fix the mac loader path dependencies
6 years, 8 months ago (2014-04-14 18:19:43 UTC) #20
DaveMoore
6 years, 8 months ago (2014-04-14 20:21:47 UTC) #21
Message was sent while issue was closed.
Committed patchset #14 manually as r263717 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698