forked from crosswalk-project/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch makes some of the V8 bindings templates a bit cleaner. Specifically: - Uses custom filters for the attribute list to duplicating complicated logic between for loops in the template and extra booleans defined in python. - Adds a unique_by filter to simplify the uniqueness logic in the templates. - Makes consistent use of the 'runtime_enabled' filter. - Combines for/endfor and if/endif tags into single for-if/endfor tags. - Makes use of the jinja2 'groupby' filter to clarify the complex logic for collecting and grouping runtime features by name. It has a couple of visible side effects; mostly removing some extra generated blank lines, and removing an unneeded extra brace pair in v8_dictionary.cpp (and adjusting indentation appropriately). The text expectations have been updated to match. [email protected] Review-Url: https://codereview.chromium.org/2000483002 Cr-Commit-Position: refs/heads/master@{#395067} (cherry picked from commit b961967) BUG=584367 Review URL: https://codereview.chromium.org/2029423002 . Cr-Commit-Position: refs/branch-heads/2743@{crosswalk-project#186} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
- Loading branch information
Showing
22 changed files
with
517 additions
and
637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.