[Extensions Schema Compiler] Extract C++ Type Generation
Extract C++ type generation from the json_schema_api gni template into a separate generate_types gni template. This has the advantage of cleaning up which arguments are necessary and used for the template, as well as being able to isolate the different generation steps (which may have different dependencies or dependents). As part of this, introduce separate "bulk" `api` targets in each of the API directories, which each dependent can depend on. This obviates the need to depend on e.g. `api` and `api_registration`. A follow up will break up the JSON string generation bundle and the extension function registration bundle. Bug: 864576 Change-Id: I50a1fbe059ec5b7d73c405b230a221c1c6ce3af1 Reviewed-on: https://chromium-review.googlesource.com/1150930 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Luke Halliwell <halliwell@chromium.org> Reviewed-by:
Albert Chaulk <achaulk@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#580799}
Showing
Please register or sign in to comment