| commit | 800a7f49d8ff593db8b13489d957bbf1dc32afcc | [log] [tgz] |
|---|---|---|
| author | David Turner <digit@fuchsia.infra.roller.google.com> | Tue Feb 21 21:28:31 2023 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 21 13:29:34 2023 -0800 |
| tree | c979ab57232adfb668c6e2f2bdfbb07eb04d095b | |
| parent | 963a004f522f862af3c545850de61de6523ef37c [diff] |
[roll] Roll fuchsia Revert "[build][bazel] Generate proper depfile for bazel_action() targets." This reverts commit 23b41d32be69fed887b8c26df776b96ee0398d96. Reason for revert: Still triggers too many Ninja "phony edge with no inputs doesn't exist" errors when checking for no-ops Original change's description: > [build][bazel] Generate proper depfile for bazel_action() targets. > > This is another attempt at fixing issue 117818, see [1] for a > previous CL that had to be reverted because it created too many > flaky Ninja no-op failures. > > The main ideas behind this CL are: > > - The bazel_action.py script, uses Bazel queries to determine > the list of implicit inputs from a top-level Bazel target, > which include both source files and build files. > > - Input files that belong to Bazel external repositories must > be mapped to locations outside of the Bazel output_base, > the logic to do so is detailed in a long technical note > in bazel_action.py and is ... sophisticated. > > - update-workspace.py is updated to generate content hash > files for many Bazel repositories. This was already the > case for @fuchsia_sdk and @internal_sdk, but now there > are also files for @fuchsia_clang, @prebuilt_clang, > @com_google_googletest as well, and all files are now > located under > $BAZEL_TOPDIR/workspace/generated_repository_hashes/<repo_name>.hash > > - Repository rules are updated to track said hash content > files (by calling repository_ctx.path(), which is enough > to force Bazel to record the association). > > Original-Bug: 117818 > > [1] https://fuchsia-review.googlesource.com/c/fuchsia/+/790129 > > NO_IFTTT=multiple_files_associated_with_single_change > > Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/798682 Original-Bug: 117818 No-Presubmit: true No-Tree-Checks: true No-Try: true Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/807187 Original-Revision: 6387a624387d9c4e36ba27c434492c9c9ec24b0f GitOrigin-RevId: 712eb75b9a222d29aabe01c056c9d1ed0a8248bf Change-Id: I593a7a3649f63339bde9c5bff83e95484431ddeb
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 via the IRC channel #fuchsia on Freenode.
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.