Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Mike Renoir 2022-02-23 11:29:50 +04:00
commit 5d0c857bb0
3 changed files with 6 additions and 5 deletions

View File

@ -14,6 +14,8 @@ optimization_flags = select({
"//conditions:default": ["-DNDEBUG"],
})
enable_x264 = False
objc_library(
name = "TgVoipWebrtc",
enable_modules = True,
@ -70,7 +72,7 @@ objc_library(
"-DRTC_ENABLE_VP9",
"-DTGVOIP_NAMESPACE=tgvoip_webrtc",
"-std=c++14",
] + optimization_flags,
] + optimization_flags + (["-DTGCALLS_ENABLE_X264"] if enable_x264 else []),
includes = [
"PublicHeaders",
],
@ -84,8 +86,7 @@ objc_library(
"//submodules/ffmpeg:ffmpeg",
"//third-party/rnnoise:rnnoise",
"//third-party/libyuv:libyuv",
"//third-party/libx264:libx264",
],
] + (["//third-party/libx264:libx264"] if enable_x264 else []),
sdk_frameworks = [
"Foundation",
"UIKit",

@ -1 +1 @@
Subproject commit 382d1b6756768021274cb1edfc1e144cfb101fb8
Subproject commit abb39c285ac9a8ad3d5aa5a43a54ad665d099dcb

View File

@ -1,5 +1,5 @@
{
"app": "8.5.1",
"app": "8.6",
"bazel": "5.0.0",
"xcode": "13.2.1"
}