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

Issue 310563004: IDL build: Split global constructors into core and modules (Closed)

Created:
6 years, 6 months ago by Nils Barth (inactive)
Modified:
6 years, 6 months ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Visibility:
Public.

Description

IDL build: Split global constructors into core and modules No substantive changes to generated bindings: just reorders the constructors on global objects b/c split between core and modules. This almost completes splitting the build! (Only remaining step is to split global objects, at which point I can eliminate the bindings/generated.gyp) Global constructors from modules are in bindings_core b/c they affect core bindings (due to partial interfaces), with FIXMEs to move them to bindings_modules. R=haraken BUG=358074 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175462

Patch Set 1 #

Patch Set 2 : BROKEN (cycle) #

Patch Set 3 : FIXED (removed loop) #

Patch Set 4 : Working #

Patch Set 5 : Cleaned up #

Patch Set 6 : Tweak #

Patch Set 7 : Tweak (reupload) #

Total comments: 9

Patch Set 8 : Revised #

Patch Set 9 : Fix naming of event targets #

Patch Set 10 : Revised #

Patch Set 11 : Rebased #

Patch Set 12 : Better includes and FIXMEs in core.gyp #

Total comments: 32
Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -195 lines) Patch
M Source/bindings/bindings.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/core/core.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 2 comments Download
M Source/bindings/core/generated.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +53 lines, -5 lines 4 comments Download
A Source/bindings/core/generated.gypi View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M Source/bindings/core/idl.gypi View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 2 comments Download
M Source/bindings/core/v8/generated.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -23 lines 4 comments Download
M Source/bindings/core/v8/generated.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -6 lines 0 comments Download
M Source/bindings/generated.gyp View 1 2 3 1 chunk +0 lines, -57 lines 0 comments Download
M Source/bindings/idl.gypi View 1 2 3 4 5 2 chunks +0 lines, -17 lines 2 comments Download
M Source/bindings/modules/generated.gyp View 1 2 3 4 5 6 7 8 9 10 7 chunks +62 lines, -15 lines 3 comments Download
A Source/bindings/modules/generated.gypi View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M Source/bindings/modules/idl.gypi View 1 2 3 4 5 6 7 4 chunks +19 lines, -11 lines 2 comments Download
M Source/bindings/modules/modules.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 4 comments Download
M Source/bindings/modules/v8/generated.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -27 lines 5 comments Download
M Source/bindings/modules/v8/generated.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -6 lines 0 comments Download
M Source/bindings/scripts/compute_interfaces_info_individual.py View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/core.gyp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -11 lines 0 comments Download
M Source/core/core_generated.gyp View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -5 lines 0 comments Download
A Source/core/core_generated.gypi View 1 2 3 4 1 chunk +10 lines, -0 lines 2 comments Download
M Source/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -3 lines 0 comments Download
A Source/modules/modules_generated.gypi View 1 2 3 4 5 1 chunk +10 lines, -0 lines 2 comments Download

Messages

Total messages: 14 (0 generated)
Nils Barth (inactive)
Almost done! https://codereview.chromium.org/310563004/diff/120001/Source/bindings/bindings.gypi File Source/bindings/bindings.gypi (left): https://codereview.chromium.org/310563004/diff/120001/Source/bindings/bindings.gypi#oldcode11 Source/bindings/bindings.gypi:11: 'blink_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink', No more files are generated ...
6 years, 6 months ago (2014-06-02 10:06:25 UTC) #1
haraken
OK... I got lost! I'd be happy if you could draw an illustration about GYP ...
6 years, 6 months ago (2014-06-02 15:45:14 UTC) #2
Nils Barth (inactive)
(Replies to inline comments.) https://codereview.chromium.org/310563004/diff/120001/Source/bindings/core/core.gypi File Source/bindings/core/core.gypi (right): https://codereview.chromium.org/310563004/diff/120001/Source/bindings/core/core.gypi#newcode7 Source/bindings/core/core.gypi:7: '../modules/v8/generated.gypi', # FIXME: remove once ...
6 years, 6 months ago (2014-06-03 01:47:49 UTC) #3
Nils Barth (inactive)
On 2014/06/02 15:45:14, haraken wrote: > OK... I got lost! > > I'd be happy ...
6 years, 6 months ago (2014-06-03 02:12:40 UTC) #4
haraken
On 2014/06/03 02:12:40, Nils Barth wrote: > On 2014/06/02 15:45:14, haraken wrote: > > OK... ...
6 years, 6 months ago (2014-06-03 04:14:33 UTC) #5
Nils Barth (inactive)
Revised per discussion; notable changes: * qualify .gypi paths (so relative to Source) A bit ...
6 years, 6 months ago (2014-06-03 05:44:59 UTC) #6
Nils Barth (inactive)
One last tweak: updated the FIXME in core.gyp to newly opened and more specific bug: ...
6 years, 6 months ago (2014-06-03 07:25:31 UTC) #7
haraken
Thanks for the detailed explanation. Most of the below comments are just clarifying questions to ...
6 years, 6 months ago (2014-06-03 15:31:09 UTC) #8
Nils Barth (inactive)
Replies: questions were essentially all about how .gypi (GYP includes) work and why they were ...
6 years, 6 months ago (2014-06-04 03:36:32 UTC) #9
haraken
Double-checked; LGTM!
6 years, 6 months ago (2014-06-04 07:59:45 UTC) #10
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 6 months ago (2014-06-04 08:00:59 UTC) #11
Nils Barth (inactive)
On 2014/06/04 07:59:45, haraken wrote: > Double-checked; LGTM! Thanks, and appreciate your stamina and attention ...
6 years, 6 months ago (2014-06-04 08:01:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/310563004/220001
6 years, 6 months ago (2014-06-04 08:01:49 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 09:38:16 UTC) #14
Message was sent while issue was closed.
Change committed as 175462

Powered by Google App Engine
This is Rietveld 408576698