rules_cc/cc/private/toolchain/gcc_deps_scanner_wrapper.sh...

13 lines
229 B
Smarty

#!/bin/bash
#
# Ship the environment to the C++ action
#
set -eu
# Set-up the environment
%{env}
# Call the C++ compiler
%{cc} -E -x c++ -fmodules-ts -fdeps-file=out.tmp -fdeps-format=p1689r5 "$@" >"$DEPS_SCANNER_OUTPUT_FILE"