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

Issue 1643633003: Link Blink into the browser process less. (Closed)

Created:
4 years, 11 months ago by brettw
Modified:
4 years, 10 months ago
Reviewers:
Dirk Pranke, scottmg
CC:
chromium-reviews, certificate-transparency-chrome_googlegroups.com, Eran Messeri, vabr+watchlistpasswordmanager_chromium.org, jam, darin-cc_chromium.org, gcasto+watchlist_chromium.org, scheduler-bugs_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Link Blink into the browser process less. Adds a commented-out assert_no_deps from chrome/browser to Blink. This should be enabled when the bug is fixed. Fix the set of fixable dependencies. One big one is that content/browser depends on libjingle_webrtc. This also links libpeerconnection into content/browser because (at least on Windows) libpeerconnection and libjingle_webrtc are both required to link at the same time. I don't fully understand the webrtc build here (I tried and failed to fix the internal deps) but I can tell that third_party/libjingle/source/talk/app/webrtc/peerconnectionfactory.cc in the libjingle_webrtc target uses MediaEngineInterface from third_party/libjingle/source/talk/media/webrtc/webrtcmediaengine.cc in the libpeerconnection target. BUG=582206, 581766 Committed: https://crrev.com/e9ce0c5eedfc73b15404b5c0a5e737cce94670bf Cr-Commit-Position: refs/heads/master@{#373666}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : safe json #

Total comments: 5

Patch Set 4 : Comment fix #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -12 lines) Patch
M chrome/BUILD.gn View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M components/copresence/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/guest_view/browser/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/packed_ct_ev_whitelist/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/content/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/printing/common/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M components/safe_json/BUILD.gn View 1 2 2 chunks +17 lines, -3 lines 0 comments Download
M components/web_cache/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M components/webcrypto/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
brettw
I was quite surprised how wrong our dependencies were!
4 years, 11 months ago (2016-01-27 18:55:34 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643633003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643633003/1
4 years, 11 months ago (2016-01-27 18:56:52 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/135192)
4 years, 11 months ago (2016-01-27 19:14:23 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643633003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643633003/20001
4 years, 11 months ago (2016-01-27 21:23:20 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/42047)
4 years, 11 months ago (2016-01-27 22:17:24 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643633003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643633003/40001
4 years, 11 months ago (2016-01-27 23:17:41 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/95426)
4 years, 11 months ago (2016-01-28 01:18:08 UTC) #14
Dirk Pranke
lgtm w/ minor notes ... https://codereview.chromium.org/1643633003/diff/40001/chrome/BUILD.gn File chrome/BUILD.gn (right): https://codereview.chromium.org/1643633003/diff/40001/chrome/BUILD.gn#newcode466 chrome/BUILD.gn:466: # Note that the ...
4 years, 11 months ago (2016-01-28 01:54:30 UTC) #15
brettw
https://codereview.chromium.org/1643633003/diff/40001/components/guest_view/browser/BUILD.gn File components/guest_view/browser/BUILD.gn (right): https://codereview.chromium.org/1643633003/diff/40001/components/guest_view/browser/BUILD.gn#newcode29 components/guest_view/browser/BUILD.gn:29: "//url", On 2016/01/28 01:54:30, Dirk Pranke wrote: > hmm ...
4 years, 10 months ago (2016-01-28 21:30:56 UTC) #16
scottmg
"Fortunately, no code actually used Blink and these were all incorrectly written dependencies in the ...
4 years, 10 months ago (2016-01-28 21:37:59 UTC) #18
brettw
Comment fix
4 years, 10 months ago (2016-01-28 23:34:55 UTC) #20
brettw
Okay, I'm going to try to land this set of fixes just with the assertions ...
4 years, 10 months ago (2016-02-04 21:59:30 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643633003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643633003/100001
4 years, 10 months ago (2016-02-04 22:03:41 UTC) #28
Dirk Pranke
still lgtm.
4 years, 10 months ago (2016-02-04 22:04:09 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643633003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643633003/100001
4 years, 10 months ago (2016-02-04 22:17:52 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-04 23:45:15 UTC) #35
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 23:46:04 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e9ce0c5eedfc73b15404b5c0a5e737cce94670bf
Cr-Commit-Position: refs/heads/master@{#373666}

Powered by Google App Engine
This is Rietveld 408576698