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

Issue 24156003: Revert IDL compiler build flow to Perl, rename 'deprecated' (Closed)

Created:
7 years, 3 months ago by Nils Barth (inactive)
Modified:
7 years, 3 months ago
Reviewers:
haraken
CC:
blink-reviews, kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, do-not-use, kouhei (in TOK)
Visibility:
Public.

Description

Revert IDL compiler build flow to Perl, rename 'deprecated' To prevent IDL compiler rewrite from slowing down other developers, we're moving the build flow 100% back to Perl. We'll then incrementally review and land the Python rewrite, and when it's 100% done in tree, we'll switch it over in one go. This way other developers don't need to be concerned with the rewrite. (I'll handle syncing Perl changes to the Python rewrite.) This also removes the scary "deprecated" prefix from the Perl, so people are not discouraged from hacking on it. Also makes the Python bindings tests optional (not used by default), so still usable by run-time flag, but not run in presubmit scripts. BUG=239771 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157996

Patch Set 1 #

Patch Set 2 : Move to unstable #

Total comments: 2

Patch Set 3 : Rename UNSTABLE => FIXME #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -11656 lines) Patch
M Source/bindings/derived_sources.gyp View 8 chunks +17 lines, -102 lines 0 comments Download
D Source/bindings/scripts/blink_idl_lexer.py View 1 1 chunk +0 lines, -90 lines 0 comments Download
D Source/bindings/scripts/blink_idl_parser.py View 1 2 3 1 chunk +0 lines, -404 lines 0 comments Download
A + Source/bindings/scripts/code_generator_v8.pm View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
D Source/bindings/scripts/code_generator_v8.py View 1 2 3 1 chunk +0 lines, -121 lines 0 comments Download
D Source/bindings/scripts/deprecated_code_generator_v8.pm View 1 2 3 1 chunk +0 lines, -6067 lines 0 comments Download
D Source/bindings/scripts/deprecated_generate_bindings.pl View 1 chunk +0 lines, -304 lines 0 comments Download
D Source/bindings/scripts/deprecated_idl_parser.pm View 1 chunk +0 lines, -2249 lines 0 comments Download
D Source/bindings/scripts/deprecated_idl_serializer.pm View 1 chunk +0 lines, -126 lines 0 comments Download
A + Source/bindings/scripts/generate_bindings.pl View 4 chunks +6 lines, -6 lines 0 comments Download
M Source/bindings/scripts/idl_compiler.py View 1 1 chunk +0 lines, -133 lines 0 comments Download
M Source/bindings/scripts/idl_definitions.py View 1 1 chunk +0 lines, -452 lines 0 comments Download
D Source/bindings/scripts/idl_definitions_builder.py View 1 1 chunk +0 lines, -525 lines 0 comments Download
A + Source/bindings/scripts/idl_parser.pm View 4 chunks +4 lines, -4 lines 0 comments Download
D Source/bindings/scripts/idl_reader.py View 1 1 chunk +0 lines, -77 lines 0 comments Download
A + Source/bindings/scripts/idl_serializer.pm View 0 chunks +-1 lines, --1 lines 0 comments Download
D Source/bindings/scripts/idl_validator.py View 1 1 chunk +0 lines, -96 lines 0 comments Download
D Source/bindings/scripts/interface_dependency_resolver.py View 1 1 chunk +0 lines, -211 lines 0 comments Download
A + Source/bindings/scripts/unstable/blink_idl_lexer.py View 1 1 chunk +1 line, -1 line 0 comments Download
A + Source/bindings/scripts/unstable/blink_idl_parser.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/bindings/scripts/unstable/code_generator_v8.py View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
A + Source/bindings/scripts/unstable/idl_compiler.py View 1 2 2 chunks +8 lines, -12 lines 0 comments Download
A + Source/bindings/scripts/unstable/idl_definitions.py View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + Source/bindings/scripts/unstable/idl_definitions_builder.py View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/bindings/scripts/unstable/idl_reader.py View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/bindings/scripts/unstable/idl_validator.py View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/bindings/scripts/unstable/interface_dependency_resolver.py View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + Source/bindings/scripts/unstable/v8_attributes.py View 1 2 1 chunk +8 lines, -1 line 0 comments Download
A + Source/bindings/scripts/unstable/v8_callback_interface.py View 1 2 1 chunk +8 lines, -1 line 0 comments Download
A + Source/bindings/scripts/unstable/v8_interface.py View 1 2 1 chunk +8 lines, -1 line 0 comments Download
A + Source/bindings/scripts/unstable/v8_types.py View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
A + Source/bindings/scripts/unstable/v8_utilities.py View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
D Source/bindings/scripts/v8_attributes.py View 1 1 chunk +0 lines, -80 lines 0 comments Download
D Source/bindings/scripts/v8_callback_interface.py View 1 1 chunk +0 lines, -112 lines 0 comments Download
D Source/bindings/scripts/v8_interface.py View 1 1 chunk +0 lines, -92 lines 0 comments Download
D Source/bindings/scripts/v8_types.py View 1 1 chunk +0 lines, -177 lines 0 comments Download
D Source/bindings/scripts/v8_utilities.py View 1 1 chunk +0 lines, -83 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 18 chunks +38 lines, -44 lines 0 comments Download
M Source/modules/modules.gypi View 4 chunks +68 lines, -71 lines 0 comments Download
M Tools/Scripts/run-bindings-tests View 1 chunk +5 lines, -4 lines 0 comments Download
M Tools/Scripts/webkitpy/bindings/main.py View 1 4 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nils Barth (inactive)
Hi haraken, Here's a CL moving build flow back to Perl, together with other cleanup, ...
7 years, 3 months ago (2013-09-17 11:00:56 UTC) #1
haraken
Looks OK. Thanks for doing this. It's a bit sad that we cannot upstream the ...
7 years, 3 months ago (2013-09-17 13:25:53 UTC) #2
Nils Barth (inactive)
On 2013/09/17 13:25:53, haraken wrote: > It's a bit sad that we cannot upstream the ...
7 years, 3 months ago (2013-09-18 00:57:06 UTC) #3
haraken
On 2013/09/18 00:57:06, Nils Barth wrote: > > Would you move all Python files under ...
7 years, 3 months ago (2013-09-18 03:01:21 UTC) #4
Nils Barth (inactive)
On 2013/09/18 03:01:21, haraken wrote: > - We don't want to add a new convention ...
7 years, 3 months ago (2013-09-18 03:06:06 UTC) #5
Nils Barth (inactive)
Moved Python compiler to "unstable" and put a comment in the docstrings. How does it ...
7 years, 3 months ago (2013-09-18 09:41:53 UTC) #6
haraken
LGTM https://codereview.chromium.org/24156003/diff/8001/Source/bindings/scripts/unstable/code_generator_v8.py File Source/bindings/scripts/unstable/code_generator_v8.py (right): https://codereview.chromium.org/24156003/diff/8001/Source/bindings/scripts/unstable/code_generator_v8.py#newcode31 Source/bindings/scripts/unstable/code_generator_v8.py:31: UNSTABLE: Not currently used in build. UNSTABLE => ...
7 years, 3 months ago (2013-09-18 09:45:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/24156003/14001
7 years, 3 months ago (2013-09-18 09:53:11 UTC) #8
Nils Barth (inactive)
https://codereview.chromium.org/24156003/diff/8001/Source/bindings/scripts/unstable/code_generator_v8.py File Source/bindings/scripts/unstable/code_generator_v8.py (right): https://codereview.chromium.org/24156003/diff/8001/Source/bindings/scripts/unstable/code_generator_v8.py#newcode31 Source/bindings/scripts/unstable/code_generator_v8.py:31: UNSTABLE: Not currently used in build. On 2013/09/18 09:45:36, ...
7 years, 3 months ago (2013-09-18 09:53:30 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/bindings/scripts/unstable/blink_idl_parser.py: While running patch -p1 --forward --force --no-backup-if-mismatch; A Source/bindings/scripts/unstable/blink_idl_parser.py ...
7 years, 3 months ago (2013-09-18 11:58:14 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/24156003/26001
7 years, 3 months ago (2013-09-19 01:40:24 UTC) #11
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 02:49:52 UTC) #12
Message was sent while issue was closed.
Change committed as 157996

Powered by Google App Engine
This is Rietveld 408576698