Try absolute path

This commit is contained in:
Ali 2020-05-05 22:12:42 +04:00
parent 869a190dd9
commit e3d43c6af2

View File

@ -14,7 +14,6 @@ genrule(
bash = bash =
""" """
set -x set -x
echo "SRCDIR=$SRCDIR"
OUT_DIR="ios" OUT_DIR="ios"
@ -25,7 +24,7 @@ genrule(
mkdir -p "$BUILD_DIR" mkdir -p "$BUILD_DIR"
mkdir -p "$BUILD_DIR/webrtc-ios" mkdir -p "$BUILD_DIR/webrtc-ios"
cp -R "$SRCDIR/webrtc-ios/.git" "$BUILD_DIR/webrtc-ios/.git" cp -R "../../../../../third-party/webrtc/webrtc-ios/.git" "$BUILD_DIR/webrtc-ios/.git"
cp -R "$SRCDIR/webrtc-ios/src" "$BUILD_DIR/webrtc-ios/src" cp -R "$SRCDIR/webrtc-ios/src" "$BUILD_DIR/webrtc-ios/src"
DEPOT_TOOLS_PATH="$(location //third-party:depot_tools_sources)" DEPOT_TOOLS_PATH="$(location //third-party:depot_tools_sources)"