mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Try with git
This commit is contained in:
parent
413ba182f7
commit
e9532ffbfd
@ -128,7 +128,8 @@ fi
|
|||||||
|
|
||||||
SOURCE_DIR=$(basename "$BASE_DIR")
|
SOURCE_DIR=$(basename "$BASE_DIR")
|
||||||
rm -f "$BUILDBOX_DIR/transient-data/source.tar"
|
rm -f "$BUILDBOX_DIR/transient-data/source.tar"
|
||||||
tar cf "$BUILDBOX_DIR/transient-data/source.tar" --exclude "$BUILDBOX_DIR" --exclude ".git" --exclude "buck-out" --exclude ".buckd" --exclude "build" "."
|
#temporarily include .git (reverse later with --exclude ".git")
|
||||||
|
tar cf "$BUILDBOX_DIR/transient-data/source.tar" --exclude "$BUILDBOX_DIR" --exclude "buck-out" --exclude ".buckd" --exclude "build" "."
|
||||||
|
|
||||||
PROCESS_ID="$$"
|
PROCESS_ID="$$"
|
||||||
|
|
||||||
|
@ -57,7 +57,9 @@ fi
|
|||||||
|
|
||||||
mkdir "$SOURCE_PATH"
|
mkdir "$SOURCE_PATH"
|
||||||
|
|
||||||
if [ "$1" != "verify" ]; then
|
USE_RAMDISK="0"
|
||||||
|
|
||||||
|
if [ "$USE_RAMDISK" == "1" ]; then
|
||||||
SIZE_IN_BLOCKS=$((12*1024*1024*1024/512))
|
SIZE_IN_BLOCKS=$((12*1024*1024*1024/512))
|
||||||
DEV=`hdid -nomount ram://$SIZE_IN_BLOCKS`
|
DEV=`hdid -nomount ram://$SIZE_IN_BLOCKS`
|
||||||
|
|
||||||
|
2
third-party/webrtc/BUCK
vendored
2
third-party/webrtc/BUCK
vendored
@ -14,6 +14,7 @@ genrule(
|
|||||||
bash =
|
bash =
|
||||||
"""
|
"""
|
||||||
set -x
|
set -x
|
||||||
|
echo "SRCDIR=$SRCDIR"
|
||||||
|
|
||||||
OUT_DIR="ios"
|
OUT_DIR="ios"
|
||||||
|
|
||||||
@ -24,6 +25,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 "$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)"
|
||||||
|
2
third-party/webrtc/build-webrtc-buck.sh
vendored
2
third-party/webrtc/build-webrtc-buck.sh
vendored
@ -27,7 +27,7 @@ if [ "$ARCH" == "x64" ]; then
|
|||||||
OUT_DIR="ios_sim"
|
OUT_DIR="ios_sim"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
buildtools/mac/gn gen out/$OUT_DIR --args="use_xcode_clang=true "" target_cpu=\"$ARCH\""' target_os="ios" is_debug=false is_component_build=false rtc_include_tests=false use_rtti=true rtc_use_x11=false use_custom_libcxx=false use_custom_libcxx_for_host=false rtc_include_builtin_video_codecs=false rtc_build_ssl=false rtc_build_examples=false rtc_build_tools=false ios_deployment_target="9.0" ios_enable_code_signing=false is_unsafe_developer_build=false rtc_enable_protobuf=false rtc_include_builtin_video_codecs=false rtc_use_gtk=false rtc_use_metal_rendering=false rtc_ssl_root="//openssl"'
|
gn gen out/$OUT_DIR --args="use_xcode_clang=true "" target_cpu=\"$ARCH\""' target_os="ios" is_debug=false is_component_build=false rtc_include_tests=false use_rtti=true rtc_use_x11=false use_custom_libcxx=false use_custom_libcxx_for_host=false rtc_include_builtin_video_codecs=false rtc_build_ssl=false rtc_build_examples=false rtc_build_tools=false ios_deployment_target="9.0" ios_enable_code_signing=false is_unsafe_developer_build=false rtc_enable_protobuf=false rtc_include_builtin_video_codecs=false rtc_use_gtk=false rtc_use_metal_rendering=false rtc_ssl_root="//openssl"'
|
||||||
ninja -C out/$OUT_DIR webrtc
|
ninja -C out/$OUT_DIR webrtc
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user