bindings: Supports snake_case generated files

Desktop / Chromium - Kent Tamura [chromium.org] - 11 September 2017 04:44 EDT

- Adds --snake-case-generated-files to some commands in bindings/scripts/.

- bindings/scripts/scripts.gni has a flag to add the flag. It's "false" by default.

- blink/tools/move_blink_source.py updates it to "true".

This CL doesn't affect any build at this moment.

Bug: 760462 Change-Id: I2b6e42e65e076831c642ec88a36211419b5ed896 Reviewed-on: https://chromium-review.googlesource.com/657789

699d282 bindings: Supports snake_case generated files.
.../WebKit/Source/bindings/core/v8/BUILD.gn | 48 +++++++++++++++-------
.../WebKit/Source/bindings/modules/v8/BUILD.gn | 6 +++
.../scripts/aggregate_generated_bindings.py | 16 ++++++--
.../Source/bindings/scripts/code_generator_v8.py | 46 ++++++++++++++-------
.../scripts/code_generator_web_agent_api.py | 2 +-
.../scripts/compute_interfaces_info_individual.py | 13 ++++--
...rate_v8_context_snapshot_external_references.py | 7 +++-
.../WebKit/Source/bindings/scripts/idl_compiler.py | 14 +++++--
.../WebKit/Source/bindings/scripts/idl_reader.py | 5 ++-
.../WebKit/Source/bindings/scripts/scripts.gni | 48 ++++++++++++++++++----
.../bindings/templates/dictionary_impl.cpp.tmpl | 2 +-
.../bindings/templates/dictionary_v8.cpp.tmpl | 2 +-
.../bindings/templates/interface_base.cpp.tmpl | 2 +-
.../Scripts/webkitpy/bindings/bindings_tests.py | 9 ++--
third_party/blink/tools/move_blink_source.py | 17 ++++++++
15 files changed, 180 insertions(+), 57 deletions(-)

Upstream: git.chromium.org


  • Share