blob: afeb14647069768027662eaeff8415a1a1bb61fc [file] [log] [blame]
#!/bin/bash
# Copyright 2020 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 -e
DEVSHELL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
source "${DEVSHELL_DIR}"/lib/image_build_vars.sh || exit $?
export HOST_OUT_DIR
export PREBUILT_AEMU_DIR
export PREBUILT_VDL_DIR
export PREBUILT_GRPCWEBPROXY_DIR
export IMAGE_FVM_RAW
export IMAGE_QEMU_KERNEL_RAW
export IMAGE_ZIRCONA_ZBI
export FUCHSIA_BUILD_DIR
export FUCHSIA_ZBI_COMPRESSION
FVDL="${HOST_OUT_DIR}/fvdl"
"${FVDL}" "$@"