bindings: Cleanup v8_context_snapshot_external_references
Templates and scripts to generate v8_context_snapshot_external_references have some dead code because of historical reasons. This CL clean up them to reduce the generate process and the generated code. As a result, the number of entries in the table becomes 1741 from 1766, and 3 includes are removed. In detail, this CL does following changes. - Avoids checking interfaces that are not exposed to Window - Removes unused white list - Removes unnecessary check - Removes unused template parameter - Renames internal const variable from snake_case to kCamelCase. Bug: None Change-Id: If7c439d7b1085ef8c03cfb72b37343e3989feaeb Reviewed-on: https://chromium-review.googlesource.com/c/1354724 Commit-Queue: Hitoshi Yoshida <peria@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#612082}
Showing
Please register or sign in to comment