| #!/bin/bash | |
| # Copyright 2026 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. | |
| REQUEST=$1 | |
| RESPONSE=$2 | |
| SCRIPT_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" | |
| FUCHSIA_DIR="$(realpath "$SCRIPT_DIR/../../..")" | |
| # Source platform.sh to get PREBUILT_PYTHON3_DIR | |
| source "${FUCHSIA_DIR}/tools/devshell/lib/platform.sh" | |
| exec "${PREBUILT_PYTHON3}" -S "${FUCHSIA_DIR}/build/bazel/scripts/bazel_ninja_delayed_actions.py" \ | |
| --build-dir \ | |
| "$(pwd)" \ | |
| --delayed-actions-request \ | |
| "$REQUEST" \ | |
| --delayed-actions-response \ | |
| "$RESPONSE" |