• Kent Tamura's avatar
    Bindings: generate_global_constructors template needs one more parameter. · fc6f55a6
    Kent Tamura authored
    Add "basename" parameter to template("generate_global_constructors"),
    and generate snake_case IDL files and C++ header files.
    
    This is a preparation of the Great Blink mv. At this momnet, we only
    have lists of global scope interface names in *.gn. After the great mv,
    it's difficult to produce generated IDL list and C++ header list from
    the interface names in *.gn. So we need to introduce additional
    snake_cased interface list.
    
    Bug: 578345
    Change-Id: Ia7f861e43d9b622926adde0280e4297c71bcc750
    Reviewed-on: https://chromium-review.googlesource.com/672225Reviewed-by: default avatarHitoshi Yoshida <peria@chromium.org>
    Commit-Queue: Kent Tamura <tkent@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#502817}
    fc6f55a6
BUILD.gn 8.61 KB