[roll] Roll fuchsia [bazel] Build json_validator_valico with Bazel.
Move the target definition of
//build/tools/json_validator:json_validator_valico from
the GN to the Bazel graph. The tool is still visible from
`fx host-tool json_validator_valico`.
NOTE: json_validator, which is a C++ target, is not moved
here, as it depends on //third_party/rapidjson, which
is not in fuchsia.git and does not have a BUILD.bazel
file at the moment.
- Use bazel_tool_action() instead of compiled_action()
to use it at build time in the Ninja build.
Local measurements show no noticeable impact on build time
before/after this CL. However, when disabling remote builds
and enabling a local disk cache (by setting the environment
variable FUCHSIA_BAZEL_DISK_CACHE to point to a directory),
repeated clean builds of //build/bazel:bazel_root_host_targets
go from 40s to 20s.
Original-Bug: 42084668
Original-Bug: 417952817
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1269027
Original-Revision: 60b2c2dc936e1ebfab080df7d6c5a2fe6f929bbb
GitOrigin-RevId: b5ee2814414fbdc329f6e6b61b919e89b1f0250e
Change-Id: I45c7c9ae79ec78cadc3fea59957ab4db71bec55f
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.