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 17619005: Create top-level separate targets for browser and child dlls (Closed)

Created:
7 years, 6 months ago by scottmg
Modified:
7 years, 5 months ago
Reviewers:
jamesr, nduca, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, tfarina, keybuk
Visibility:
Public.

Description

Create top-level separate targets for browser and child dlls The general idea is that there's top level targets chrome and chrome_child, and corresponding content_app and content_app_child that depend on only the subtargets that should be included in the appropriate dll. Pull bluetooth_utils from bluetooth_device into separate common target as it's referenced from chrome/common/extensions. Currently (probably) Windows-only and requires setting chrome_multiple_dll=1 for gyp. Links, but Blink is still included in browser. Single-process mode is currently disabled when chrome_multiple_dll is set. Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html generated by "python tools\win\split_link\graph_dependencies.py deps.html" Remove the previous hacky-er attempt at this that was named "split dll". TBR=jam@chromium.org BUG=237249, 256965 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212230

Patch Set 1 #

Patch Set 2 : top-level gyp targets for multiple dll mode #

Patch Set 3 : . #

Patch Set 4 : wip, need to sort out importer #

Patch Set 5 : rebase #

Patch Set 6 : allocator #

Patch Set 7 : merge on top of importer changes #

Patch Set 8 : remove split_dll code #

Patch Set 9 : restore white space #

Total comments: 4

Patch Set 10 : . #

Patch Set 11 : GpuMain to child #

Total comments: 11

Patch Set 12 : pull some bluetooth out to common, and review fixes #

Patch Set 13 : gyp shared_library fix #

Patch Set 14 : bluetooth dep #

Patch Set 15 : move to condition for all.gyp #

Patch Set 16 : keyboard_unittests #

Patch Set 17 : android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -151 lines) Patch
M base/debug/trace_event.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -12 lines 0 comments Download
M base/debug/trace_event_impl.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -6 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -3 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 4 chunks +41 lines, -13 lines 0 comments Download
M chrome/app/client_util.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -20 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +41 lines, -14 lines 0 comments Download
M chrome/chrome_syzygy.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -1 line 0 comments Download
M chrome/installer/mini_installer_syzygy.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
D chrome/split_dll_fake_entry.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -40 lines 0 comments Download
M components/autofill.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/app/content_main_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -3 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +32 lines, -8 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/public/app/content_main_delegate.cc View 1 2 3 2 chunks +29 lines, -7 lines 0 comments Download
M ui/keyboard/keyboard.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webkitplatformsupport_impl.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
scottmg
just fyi if you want try it locally. got kind of ugly, i'm not sure ...
7 years, 6 months ago (2013-06-25 20:53:31 UTC) #1
scottmg
jam: How do you feel about this tactic for splitting things up? It links now ...
7 years, 5 months ago (2013-07-16 22:34:32 UTC) #2
jamesr
nifty! some comments from the peanut gallery https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc File content/app/content_main_runner.cc (right): https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc#newcode411 content/app/content_main_runner.cc:411: { "", ...
7 years, 5 months ago (2013-07-16 22:45:43 UTC) #3
scottmg
https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc File content/app/content_main_runner.cc (right): https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc#newcode411 content/app/content_main_runner.cc:411: { "", BrowserMain }, On 2013/07/16 22:45:43, jamesr wrote: ...
7 years, 5 months ago (2013-07-16 23:08:32 UTC) #4
jamesr
On 2013/07/16 23:08:32, scottmg wrote: > https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc#newcode423 > content/app/content_main_runner.cc:423: { switches::kGpuProcess, GpuMain > }, > ...
7 years, 5 months ago (2013-07-16 23:09:41 UTC) #5
scottmg
On 2013/07/16 23:09:41, jamesr wrote: > On 2013/07/16 23:08:32, scottmg wrote: > > > https://codereview.chromium.org/17619005/diff/21001/content/app/content_main_runner.cc#newcode423 ...
7 years, 5 months ago (2013-07-16 23:22:19 UTC) #6
scottmg
(see also http://commondatastorage.googleapis.com/chromelinkgraph/deps.html)
7 years, 5 months ago (2013-07-17 00:33:51 UTC) #7
jam
https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc File chrome/app/child_stubs.cc (right): https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc#newcode5 chrome/app/child_stubs.cc:5: // TODO(scottmg): http://crbug.com/237249 This is called from common, but ...
7 years, 5 months ago (2013-07-17 16:23:37 UTC) #8
scottmg
thanks https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc File chrome/app/child_stubs.cc (right): https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc#newcode5 chrome/app/child_stubs.cc:5: // TODO(scottmg): http://crbug.com/237249 This is called from common, ...
7 years, 5 months ago (2013-07-17 16:49:34 UTC) #9
scottmg
On 2013/07/17 16:49:34, scottmg wrote: > > it was mostly so that when i was ...
7 years, 5 months ago (2013-07-17 16:54:15 UTC) #10
jam
https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc File chrome/app/child_stubs.cc (right): https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc#newcode5 chrome/app/child_stubs.cc:5: // TODO(scottmg): http://crbug.com/237249 This is called from common, but ...
7 years, 5 months ago (2013-07-17 18:09:58 UTC) #11
scottmg
On 2013/07/17 18:09:58, jam wrote: > https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc > File chrome/app/child_stubs.cc (right): > > https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc#newcode5 > ...
7 years, 5 months ago (2013-07-17 19:06:31 UTC) #12
scottmg
On 2013/07/17 19:06:31, scottmg wrote: > On 2013/07/17 18:09:58, jam wrote: > > https://codereview.chromium.org/17619005/diff/28002/chrome/app/child_stubs.cc > ...
7 years, 5 months ago (2013-07-17 19:46:08 UTC) #13
jam
lgtm
7 years, 5 months ago (2013-07-17 19:58:24 UTC) #14
scottmg
tbr nduca for re-enabling tracing in base/debug/ tbr jamesr for re-enabling in webkit/glue/
7 years, 5 months ago (2013-07-18 03:46:07 UTC) #15
scottmg
Committed patchset #17 manually as r212230 (presubmit successful).
7 years, 5 months ago (2013-07-18 03:47:45 UTC) #16
nduca
thanks scott lgtm
7 years, 5 months ago (2013-07-18 05:20:59 UTC) #17
jamesr
7 years, 5 months ago (2013-07-18 05:48:25 UTC) #18
lgtm

Powered by Google App Engine
This is Rietveld 408576698