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

Issue 177233006: Merge idl_definitions_builder.py into idl_definitions.py (Closed)

Created:
6 years, 9 months ago by Nils Barth (inactive)
Modified:
6 years, 9 months ago
Reviewers:
haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Visibility:
Public.

Description

Merge idl_definitions_builder.py into idl_definitions.py idl_definitions_builder.py was separate from idl_definitions.py b/c the latter had lots of Perl compatibility cruft (JSON export etc.) Now that it's gone, there's no reason to have these separate, as idl_definitions was almost only class definitions, and idl_definitions_builder was basically constructors. Keeping them separate made it harder to read (b/c had to bounce back and forth), and the calls to the actual constructors were incredibly long. This merges them, deleting one file and making the code quite simple. Net -70 lines, though more like -100 due to adding a few comments (class diagram). Change is just merging the functions into constructors (in a few cases changing an alternative constructor into a class method) and adding a few comments. Further cleanup is possible (remove IdlEnum and IdlUnionType), but involve CG changes, so will do in followup. BUG=345137 TBR=haraken Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168582

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Rebased (correctly) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+540 lines, -610 lines) Patch
M Source/bindings/generated_bindings.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/bindings/scripts/idl_definitions.py View 9 chunks +535 lines, -92 lines 0 comments Download
D Source/bindings/scripts/idl_definitions_builder.py View 1 chunk +0 lines, -514 lines 0 comments Download
M Source/bindings/scripts/idl_reader.py View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nils Barth (inactive)
Cleanup, removes one file!
6 years, 9 months ago (2014-03-05 12:02:48 UTC) #1
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-05 12:02:53 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/177233006/1
6 years, 9 months ago (2014-03-05 12:03:04 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 12:31:18 UTC) #4
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) blink_heap_unittests, blink_platform_unittests, webkit_lint, webkit_python_tests, webkit_tests, webkit_unit_tests, ...
6 years, 9 months ago (2014-03-05 12:31:19 UTC) #5
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-05 12:39:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/177233006/40001
6 years, 9 months ago (2014-03-05 12:39:43 UTC) #7
Nils Barth (inactive)
The CQ bit was unchecked by nbarth@chromium.org
6 years, 9 months ago (2014-03-05 12:39:58 UTC) #8
haraken
LGTM
6 years, 9 months ago (2014-03-05 13:59:20 UTC) #9
Nils Barth (inactive)
The CQ bit was checked by nbarth@chromium.org
6 years, 9 months ago (2014-03-06 01:02:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/177233006/40001
6 years, 9 months ago (2014-03-06 01:02:51 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-06 07:51:22 UTC) #12
Message was sent while issue was closed.
Change committed as 168582

Powered by Google App Engine
This is Rietveld 408576698