commit | 6fcba88316cb3dfb9ae60b240569032393430f88 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@fuchsia.infra.roller.google.com> | Wed Dec 04 19:37:47 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Dec 04 11:39:55 2024 -0800 |
tree | 5edef683d51233fda084765485eb0da51374b733 | |
parent | d2a6a671659691ea944821bfcd554c4671a475c5 [diff] |
[roll] Roll fuchsia [build][go] Add --fuchsia-source-dir parameter to gen_library_metadata.py Provide a command-line argument to pass the Fuchsia source directory to the script directly, instead of trying to auto-detect it. This is needed to support Ninja sub-builds that are launched from a build directory that is located under the Bazel workspace directory (i.e. $NINJA_BUILD_DIR/gen/build/bazel/workspace/) which is itself a fac-simile of the Fuchsia source directory, but does not include a `.jiri_manifest` file intentionally (i.e. to avoid loud `jiri` errors). Without this change, the auto-detection failed in this case with a strange error message that looks like: ``` ValueError: go_library name must correspond to the source dir: got 'go.fuchsia.dev/fuchsia/tools/lib/flagmisc', expected 'go.fuchsia.dev/fuchsia/out/default/gen/build/bazel/workspace/tools/lib/flagmisc' ``` Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1168337 Original-Revision: d39cd67af2ad68ee420dac37c7d341e5df61d8fa GitOrigin-RevId: 29c23dcbe282503340ca1209b0e25885b5964ede Change-Id: I3dce971d641b8cecabc09e04ef5a6c72f51e938d
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
.