d7903535ea
Strip $PWD/ off the beginning of the path printed by gcc. Bug: 68719465 Test: m checkbuild Test: prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-${TARGET_PRODUCT}.ninja -t deps | grep -E '^[[:space:]]*/' | sort | uniq
7 lines
118 B
Bash
Executable file
7 lines
118 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
OUT=$1
|
|
shift
|
|
LIBPATH=$($@ | sed -e "s|^$PWD/||")
|
|
cp -f $LIBPATH $OUT
|
|
echo "$OUT: $LIBPATH" > ${OUT}.d
|