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

Issue 1262173005: Straightens outs DEPS in mojo/common (Closed)

Created:
5 years, 4 months ago by sky
Modified:
5 years, 4 months ago
Reviewers:
jam
CC:
chromium-reviews, penghuang+watch-mandoline_chromium.org, feature-media-reviews_chromium.org, sdefresne+watchlist_chromium.org, qsr+mojo_chromium.org, droger+watchlist_chromium.org, Aaron Boodman, posciak+watch_chromium.org, ben+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, mcasas+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, media-router+watch_chromium.org, darin-cc_chromium.org, blundell+watchlist_chromium.org, darin (slow to review), wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Straightens outs DEPS in mojo/common Prior to this change //mojo/environment depended upon //mojo/common. //mojo/common's deps are wrong and it needs to be depend upon various things in //third_party/mojo/src/mojo... When these DEPS are added link errors result because Environment and and a couple of other things need to be defined. These are defined in //mojo/environment. But //mojo/environment can't be a dep of //mojo/common, else we get a cycle. To straighten this out I've moved the files //mojo/environment needs from //mojo/common to //mojo/message_pump. //mojo/environment no longer depends upon //mojo/common, only //mojo/message_pump. //mojo/common can then depend upon //mojo/environment and we no longer have the cycle. Yay! BUG=none TEST=none Committed: https://crrev.com/a11b4d76a27816fe025af647825becac5f633c34 Cr-Commit-Position: refs/heads/master@{#341979} Committed: https://crrev.com/add030b55dee834423004bde2a0d92afd8a7be7e Cr-Commit-Position: refs/heads/master@{#342252}

Patch Set 1 #

Patch Set 2 : fix gyp #

Patch Set 3 : fix gyp 2 #

Patch Set 4 : remove extraneous change #

Total comments: 2

Patch Set 5 : comment #

Patch Set 6 : revert synced to tip of tree #

Patch Set 7 : fix #

Patch Set 8 : copyright #

Patch Set 9 : add dep on system_for_component #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -1773 lines) Patch
M .gn View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/router/media_router_mojo_test.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/web_socket_handle_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/web_url_loader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/message_port.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M components/message_port/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/message_port/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M components/message_port/web_message_port_channel_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/child/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M content/child/web_data_consumer_handle_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/content_child.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/content_utility.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M mandoline/services/core_services/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mandoline/services/core_services/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M mandoline/services/core_services/core_services_application_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/android/BUILD.gn View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/android/javatests/mojo_test_case.cc View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/android/system/base_run_loop.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/application/public/cpp/BUILD.gn View 2 chunks +2 lines, -3 lines 0 comments Download
M mojo/application/public/cpp/lib/application_runner.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/application/public/cpp/lib/content_handler_factory.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/common/BUILD.gn View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
D mojo/common/handle_watcher.h View 1 chunk +0 lines, -64 lines 0 comments Download
D mojo/common/handle_watcher.cc View 1 chunk +0 lines, -475 lines 0 comments Download
D mojo/common/handle_watcher_unittest.cc View 1 chunk +0 lines, -483 lines 0 comments Download
D mojo/common/message_pump_mojo.h View 1 chunk +0 lines, -136 lines 0 comments Download
D mojo/common/message_pump_mojo.cc View 1 chunk +0 lines, -295 lines 0 comments Download
D mojo/common/message_pump_mojo_handler.h View 1 chunk +0 lines, -29 lines 0 comments Download
D mojo/common/message_pump_mojo_unittest.cc View 1 chunk +0 lines, -124 lines 0 comments Download
D mojo/common/time_helper.h View 1 chunk +0 lines, -34 lines 0 comments Download
D mojo/common/time_helper.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M mojo/environment/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/environment/default_async_waiter_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
A mojo/message_pump/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
A + mojo/message_pump/handle_watcher.h View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
A + mojo/message_pump/handle_watcher.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A + mojo/message_pump/handle_watcher_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + mojo/message_pump/message_pump_mojo.h View 1 2 3 4 5 6 4 chunks +6 lines, -6 lines 0 comments Download
A + mojo/message_pump/message_pump_mojo.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + mojo/message_pump/message_pump_mojo_handler.h View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
A + mojo/message_pump/message_pump_mojo_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A mojo/message_pump/mojo_message_pump_export.h View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
A + mojo/message_pump/time_helper.h View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
A + mojo/message_pump/time_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/mojo_base.gyp View 1 2 3 4 5 6 7 chunks +34 lines, -15 lines 0 comments Download
M mojo/runner/BUILD.gn View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M mojo/runner/android/main.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/child_process.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/child_process_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/BUILD.gn View 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/network/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/network/http_connection_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/network_service_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/public/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/public/cpp/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/public/cpp/web_socket_read_queue.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/public/cpp/web_socket_write_queue.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/tcp_connected_socket_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/url_loader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/url_loader_impl_apptest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/web_socket_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (10 generated)
sky
5 years, 4 months ago (2015-08-05 02:02:51 UTC) #2
jam
lgtm https://codereview.chromium.org/1262173005/diff/60001/mojo/common/BUILD.gn File mojo/common/BUILD.gn (right): https://codereview.chromium.org/1262173005/diff/60001/mojo/common/BUILD.gn#newcode89 mojo/common/BUILD.gn:89: "../message_pump/message_pump_mojo_unittest.cc", i understand why you're doing this (a ...
5 years, 4 months ago (2015-08-05 15:38:44 UTC) #3
sky
https://codereview.chromium.org/1262173005/diff/60001/mojo/common/BUILD.gn File mojo/common/BUILD.gn (right): https://codereview.chromium.org/1262173005/diff/60001/mojo/common/BUILD.gn#newcode89 mojo/common/BUILD.gn:89: "../message_pump/message_pump_mojo_unittest.cc", On 2015/08/05 15:38:44, jam wrote: > i understand ...
5 years, 4 months ago (2015-08-05 16:07:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262173005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262173005/80001
5 years, 4 months ago (2015-08-05 16:08:41 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/88975)
5 years, 4 months ago (2015-08-05 18:06:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262173005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262173005/80001
5 years, 4 months ago (2015-08-05 18:08:31 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/86738)
5 years, 4 months ago (2015-08-05 19:19:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262173005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262173005/80001
5 years, 4 months ago (2015-08-05 19:22:57 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-05 21:29:42 UTC) #16
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/a11b4d76a27816fe025af647825becac5f633c34 Cr-Commit-Position: refs/heads/master@{#341979}
5 years, 4 months ago (2015-08-05 21:30:29 UTC) #17
sky
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1280463003/ by sky@chromium.org. ...
5 years, 4 months ago (2015-08-05 23:52:12 UTC) #18
sky
This was reverted because it broke some media unit_tests. I believe the failure was because ...
5 years, 4 months ago (2015-08-06 21:03:09 UTC) #19
jam
lgtm
5 years, 4 months ago (2015-08-06 21:05:38 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262173005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262173005/160001
5 years, 4 months ago (2015-08-06 21:07:18 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_10.10_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_10.10_rel_ng/builds/2828)
5 years, 4 months ago (2015-08-06 22:40:17 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1262173005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1262173005/160001
5 years, 4 months ago (2015-08-06 22:42:06 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 4 months ago (2015-08-07 01:06:27 UTC) #27
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 01:07:47 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/add030b55dee834423004bde2a0d92afd8a7be7e
Cr-Commit-Position: refs/heads/master@{#342252}

Powered by Google App Engine
This is Rietveld 408576698