blob: 9bf9d2c0034f7d73624a29cabf02a40cf5f33e92 [file] [log] [blame] [edit]
#!/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