| commit | 7de1c9e3395a69ee78c3b9b68aab70a3a2eec40f | [log] [tgz] |
|---|---|---|
| author | David 'Digit' Turner <digit@fuchsia.infra.roller.google.com> | Thu Mar 13 13:26:45 2025 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Mar 13 13:31:18 2025 -0700 |
| tree | 4bda2ea54906f40f01b1104b2adc7579bcf7ce0f | |
| parent | f0e62b2178c3e4922e5dd7af7dae48cb34696b94 [diff] |
[roll] Roll fuchsia [bazel] workspace_utils.py: Fixed missing tracked files The generate_fuchsia_workspace() function returned a set of file paths that was missing a number of important input files that are read by the function. As a consequence modifying any of them would not properly trigger a regenerator invocation on the next `fx bazel` or `fx build` call: - build/bazel/templates/template.bazelrc - build/bazel/templates/template.bazel.sh - build/bazel/templates/template.platform.mapping This fixes the issue by: - Adding a `read_text_file()` function and `input_files` property to the GeneratedWorkspaceFiles class. - Using them to read input files in record_fuchsia_workspace() - Add the content of generated.input_files in the result of generate_fuchsia_workspace(). Manual comparison of the `build.ninja.d` file generated before and after the CL confirms that the missing input files are now properly listed in that file. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1227466 Original-Revision: ed6a77ef2eddf25ef685a21b3614654f342bce14 GitOrigin-RevId: e3797addf948e3c6ea70514a8d3036210b3bb108 Change-Id: I1937d69b6189f4ee1e74a566ddafa8b54f799508
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.