| #!/usr/bin/env bash | |
| # Copyright 2021 The Fuchsia Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| source ../../tools/devshell/lib/vars.sh | |
| fx ninja -C "$FUCHSIA_BUILD_DIR" host_x64/gen/third_party/go/makefuchsia.stamp | |
| "${PREBUILT_PYTHON3}" regen-api.py \ | |
| --api-file=api/fuchsia.txt \ | |
| --go-root="$FUCHSIA_BUILD_DIR"/host-tools/goroot |