blob: d08e9f6b2c54156bd2a44cd98b98a8d50cae4db8 [file] [log] [blame]
#!/bin/bash
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Copies the compiler wrapper sources from toolchain_utils
# into the local compiler_wrapper folder, including the `build.py`
# command to build the wrapper.
DIR=$(dirname "$0")
TOOLCHAIN_UTILS_DIR="${DIR}/../../../../toolchain-utils"
COMPILER_WRAPPER_DIR="${DIR}/compiler_wrapper"
"${TOOLCHAIN_UTILS_DIR}/compiler_wrapper/bundle.py" --output_dir "${COMPILER_WRAPPER_DIR}"