mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-06 17:00:13 +00:00
Cleanup
This commit is contained in:
parent
d1e2951849
commit
e57538b321
6
submodules/ffmpeg/BUILD
vendored
6
submodules/ffmpeg/BUILD
vendored
@ -266,15 +266,11 @@ genrule(
|
||||
|
||||
FFMPEG_VERSION="7.1.1"
|
||||
|
||||
if [ "$(TARGET_CPU)" == "ios_armv7" ]; then
|
||||
BUILD_ARCH="armv7"
|
||||
elif [ "$(TARGET_CPU)" == "ios_arm64" ]; then
|
||||
if [ "$(TARGET_CPU)" == "ios_arm64" ]; then
|
||||
BUILD_ARCH="arm64"
|
||||
elif [ "$(TARGET_CPU)" == "ios_sim_arm64" ]; then
|
||||
BUILD_ARCH="sim_arm64"
|
||||
VARIANT="debug"
|
||||
elif [ "$(TARGET_CPU)" == "ios_x86_64" ]; then
|
||||
BUILD_ARCH="x86_64"
|
||||
else
|
||||
echo "Unsupported architecture $(TARGET_CPU)"
|
||||
fi
|
||||
|
||||
64
third-party/webrtc/BUILD
vendored
64
third-party/webrtc/BUILD
vendored
@ -3052,70 +3052,6 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
objc_library(
|
||||
name = "webrtc_objcpp",
|
||||
enable_modules = True,
|
||||
module_name = "webrtc_objcpp",
|
||||
srcs = [ "webrtc/sdk/" + path for path in ios_objcpp_sources ],
|
||||
copts = [
|
||||
"-Wno-all",
|
||||
"-Ithird-party/webrtc/webrtc/",
|
||||
"-Ithird-party/webrtc/webrtc/sdk/objc",
|
||||
"-Ithird-party/webrtc/webrtc/sdk/objc/base",
|
||||
"-Ithird-party/libyuv",
|
||||
"-Ithird-party/webrtc/absl",
|
||||
"-DBSD=1",
|
||||
"-DUSE_KISS_FFT",
|
||||
"-DHAVE_PTHREAD",
|
||||
"-DWEBRTC_APM_DEBUG_DUMP=0",
|
||||
"-DWEBRTC_USE_BUILTIN_ISAC_FLOAT",
|
||||
"-DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0",
|
||||
"-DHAVE_NETINET_IN_H",
|
||||
"-DSCTP_SIMPLE_ALLOCATOR",
|
||||
"-DSCTP_PROCESS_LEVEL_LOCKS",
|
||||
"-D__Userspace__",
|
||||
"-D__Userspace_os_Darwin",
|
||||
"-DPACKAGE_VERSION='\"\"'",
|
||||
"-DHAVE_SCTP",
|
||||
"-DWEBRTC_HAVE_DCSCTP",
|
||||
"-DWEBRTC_HAVE_SCTP",
|
||||
"-DNO_MAIN_THREAD_WRAPPING",
|
||||
"-DRTC_DISABLE_TRACE_EVENTS",
|
||||
"-DRTC_DISABLE_METRICS",
|
||||
] + arch_specific_cflags + optimization_flags,
|
||||
deps = [
|
||||
"//third-party/boringssl:crypto",
|
||||
"//third-party/boringssl:ssl",
|
||||
"//third-party/opus",
|
||||
":opus_headers",
|
||||
"//third-party/webrtc/libsrtp",
|
||||
"//third-party/libyuv",
|
||||
"//third-party/libvpx:vpx",
|
||||
"//submodules/ffmpeg",
|
||||
"//third-party/openh264",
|
||||
":field_trials_header",
|
||||
"//third-party/webrtc/absl",
|
||||
],
|
||||
cxxopts = [
|
||||
"-std=c++17",
|
||||
],
|
||||
sdk_frameworks = [
|
||||
"AVFoundation",
|
||||
"AudioToolbox",
|
||||
"VideoToolbox",
|
||||
"UIKit",
|
||||
"CoreMedia",
|
||||
"CoreVideo",
|
||||
"CoreGraphics",
|
||||
"QuartzCore",
|
||||
],
|
||||
weak_sdk_frameworks = [
|
||||
"Network",
|
||||
"Metal",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
objc_library(
|
||||
name = "webrtc_objc",
|
||||
enable_modules = True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user