blob: 706d461d3c97a8f7fff9a2d7675ac9ae4f493aa2 [file] [log] [blame]
#!/bin/bash
# Copyright 2018 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.
### `gn args` the FUCHSIA_BUILD_DIR
## If FUCHSIA_BUILD_DIR is out/x64, this is simply:
## gn args out/x64
## It is useful for seeing and editing the arguments that are currently
## configured.
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"/lib/vars.sh || exit $?
fx-config-read
set -ex
"${FUCHSIA_DIR}/buildtools/gn" args "$FUCHSIA_BUILD_DIR" "$@"