diff --git a/BUCK b/BUCK
deleted file mode 100644
index ea67fb9dd5..0000000000
--- a/BUCK
+++ /dev/null
@@ -1,553 +0,0 @@
-load("//Config:utils.bzl",
- "library_configs",
-)
-
-load("//Config:configs.bzl",
- "app_binary_configs",
- "share_extension_configs",
- "widget_extension_configs",
- "notification_content_extension_configs",
- "notification_service_extension_configs",
- "intents_extension_configs",
- "watch_extension_binary_configs",
- "watch_binary_configs",
- "info_plist_substitutions",
- "app_info_plist_substitutions",
- "share_extension_info_plist_substitutions",
- "widget_extension_info_plist_substitutions",
- "notification_content_extension_info_plist_substitutions",
- "notification_service_extension_info_plist_substitutions",
- "intents_extension_info_plist_substitutions",
- "watch_extension_info_plist_substitutions",
- "watch_info_plist_substitutions",
- "DEVELOPMENT_LANGUAGE",
-)
-
-load("//Config:buck_rule_macros.bzl",
- "apple_lib",
- "framework_binary_dependencies",
- "framework_bundle_dependencies",
- "glob_map",
- "glob_sub_map",
- "merge_maps",
-)
-
-framework_dependencies = [
- "//submodules/MtProtoKit:MtProtoKit",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
- "//submodules/Postbox:Postbox",
- "//submodules/TelegramApi:TelegramApi",
- "//submodules/SyncCore:SyncCore",
- "//submodules/TelegramCore:TelegramCore",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit",
- "//submodules/Display:Display",
- "//submodules/TelegramUI:TelegramUI",
-]
-
-resource_dependencies = [
- "//submodules/LegacyComponents:LegacyComponentsResources",
- "//submodules/TelegramUI:TelegramUIAssets",
- "//submodules/TelegramUI:TelegramUIResources",
- #"//submodules/WalletUI:WalletUIAssets",
- #"//submodules/WalletUI:WalletUIResources",
- "//submodules/PasswordSetupUI:PasswordSetupUIResources",
- "//submodules/PasswordSetupUI:PasswordSetupUIAssets",
- "//submodules/OverlayStatusController:OverlayStatusControllerResources",
- "//:AppResources",
- "//:AppStringResources",
- "//:InfoPlistStringResources",
- "//:AppIntentVocabularyResources",
- "//:Icons",
- "//:AdditionalIcons",
- "//:LaunchScreen",
-]
-
-build_phase_scripts = [
-]
-
-apple_resource(
- name = "AppResources",
- files = glob([
- "Telegram-iOS/Resources/**/*",
- ], exclude = ["Telegram-iOS/Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AppStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/Localizable.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AppIntentVocabularyResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/AppIntentVocabulary.plist",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "InfoPlistStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/InfoPlist.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_asset_catalog(
- name = "Icons",
- dirs = [
- "Telegram-iOS/Icons.xcassets",
- "Telegram-iOS/AppIcons.xcassets",
- ],
- app_icon = "AppIconLLC",
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AdditionalIcons",
- files = glob([
- "Telegram-iOS/*.png",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "LaunchScreen",
- files = [
- "Telegram-iOS/Base.lproj/LaunchScreen.xib",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_library(
- name = "AppLibrary",
- visibility = [
- "//:",
- "//...",
- ],
- configs = library_configs(),
- swift_version = native.read_config("swift", "version"),
- srcs = [
- "Telegram-iOS/main.m",
- "Telegram-iOS/Application.swift"
- ],
- deps = [
- ]
- + framework_binary_dependencies(framework_dependencies),
-)
-
-apple_binary(
- name = "AppBinary",
- visibility = [
- "//:",
- "//...",
- ],
- configs = app_binary_configs(),
- swift_version = native.read_config("swift", "version"),
- srcs = [
- "SupportFiles/Empty.swift",
- ],
- deps = [
- ":AppLibrary",
- ]
- + resource_dependencies,
-)
-
-apple_bundle(
- name = "Telegram",
- visibility = [
- "//:",
- ],
- extension = "app",
- binary = ":AppBinary",
- product_name = "Telegram",
- info_plist = "Telegram-iOS/Info.plist",
- info_plist_substitutions = app_info_plist_substitutions(),
- deps = [
- ":ShareExtension",
- ":WidgetExtension",
- ":NotificationContentExtension",
- ":NotificationServiceExtension",
- ":IntentsExtension",
- ":WatchApp#watch",
- ]
- + framework_bundle_dependencies(framework_dependencies),
-)
-
-# Share Extension
-
-apple_binary(
- name = "ShareBinary",
- srcs = glob([
- "Share/**/*.swift",
- ]),
- configs = share_extension_configs(),
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/TelegramUI:TelegramUI#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
-
-apple_bundle(
- name = "ShareExtension",
- binary = ":ShareBinary",
- extension = "appex",
- info_plist = "Share/Info.plist",
- info_plist_substitutions = share_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Widget
-
-apple_binary(
- name = "WidgetBinary",
- srcs = glob([
- "Widget/**/*.swift",
- ]),
- configs = widget_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/WidgetItems:WidgetItems",
- "//submodules/AppLockState:AppLockState",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/NotificationCenter.framework",
- ],
-)
-
-apple_bundle(
- name = "WidgetExtension",
- binary = ":WidgetBinary",
- extension = "appex",
- info_plist = "Widget/Info.plist",
- info_plist_substitutions = widget_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Notification Content
-
-apple_binary(
- name = "NotificationContentBinary",
- srcs = glob([
- "NotificationContent/**/*.swift",
- ]),
- configs = notification_content_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/TelegramUI:TelegramUI#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UserNotificationsUI.framework",
- ],
-)
-
-apple_bundle(
- name = "NotificationContentExtension",
- binary = ":NotificationContentBinary",
- extension = "appex",
- info_plist = "NotificationContent/Info.plist",
- info_plist_substitutions = notification_content_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-#Notification Service
-
-apple_binary(
- name = "NotificationServiceBinary",
- srcs = glob([
- "NotificationService/**/*.m",
- "NotificationService/**/*.swift",
- ]),
- headers = glob([
- "NotificationService/**/*.h",
- ]),
- bridging_header = "NotificationService/NotificationService-Bridging-Header.h",
- configs = notification_service_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/EncryptionProvider:EncryptionProvider",
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- "//submodules/Database/MessageHistoryReadStateTable:MessageHistoryReadStateTable",
- "//submodules/Database/MessageHistoryMetadataTable:MessageHistoryMetadataTable",
- "//submodules/Database/PreferencesTable:PreferencesTable",
- "//submodules/Database/PeerTable:PeerTable",
- "//submodules/sqlcipher:sqlcipher",
- "//submodules/AppLockState:AppLockState",
- "//submodules/NotificationsPresentationData:NotificationsPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UserNotifications.framework",
- ],
-)
-
-apple_bundle(
- name = "NotificationServiceExtension",
- binary = ":NotificationServiceBinary",
- extension = "appex",
- info_plist = "NotificationService/Info.plist",
- info_plist_substitutions = notification_service_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Intents
-
-apple_binary(
- name = "IntentsBinary",
- srcs = glob([
- "SiriIntents/**/*.swift",
- ]),
- configs = intents_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramApi:TelegramApi#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/OpenSSLEncryptionProvider:OpenSSLEncryptionProvider",
- "//submodules/AppLockState:AppLockState",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/Intents.framework",
- "$SDKROOT/System/Library/Frameworks/Contacts.framework",
- ],
-)
-
-apple_bundle(
- name = "IntentsExtension",
- binary = ":IntentsBinary",
- extension = "appex",
- info_plist = "SiriIntents/Info.plist",
- info_plist_substitutions = intents_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Watch
-
-apple_resource(
- name = "WatchAppStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/Localizable.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "WatchAppExtensionResources",
- files = glob([
- "Watch/Extension/Resources/**/*",
- ], exclude = ["Watch/Extension/Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-apple_binary(
- name = "WatchAppExtensionBinary",
- srcs = glob([
- "Watch/Extension/**/*.m",
- "Watch/SSignalKit/**/*.m",
- "Watch/Bridge/**/*.m",
- "Watch/WatchCommonWatch/**/*.m",
- ]),
- headers = merge_maps([
- glob_map(glob([
- "Watch/Extension/*.h",
- "Watch/Bridge/*.h",
- ])),
- glob_sub_map("Watch/Extension/", glob([
- "Watch/Extension/SSignalKit/*.h",
- ])),
- glob_sub_map("Watch/", glob([
- "Watch/WatchCommonWatch/*.h",
- ])),
- ]),
- compiler_flags = [
- "-DTARGET_OS_WATCH=1",
- ],
- linker_flags = [
- "-e",
- "_WKExtensionMain",
- "-lWKExtensionMainLegacy",
- ],
- configs = watch_extension_binary_configs(),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UserNotifications.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
- ],
- deps = [
- ":WatchAppStringResources",
- ":WatchAppExtensionResources",
- ],
-)
-
-apple_bundle(
- name = "WatchAppExtension",
- binary = ":WatchAppExtensionBinary",
- extension = "appex",
- info_plist = "Watch/Extension/Info.plist",
- info_plist_substitutions = watch_extension_info_plist_substitutions(),
- xcode_product_type = "com.apple.product-type.watchkit2-extension",
-)
-
-apple_resource(
- name = "WatchAppResources",
- dirs = [],
- files = glob(["Watch/Extension/Resources/*.png"])
-)
-
-apple_asset_catalog(
- name = "WatchAppAssets",
- dirs = [
- "Watch/App/Assets.xcassets",
- ],
- app_icon = "AppIcon",
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "WatchAppInterface",
- files = [
- "Watch/App/Base.lproj/Interface.storyboard",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_binary(
- name = "WatchAppBinary",
- configs = watch_binary_configs(),
- deps = [
- ":WatchAppResources",
- ":WatchAppAssets",
- ":WatchAppInterface",
- ":WatchAppStringResources",
- ],
-)
-
-apple_bundle(
- name = "WatchApp",
- binary = ":WatchAppBinary",
- visibility = [
- "//:",
- ],
- extension = "app",
- info_plist = "Watch/App/Info.plist",
- info_plist_substitutions = watch_info_plist_substitutions(),
- xcode_product_type = "com.apple.product-type.application.watchapp2",
- deps = [
- ":WatchAppExtension",
- ],
-)
-
-# Package
-
-apple_package(
- name = "AppPackage",
- bundle = ":Telegram",
-)
-
-xcode_workspace_config(
- name = "workspace",
- workspace_name = "Telegram_Buck",
- src_target = ":Telegram",
-)
diff --git a/Config/BUCK b/Config/BUCK
deleted file mode 100644
index babd7d22cd..0000000000
--- a/Config/BUCK
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file can be depended upon for any apple_test_lib rules.
-genrule(
- name = "test_info_plist",
- visibility = ["PUBLIC"],
- srcs = [
- "BuckSupportFiles/TestInfo.plist",
- ],
- out = 'TestInfo.plist',
- cmd = 'cp $SRCDIR/BuckSupportFiles/TestInfo.plist $OUT',
-)
diff --git a/Config/BuckSupportFiles/TestInfo.plist b/Config/BuckSupportFiles/TestInfo.plist
deleted file mode 100644
index 6c40a6cd0c..0000000000
--- a/Config/BuckSupportFiles/TestInfo.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- BNDL
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1
-
-
diff --git a/Config/buck_rule_macros.bzl b/Config/buck_rule_macros.bzl
deleted file mode 100644
index 0c101f023a..0000000000
--- a/Config/buck_rule_macros.bzl
+++ /dev/null
@@ -1,321 +0,0 @@
-load("//Config:utils.bzl",
- "library_configs",
- "dynamic_library_configs",
-)
-
-text_section_items = [
- "__text",
-]
-
-text_section_rename_linker_flags = [] #["-Wl,-rename_section,__TEXT,%s,__MEXT,%s" % (name, name) for name in text_section_items] + ["-Wl,-segprot,__MEXT,rx,rx"]
-
-section_rename_linker_flags = text_section_rename_linker_flags
-
-def apple_lib(
- name,
- visibility = ["PUBLIC"],
- srcs = [],
- headers = [],
- exported_headers = [],
- extra_xcode_files = [],
- deps = [],
- exported_deps = [],
- additional_linker_flags = None,
- exported_preprocessor_flags = [],
- exported_linker_flags = [],
- frameworks = [],
- weak_frameworks = [],
- swift_version = None,
- modular = True,
- compiler_flags = None,
- platform_compiler_flags = None,
- swift_compiler_flags = None,
- warning_as_error = False,
- suppress_warnings = False,
- has_cpp = False,
- framework = False):
- swift_version = swift_version or native.read_config('swift', 'version')
- swift_compiler_flags = swift_compiler_flags or []
-
- resolved_frameworks = frameworks
-
- if native.read_config("xcode", "beta") == "True":
- warning_as_error = False
-
- if platform_compiler_flags != None:
- if compiler_flags != None:
- fail("compiler_flags and platform_compiler_flags are mutually exclusive")
- compiler_flags = []
- for i in range(len(platform_compiler_flags)):
- if warning_as_error:
- platform_compiler_flags[i][1].append("-Werror")
- elif suppress_warnings:
- platform_compiler_flags[i][1].append("-w")
- else:
- compiler_flags = compiler_flags or []
- if warning_as_error:
- compiler_flags.append("-Werror")
- elif suppress_warnings:
- compiler_flags.append("-w")
-
- if warning_as_error:
- swift_compiler_flags.append("-warnings-as-errors")
- elif suppress_warnings:
- swift_compiler_flags.append("-suppress-warnings")
-
- if framework:
- additional_linker_flags = additional_linker_flags or []
- if has_cpp:
- linker_flags = [
- "-lc++",
- "-lz"
- ]
- else:
- linker_flags = []
-
- if native.read_config("custom", "mode") == "project":
- resolved_linker_flags = linker_flags + additional_linker_flags + ["-Wl,-install_name,@rpath/lib%s.dylib" % (name)]
- resolved_frameworks = resolved_frameworks + ["$SDKROOT/System/Library/Frameworks/%s.framework" % x for x in weak_frameworks]
- else:
- resolved_linker_flags = linker_flags + additional_linker_flags + ["-Wl,-install_name,@rpath/%s.framework/%s" % (name, name)]
- for framework in weak_frameworks:
- resolved_linker_flags = resolved_linker_flags + ["-Wl,-weak_framework,%s" % framework]
-
- resolved_linker_flags = resolved_linker_flags + section_rename_linker_flags
-
- native.apple_library(
- name = name + "",
- srcs = srcs,
- header_namespace = name,
- module_name = name,
- soname = "lib" + name + ".dylib",
- headers = headers,
- exported_headers = exported_headers,
- deps = deps,
- exported_deps = exported_deps,
- extra_xcode_files = extra_xcode_files,
- frameworks = resolved_frameworks,
- visibility = visibility,
- swift_version = swift_version,
- configs = dynamic_library_configs(),
- modular = modular,
- compiler_flags = compiler_flags,
- platform_compiler_flags = platform_compiler_flags,
- swift_compiler_flags = swift_compiler_flags,
- preferred_linkage = "shared",
- #link_style = "static",
- linker_flags = resolved_linker_flags,
- )
- else:
- additional_linker_flags = additional_linker_flags or []
- if has_cpp:
- linker_flags = [
- "-lc++",
- "-lz"
- ]
- else:
- linker_flags = []
-
- resolved_exported_linker_flags = exported_linker_flags + linker_flags + additional_linker_flags
-
- if native.read_config("custom", "mode") == "project":
- resolved_frameworks = resolved_frameworks + ["$SDKROOT/System/Library/Frameworks/%s.framework" % x for x in weak_frameworks]
- else:
- for framework in weak_frameworks:
- resolved_exported_linker_flags = resolved_exported_linker_flags + ["-Wl,-weak_framework,%s" % framework]
-
- native.apple_library(
- name = name,
- srcs = srcs,
- headers = headers,
- exported_headers = exported_headers,
- deps = deps,
- exported_deps = exported_deps,
- exported_linker_flags = resolved_exported_linker_flags,
- extra_xcode_files = extra_xcode_files,
- frameworks = resolved_frameworks,
- visibility = visibility,
- swift_version = swift_version,
- configs = library_configs(),
- modular = modular,
- compiler_flags = compiler_flags,
- platform_compiler_flags = platform_compiler_flags,
- swift_compiler_flags = swift_compiler_flags,
- preferred_linkage = "static",
- exported_preprocessor_flags = exported_preprocessor_flags,
- )
-
-def static_library(
- name,
- visibility = ["PUBLIC"],
- has_cpp = False,
- srcs = [],
- headers = [],
- exported_headers = [],
- extra_xcode_files = [],
- deps = [],
- additional_linker_flags = None,
- exported_preprocessor_flags = [],
- exported_linker_flags = [],
- frameworks = [],
- weak_frameworks = [],
- info_plist = None,
- info_plist_substitutions = {},
- modular = True,
- compiler_flags = None,
- platform_compiler_flags = None,
- swift_compiler_flags = None,
- warning_as_error = False,
- suppress_warnings = True
- ):
- apple_lib(
- name = name,
- srcs = srcs,
- has_cpp = has_cpp,
- exported_headers = exported_headers,
- headers = headers,
- modular = modular,
- compiler_flags = compiler_flags,
- platform_compiler_flags = platform_compiler_flags,
- swift_compiler_flags = swift_compiler_flags,
- extra_xcode_files = extra_xcode_files,
- deps = deps,
- additional_linker_flags = additional_linker_flags,
- exported_preprocessor_flags = exported_preprocessor_flags,
- exported_linker_flags = exported_linker_flags,
- frameworks = frameworks,
- weak_frameworks = weak_frameworks,
- warning_as_error = warning_as_error,
- suppress_warnings = suppress_warnings
- )
-
-def framework(
- name,
- visibility = ["PUBLIC"],
- has_cpp = False,
- srcs = [],
- headers = [],
- exported_headers = [],
- extra_xcode_files = [],
- deps = [],
- exported_deps = [],
- additional_linker_flags = None,
- frameworks = [],
- weak_frameworks = [],
- info_plist = None,
- info_plist_substitutions = {},
- modular = True,
- compiler_flags = None,
- platform_compiler_flags = None,
- swift_compiler_flags = None,
- warning_as_error = False,
- suppress_warnings = True):
- apple_lib(
- name = name,
- srcs = srcs,
- has_cpp = has_cpp,
- exported_headers = exported_headers,
- headers = headers,
- modular = modular,
- compiler_flags = compiler_flags,
- platform_compiler_flags = platform_compiler_flags,
- swift_compiler_flags = swift_compiler_flags,
- extra_xcode_files = extra_xcode_files,
- deps = deps,
- exported_deps = exported_deps,
- additional_linker_flags = additional_linker_flags,
- frameworks = frameworks,
- weak_frameworks = weak_frameworks,
- warning_as_error = warning_as_error,
- suppress_warnings = suppress_warnings,
- framework = True
- )
-
-
-CXX_SRC_EXT = ["mm", "cpp", "S"]
-def apple_cxx_lib(
- srcs = [],
- additional_exported_linker_flags = [],
- **kwargs):
- c_srcs, cxx_srcs = [], []
-
- cxx_compile_flags = native.read_config("cxx", "cxxflags").split(" ")
- cxx_compile_flags.append("-w")
-
- for file_ in srcs:
- if file_.split(".")[-1] in CXX_SRC_EXT:
- cxx_srcs.append((file_, cxx_compile_flags))
- else:
- c_srcs.append(file_)
- apple_lib(
- srcs = c_srcs + cxx_srcs,
- exported_linker_flags = [
- "-lc++",
- "-lz"
- ] + additional_exported_linker_flags,
- **kwargs
- )
-
-def framework_binary_dependencies(names):
- result = []
- for name in names:
- result.append(name + "#shared")
- return result
-
-def framework_bundle_dependencies(names):
- result = []
- if native.read_config("custom", "mode") == "project":
- for name in names:
- pass
- else:
- for name in names:
- result.append(name + "#shared")
- return result
-
-def gen_header_targets(header_paths, prefix, flavor, source_rule, source_path):
- result = dict()
- for header_path in header_paths:
- name = prefix + header_path.replace('/', '_sub_')
- native.genrule(
- name = name + flavor,
- cmd = 'cp $(location :' + source_rule + ')/' + source_path + '/' + header_path + ' $OUT',
- out = name,
- )
- result[header_path] = ':' + name + flavor
- return result
-
-def merge_maps(dicts):
- result = dict()
- for d in dicts:
- for key in d:
- if key in result and result[key] != d[key]:
- fail(
- "Conflicting files in file search paths. " +
- "\"%s\" maps to both \"%s\" and \"%s\"." %
- (key, result[key], d[key]),
- )
- result.update(d)
- return result
-
-def basename(p):
- return p.rpartition("/")[-1]
-
-def glob_map(glob_results):
- result = dict()
- for path in glob_results:
- file_name = basename(path)
- if file_name in result:
- fail('\"%s\" maps to both \"%s\" and \"%s\"' % (file_name, result[file_name], path))
- result[file_name] = path
- return result
-
-def glob_sub_map(prefix, glob_specs, exclude = []):
- result = dict()
- for path in native.glob(glob_specs, exclude = exclude):
- if not path.startswith(prefix):
- fail('\"%s\" does not start with \"%s\"' % (path, prefix))
- file_key = path[len(prefix):]
- if file_key in result:
- fail('\"%s\" maps to both \"%s\" and \"%s\"' % (file_key, result[file_key], path))
- result[file_key] = path
- return result
diff --git a/Telegram/BUCK b/Telegram/BUCK
deleted file mode 100644
index 0ba80dc35b..0000000000
--- a/Telegram/BUCK
+++ /dev/null
@@ -1,548 +0,0 @@
-load("//Config:utils.bzl",
- "library_configs",
-)
-
-load("//Config:configs.bzl",
- "app_binary_configs",
- "share_extension_configs",
- "widget_extension_configs",
- "notification_content_extension_configs",
- "notification_service_extension_configs",
- "intents_extension_configs",
- "watch_extension_binary_configs",
- "watch_binary_configs",
- "info_plist_substitutions",
- "app_info_plist_substitutions",
- "share_extension_info_plist_substitutions",
- "widget_extension_info_plist_substitutions",
- "notification_content_extension_info_plist_substitutions",
- "notification_service_extension_info_plist_substitutions",
- "intents_extension_info_plist_substitutions",
- "watch_extension_info_plist_substitutions",
- "watch_info_plist_substitutions",
- "DEVELOPMENT_LANGUAGE",
-)
-
-load("//Config:buck_rule_macros.bzl",
- "apple_lib",
- "framework_binary_dependencies",
- "framework_bundle_dependencies",
- "glob_map",
- "glob_sub_map",
- "merge_maps",
-)
-
-framework_dependencies = [
- "//submodules/MtProtoKit:MtProtoKit",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
- "//submodules/Postbox:Postbox",
- "//submodules/TelegramApi:TelegramApi",
- "//submodules/SyncCore:SyncCore",
- "//submodules/TelegramCore:TelegramCore",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit",
- "//submodules/Display:Display",
- "//submodules/TelegramUI:TelegramUI",
-]
-
-resource_dependencies = [
- "//submodules/LegacyComponents:LegacyComponentsAssets",
- "//submodules/LegacyComponents:LegacyComponentsResources",
- "//submodules/TelegramUI:TelegramUIAssets",
- "//submodules/TelegramUI:TelegramUIResources",
- #"//submodules/WalletUI:WalletUIAssets",
- #"//submodules/WalletUI:WalletUIResources",
- "//submodules/PasswordSetupUI:PasswordSetupUIResources",
- "//submodules/PasswordSetupUI:PasswordSetupUIAssets",
- "//submodules/OverlayStatusController:OverlayStatusControllerResources",
- ":AppResources",
- ":AppStringResources",
- ":InfoPlistStringResources",
- ":AppIntentVocabularyResources",
- ":Icons",
- ":AdditionalIcons",
- ":LaunchScreen",
-]
-
-build_phase_scripts = [
-]
-
-apple_resource(
- name = "AppResources",
- files = glob([
- "Telegram-iOS/Resources/**/*",
- ], exclude = ["Telegram-iOS/Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AppStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/Localizable.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AppIntentVocabularyResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/AppIntentVocabulary.plist",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "InfoPlistStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/InfoPlist.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_asset_catalog(
- name = "Icons",
- dirs = [
- "Telegram-iOS/Icons.xcassets",
- "Telegram-iOS/AppIcons.xcassets",
- ],
- app_icon = "AppIconLLC",
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "AdditionalIcons",
- files = glob([
- "Telegram-iOS/*.png",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "LaunchScreen",
- files = [
- "Telegram-iOS/Base.lproj/LaunchScreen.xib",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_library(
- name = "AppLibrary",
- visibility = [
- "//...",
- ],
- configs = library_configs(),
- swift_version = native.read_config("swift", "version"),
- srcs = [
- "Telegram-iOS/main.m",
- "Telegram-iOS/Application.swift"
- ],
- deps = [
- ]
- + framework_binary_dependencies(framework_dependencies),
-)
-
-apple_binary(
- name = "AppBinary",
- visibility = [
- "//...",
- ],
- configs = app_binary_configs(),
- swift_version = native.read_config("swift", "version"),
- srcs = [
- "SupportFiles/Empty.swift",
- ],
- deps = [
- ":AppLibrary",
- ]
- + resource_dependencies,
-)
-
-apple_bundle(
- name = "Telegram",
- visibility = [
- "//Telegram:...",
- ],
- extension = "app",
- binary = ":AppBinary",
- product_name = "Telegram",
- info_plist = "Telegram-iOS/Info.plist",
- info_plist_substitutions = app_info_plist_substitutions(),
- deps = [
- ":ShareExtension",
- ":WidgetExtension",
- ":NotificationContentExtension",
- ":NotificationServiceExtension",
- ":IntentsExtension",
- ":WatchApp#watch",
- ]
- + framework_bundle_dependencies(framework_dependencies),
-)
-
-# Share Extension
-
-apple_binary(
- name = "ShareBinary",
- srcs = glob([
- "Share/**/*.swift",
- ]),
- configs = share_extension_configs(),
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/TelegramUI:TelegramUI#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
-
-apple_bundle(
- name = "ShareExtension",
- binary = ":ShareBinary",
- extension = "appex",
- info_plist = "Share/Info.plist",
- info_plist_substitutions = share_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Widget
-
-apple_binary(
- name = "WidgetBinary",
- srcs = glob([
- "Widget/**/*.swift",
- ]),
- configs = widget_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/WidgetItems:WidgetItems",
- "//submodules/AppLockState:AppLockState",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/NotificationCenter.framework",
- ],
-)
-
-apple_bundle(
- name = "WidgetExtension",
- binary = ":WidgetBinary",
- extension = "appex",
- info_plist = "Widget/Info.plist",
- info_plist_substitutions = widget_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Notification Content
-
-apple_binary(
- name = "NotificationContentBinary",
- srcs = glob([
- "NotificationContent/**/*.swift",
- ]),
- configs = notification_content_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/TelegramUI:TelegramUI#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UserNotificationsUI.framework",
- ],
-)
-
-apple_bundle(
- name = "NotificationContentExtension",
- binary = ":NotificationContentBinary",
- extension = "appex",
- info_plist = "NotificationContent/Info.plist",
- info_plist_substitutions = notification_content_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-#Notification Service
-
-apple_binary(
- name = "NotificationServiceBinary",
- srcs = glob([
- "NotificationService/Sources/*.swift",
- ]),
- configs = notification_service_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//Telegram/NotificationService/NotificationServiceObjC:NotificationServiceObjC",
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/EncryptionProvider:EncryptionProvider",
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- "//submodules/Database/MessageHistoryReadStateTable:MessageHistoryReadStateTable",
- "//submodules/Database/MessageHistoryMetadataTable:MessageHistoryMetadataTable",
- "//submodules/Database/PreferencesTable:PreferencesTable",
- "//submodules/Database/PeerTable:PeerTable",
- "//submodules/sqlcipher:sqlcipher",
- "//submodules/AppLockState:AppLockState",
- "//submodules/NotificationsPresentationData:NotificationsPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UserNotifications.framework",
- ],
-)
-
-apple_bundle(
- name = "NotificationServiceExtension",
- binary = ":NotificationServiceBinary",
- extension = "appex",
- info_plist = "NotificationService/Info.plist",
- info_plist_substitutions = notification_service_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Intents
-
-apple_binary(
- name = "IntentsBinary",
- srcs = glob([
- "SiriIntents/**/*.swift",
- ]),
- configs = intents_extension_configs(),
- swift_compiler_flags = [
- "-application-extension",
- ],
- linker_flags = [
- "-e",
- "_NSExtensionMain",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "/usr/lib/swift",
- "-Xlinker",
- "-rpath",
- "-Xlinker",
- "@executable_path/../../Frameworks",
- ],
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramApi:TelegramApi#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/OpenSSLEncryptionProvider:OpenSSLEncryptionProvider",
- "//submodules/AppLockState:AppLockState",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/Intents.framework",
- "$SDKROOT/System/Library/Frameworks/Contacts.framework",
- ],
-)
-
-apple_bundle(
- name = "IntentsExtension",
- binary = ":IntentsBinary",
- extension = "appex",
- info_plist = "SiriIntents/Info.plist",
- info_plist_substitutions = intents_extension_info_plist_substitutions(),
- deps = [
- ],
- xcode_product_type = "com.apple.product-type.app-extension",
-)
-
-# Watch
-
-apple_resource(
- name = "WatchAppStringResources",
- files = [],
- variants = glob([
- "Telegram-iOS/*.lproj/Localizable.strings",
- ]),
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "WatchAppExtensionResources",
- files = glob([
- "Watch/Extension/Resources/**/*",
- ], exclude = ["Watch/Extension/Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-apple_binary(
- name = "WatchAppExtensionBinary",
- srcs = glob([
- "Watch/Extension/**/*.m",
- "Watch/SSignalKit/**/*.m",
- "Watch/Bridge/**/*.m",
- "Watch/WatchCommonWatch/**/*.m",
- ]),
- headers = merge_maps([
- glob_map(glob([
- "Watch/Extension/*.h",
- "Watch/Bridge/*.h",
- ])),
- glob_sub_map("Watch/Extension/", glob([
- "Watch/Extension/SSignalKit/*.h",
- ])),
- glob_sub_map("Watch/", glob([
- "Watch/WatchCommonWatch/*.h",
- ])),
- ]),
- compiler_flags = [
- "-DTARGET_OS_WATCH=1",
- ],
- linker_flags = [
- "-e",
- "_WKExtensionMain",
- "-lWKExtensionMainLegacy",
- ],
- configs = watch_extension_binary_configs(),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/UserNotifications.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
- ],
- deps = [
- ":WatchAppStringResources",
- ":WatchAppExtensionResources",
- ],
-)
-
-apple_bundle(
- name = "WatchAppExtension",
- binary = ":WatchAppExtensionBinary",
- extension = "appex",
- info_plist = "Watch/Extension/Info.plist",
- info_plist_substitutions = watch_extension_info_plist_substitutions(),
- xcode_product_type = "com.apple.product-type.watchkit2-extension",
-)
-
-apple_resource(
- name = "WatchAppResources",
- dirs = [],
- files = glob(["Watch/Extension/Resources/*.png"])
-)
-
-apple_asset_catalog(
- name = "WatchAppAssets",
- dirs = [
- "Watch/App/Assets.xcassets",
- ],
- app_icon = "AppIcon",
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "WatchAppInterface",
- files = [
- "Watch/App/Base.lproj/Interface.storyboard",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_binary(
- name = "WatchAppBinary",
- configs = watch_binary_configs(),
- deps = [
- ":WatchAppResources",
- ":WatchAppAssets",
- ":WatchAppInterface",
- ":WatchAppStringResources",
- ],
-)
-
-apple_bundle(
- name = "WatchApp",
- binary = ":WatchAppBinary",
- visibility = [
- "//Telegram:...",
- ],
- extension = "app",
- info_plist = "Watch/App/Info.plist",
- info_plist_substitutions = watch_info_plist_substitutions(),
- xcode_product_type = "com.apple.product-type.application.watchapp2",
- deps = [
- ":WatchAppExtension",
- ],
-)
-
-# Package
-
-apple_package(
- name = "AppPackage",
- bundle = ":Telegram",
-)
-
-xcode_workspace_config(
- name = "workspace",
- workspace_name = "Telegram_Buck",
- src_target = ":Telegram",
-)
diff --git a/Telegram/NotificationService/NotificationServiceObjC/BUCK b/Telegram/NotificationService/NotificationServiceObjC/BUCK
deleted file mode 100644
index 4c0ef51377..0000000000
--- a/Telegram/NotificationService/NotificationServiceObjC/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NotificationServiceObjC",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/NotificationsPresentationData:NotificationsPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/buildbox/buck/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch b/buildbox/buck/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch
deleted file mode 100644
index fe6ee40c41..0000000000
--- a/buildbox/buck/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-diff --git a/.gitignore b/.gitignore
-index 78ce658b9a..30c0369ab7 100644
---- a/.gitignore
-+++ b/.gitignore
-@@ -3,6 +3,7 @@
-
- # IntelliJ build
- /intellij-out/
-+/.idea/
-
- # Buck
- /buck-out
-diff --git a/.idea/modules.xml b/.idea/modules.xml
-deleted file mode 100644
-index 7ff823b554..0000000000
---- a/.idea/modules.xml
-+++ /dev/null
-@@ -1,16 +0,0 @@
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
-\ No newline at end of file
-diff --git a/src/com/facebook/buck/apple/AppleBundle.java b/src/com/facebook/buck/apple/AppleBundle.java
-index d895ab9a79..ad42beb302 100644
---- a/src/com/facebook/buck/apple/AppleBundle.java
-+++ b/src/com/facebook/buck/apple/AppleBundle.java
-@@ -992,7 +992,11 @@ public class AppleBundle extends AbstractBuildRuleWithDeclaredAndExtraDeps
- keys.put("DTPlatformName", new NSString(platform.getName()));
- keys.put("DTPlatformVersion", new NSString(sdkVersion));
- keys.put("DTSDKName", new NSString(sdkName + sdkVersion));
-- keys.put("MinimumOSVersion", new NSString(minOSVersion));
-+ if (infoPlistSubstitutions.containsKey("MinimumOSVersion")) {
-+ keys.put("MinimumOSVersion", new NSString(infoPlistSubstitutions.get("MinimumOSVersion")));
-+ } else {
-+ keys.put("MinimumOSVersion", new NSString(minOSVersion));
-+ }
- if (platformBuildVersion.isPresent()) {
- keys.put("DTPlatformBuild", new NSString(platformBuildVersion.get()));
- keys.put("DTSDKBuild", new NSString(platformBuildVersion.get()));
-@@ -1185,9 +1189,10 @@ public class AppleBundle extends AbstractBuildRuleWithDeclaredAndExtraDeps
-
- // .framework bundles will be code-signed when they're copied into the containing bundle.
- private boolean needCodeSign() {
-- return binary.isPresent()
-+ return false;
-+ /*return binary.isPresent()
- && ApplePlatform.needsCodeSign(platform.getName())
-- && !extension.equals(FRAMEWORK_EXTENSION);
-+ && !extension.equals(FRAMEWORK_EXTENSION);*/
- }
-
- @Override
-diff --git a/src/com/facebook/buck/apple/MultiarchFileInfos.java b/src/com/facebook/buck/apple/MultiarchFileInfos.java
-index c078b2e134..030f9fc289 100644
---- a/src/com/facebook/buck/apple/MultiarchFileInfos.java
-+++ b/src/com/facebook/buck/apple/MultiarchFileInfos.java
-@@ -177,7 +177,12 @@ public class MultiarchFileInfos {
- cxxBuckConfig.shouldCacheLinks(),
- BuildTargetPaths.getGenPath(
- projectFilesystem, buildTarget, multiarchOutputPathFormat));
-- graphBuilder.addToIndex(multiarchFile);
-+ Optional existingRule2 = graphBuilder.getRuleOptional(multiarchFile.getBuildTarget());
-+ if (existingRule2.isPresent()) {
-+ return existingRule2.get();
-+ } else {
-+ graphBuilder.addToIndex(multiarchFile);
-+ }
- return multiarchFile;
- } else {
- return new NoopBuildRule(buildTarget, projectFilesystem);
-diff --git a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-index 8db968b982..b10f793d8e 100644
---- a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-+++ b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-@@ -825,6 +825,7 @@ public class ProjectGenerator {
- Optional.of(xcodeDescriptions.getXCodeDescriptions()));
- if (bundleRequiresRemovalOfAllTransitiveFrameworks(targetNode)) {
- copiedRules = rulesWithoutFrameworkBundles(copiedRules);
-+ copiedRules = rulesWithoutDylibs(copiedRules);
- } else if (bundleRequiresAllTransitiveFrameworks(binaryNode, bundleLoaderNode)) {
- copiedRules =
- ImmutableSet.>builder()
-@@ -954,6 +955,22 @@ public class ProjectGenerator {
- .toImmutableList();
- }
-
-+ private ImmutableList> rulesWithoutDylibs(
-+ Iterable> copiedRules) {
-+ return RichStream.from(copiedRules)
-+ .filter(
-+ input ->
-+ TargetNodes.castArg(input, AppleLibraryDescriptionArg.class)
-+ .map(argTargetNode -> {
-+ if (argTargetNode.getBuildTarget().getFlavors().contains(CxxDescriptionEnhancer.SHARED_FLAVOR)) {
-+ return false;
-+ }
-+ return true;
-+ })
-+ .orElse(true))
-+ .toImmutableList();
-+ }
-+
- private ImmutableList> rulesWithoutBundleLoader(
- Iterable> copiedRules, TargetNode> bundleLoader) {
- return RichStream.from(copiedRules).filter(x -> !bundleLoader.equals(x)).toImmutableList();
-@@ -2316,8 +2333,9 @@ public class ProjectGenerator {
- .transform(
- bundleExtension -> {
- switch (bundleExtension) {
-- case APP:
- case APPEX:
-+ return false;
-+ case APP:
- case PLUGIN:
- case BUNDLE:
- case XCTEST:
-@@ -2515,7 +2533,7 @@ public class ProjectGenerator {
-
- librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift/$PLATFORM_NAME");
- if (options.shouldLinkSystemSwift()) {
-- librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift-5.0/$PLATFORM_NAME");
-+ //librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift-5.0/$PLATFORM_NAME");
- }
- }
-
-@@ -3444,7 +3462,7 @@ public class ProjectGenerator {
-
- PBXFileReference fileReference = getLibraryFileReference(targetNode);
- PBXBuildFile buildFile = new PBXBuildFile(fileReference);
-- if (fileReference.getExplicitFileType().equals(Optional.of("wrapper.framework"))) {
-+ if (fileReference.getExplicitFileType().equals(Optional.of("wrapper.framework")) || fileReference.getExplicitFileType().equals(Optional.of("compiled.mach-o.dylib"))) {
- UnflavoredBuildTargetView buildTarget =
- targetNode.getBuildTarget().getUnflavoredBuildTarget();
- if (frameworkTargets.contains(buildTarget)) {
-@@ -4696,6 +4714,9 @@ public class ProjectGenerator {
-
- private static boolean bundleRequiresRemovalOfAllTransitiveFrameworks(
- TargetNode extends HasAppleBundleFields> targetNode) {
-+ if (targetNode.getConstructorArg().getXcodeProductType().equals(Optional.of("com.apple.product-type.app-extension"))) {
-+ return true;
-+ }
- return isFrameworkBundle(targetNode.getConstructorArg());
- }
-
diff --git a/buildbox/buck/prepare_buck_source.sh b/buildbox/buck/prepare_buck_source.sh
deleted file mode 100644
index 2430dda76e..0000000000
--- a/buildbox/buck/prepare_buck_source.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-ls []
-
-if [ ! -f "" ]; then
- exit 1
-fi
diff --git a/submodules/AccountContext/BUCK b/submodules/AccountContext/BUCK
deleted file mode 100644
index 6a3a3d431f..0000000000
--- a/submodules/AccountContext/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AccountContext",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramAudio:TelegramAudio",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
- "//submodules/DeviceLocationManager:DeviceLocationManager",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- #"//submodules/WalletCore:WalletCore",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
- weak_frameworks = [
- "Contacts",
- ],
-)
diff --git a/submodules/AccountUtils/BUCK b/submodules/AccountUtils/BUCK
deleted file mode 100644
index f5cec5d49c..0000000000
--- a/submodules/AccountUtils/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AccountUtils",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/ActionSheetPeerItem/BUCK b/submodules/ActionSheetPeerItem/BUCK
deleted file mode 100644
index dcbc59dd47..0000000000
--- a/submodules/ActionSheetPeerItem/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ActionSheetPeerItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ActivityIndicator/BUCK b/submodules/ActivityIndicator/BUCK
deleted file mode 100644
index 334ac6aecf..0000000000
--- a/submodules/ActivityIndicator/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ActivityIndicator",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AlertUI/BUCK b/submodules/AlertUI/BUCK
deleted file mode 100644
index bde039a00d..0000000000
--- a/submodules/AlertUI/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AlertUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AnimatedAvatarSetNode/BUCK b/submodules/AnimatedAvatarSetNode/BUCK
deleted file mode 100644
index e2e89ba114..0000000000
--- a/submodules/AnimatedAvatarSetNode/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AnimatedAvatarSetNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AvatarNode:AvatarNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AnimatedCountLabelNode/BUCK b/submodules/AnimatedCountLabelNode/BUCK
deleted file mode 100644
index 5943d1f49c..0000000000
--- a/submodules/AnimatedCountLabelNode/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AnimatedCountLabelNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AnimatedNavigationStripeNode/BUCK b/submodules/AnimatedNavigationStripeNode/BUCK
deleted file mode 100644
index 1dd8c4bbb4..0000000000
--- a/submodules/AnimatedNavigationStripeNode/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AnimatedNavigationStripeNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AnimatedStickerNode/BUCK b/submodules/AnimatedStickerNode/BUCK
deleted file mode 100644
index 1e6a948afa..0000000000
--- a/submodules/AnimatedStickerNode/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AnimatedStickerNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/YuvConversion:YuvConversion",
- "//submodules/GZip:GZip",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/MediaResources:MediaResources",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AnimationUI/BUCK b/submodules/AnimationUI/BUCK
deleted file mode 100644
index 85c63613bc..0000000000
--- a/submodules/AnimationUI/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AnimationUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/YuvConversion:YuvConversion",
- "//submodules/StickerResources:StickerResources",
- "//submodules/MediaResources:MediaResources",
- "//submodules/Tuples:Tuples",
- "//submodules/GZip:GZip",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/lottie-ios:Lottie",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework",
- ],
-)
diff --git a/submodules/AppBundle/BUCK b/submodules/AppBundle/BUCK
deleted file mode 100644
index 34e2293199..0000000000
--- a/submodules/AppBundle/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AppBundle",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AppLock/BUCK b/submodules/AppLock/BUCK
deleted file mode 100644
index 65a96d1c58..0000000000
--- a/submodules/AppLock/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AppLock",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/MonotonicTime:MonotonicTime",
- "//submodules/PasscodeUI:PasscodeUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AppLockState:AppLockState",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AppLockState/BUCK b/submodules/AppLockState/BUCK
deleted file mode 100644
index 26e6f4360d..0000000000
--- a/submodules/AppLockState/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AppLockState",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/MonotonicTime:MonotonicTime",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/ArchivedStickerPacksNotice/BUCK b/submodules/ArchivedStickerPacksNotice/BUCK
deleted file mode 100644
index d544ffbad2..0000000000
--- a/submodules/ArchivedStickerPacksNotice/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ArchivedStickerPacksNotice",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/StickerResources:StickerResources",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/MergeLists:MergeLists",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/ItemListStickerPackItem:ItemListStickerPackItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AsyncDisplayKit/BUCK b/submodules/AsyncDisplayKit/BUCK
deleted file mode 100644
index e4a512cf8e..0000000000
--- a/submodules/AsyncDisplayKit/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-public_headers = glob([
- "Source/PublicHeaders/AsyncDisplayKit/*.h",
-])
-
-private_headers = glob([
- "Source/*.h",
-])
-
-framework(
- name = "AsyncDisplayKit",
- srcs = glob([
- "Source/**/*.m",
- "Source/**/*.mm",
- ]),
- headers = private_headers,
- exported_headers = public_headers,
- compiler_flags = [
- "-DMINIMAL_ASDK",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/QuartzCore.framework",
- "$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
- "$SDKROOT/System/Library/Frameworks/CoreText.framework",
- "$SDKROOT/System/Library/Frameworks/CoreGraphics.framework",
- ]
-)
diff --git a/submodules/AuthTransferUI/BUCK b/submodules/AuthTransferUI/BUCK
deleted file mode 100644
index 69bd9a6a32..0000000000
--- a/submodules/AuthTransferUI/BUCK
+++ /dev/null
@@ -1,33 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AuthTransferUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/QrCode:QrCode",
- "//submodules/Camera:Camera",
- "//submodules/GlassButtonNode:GlassButtonNode",
- "//submodules/AlertUI:AlertUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/Markdown:Markdown",
- "//submodules/AnimationUI:AnimationUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/UndoUI:UndoUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/AuthorizationUI/BUCK b/submodules/AuthorizationUI/BUCK
deleted file mode 100644
index 7559527e89..0000000000
--- a/submodules/AuthorizationUI/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AuthorizationUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/AvatarNode/BUCK b/submodules/AvatarNode/BUCK
deleted file mode 100644
index b4aa0ab0df..0000000000
--- a/submodules/AvatarNode/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "AvatarNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AnimationUI:AnimationUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/AccountContext:AccountContext",
- "//submodules/Emoji:Emoji",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/BotPaymentsUI/BUCK b/submodules/BotPaymentsUI/BUCK
deleted file mode 100644
index e8c0210d0e..0000000000
--- a/submodules/BotPaymentsUI/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "BotPaymentsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/LocalAuth:LocalAuth",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/PasswordSetupUI:PasswordSetupUI",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/Stripe:Stripe",
- "//submodules/CountrySelectionUI:CountrySelectionUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/BuildConfig/BUCK b/submodules/BuildConfig/BUCK
deleted file mode 100644
index 8214c78f99..0000000000
--- a/submodules/BuildConfig/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-load("//Config:app_configuration.bzl", "appConfig")
-
-static_library(
- name = "BuildConfig",
- srcs = glob([
- "Sources/*.m",
- ]),
- compiler_flags = [
- '-DAPP_CONFIG_API_ID=' + appConfig()["apiId"],
- '-DAPP_CONFIG_API_HASH="' + appConfig()["apiHash"] + '"',
- '-DAPP_CONFIG_APP_CENTER_ID="' + appConfig()["appCenterId"] + '"',
- '-DAPP_CONFIG_IS_INTERNAL_BUILD=' + appConfig()["isInternalBuild"],
- '-DAPP_CONFIG_IS_APPSTORE_BUILD=' + appConfig()["isAppStoreBuild"],
- '-DAPP_CONFIG_APPSTORE_ID=' + appConfig()["appStoreId"],
- '-DAPP_SPECIFIC_URL_SCHEME="' + appConfig()["appSpecificUrlScheme"] + '"',
- ],
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/BuildConfigExtra/BUCK b/submodules/BuildConfigExtra/BUCK
deleted file mode 100644
index 7c4e20f519..0000000000
--- a/submodules/BuildConfigExtra/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "BuildConfigExtra",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/PKCS:PKCS",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/CallListUI/BUCK b/submodules/CallListUI/BUCK
deleted file mode 100644
index 5499fccd86..0000000000
--- a/submodules/CallListUI/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CallListUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/MergeLists:MergeLists",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Camera/BUCK b/submodules/Camera/BUCK
deleted file mode 100644
index 186174ee4c..0000000000
--- a/submodules/Camera/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Camera",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/ChatInterfaceState/BUCK b/submodules/ChatInterfaceState/BUCK
deleted file mode 100644
index 13b14d8c7b..0000000000
--- a/submodules/ChatInterfaceState/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatInterfaceState",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TextFormat:TextFormat",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatListFilterSettingsHeaderItem/BUCK b/submodules/ChatListFilterSettingsHeaderItem/BUCK
deleted file mode 100644
index de34d12381..0000000000
--- a/submodules/ChatListFilterSettingsHeaderItem/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatListFilterSettingsHeaderItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatListSearchItemHeader/BUCK b/submodules/ChatListSearchItemHeader/BUCK
deleted file mode 100644
index a72c11eea8..0000000000
--- a/submodules/ChatListSearchItemHeader/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatListSearchItemHeader",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatListSearchItemNode/BUCK b/submodules/ChatListSearchItemNode/BUCK
deleted file mode 100644
index b6b530bc87..0000000000
--- a/submodules/ChatListSearchItemNode/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatListSearchItemNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/SearchBarNode:SearchBarNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatListSearchRecentPeersNode/BUCK b/submodules/ChatListSearchRecentPeersNode/BUCK
deleted file mode 100644
index 6aefe829e5..0000000000
--- a/submodules/ChatListSearchRecentPeersNode/BUCK
+++ /dev/null
@@ -1,26 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatListSearchRecentPeersNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/HorizontalPeerItem:HorizontalPeerItem",
- "//submodules/MergeLists:MergeLists",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ContextUI:ContextUI",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatListUI/BUCK b/submodules/ChatListUI/BUCK
deleted file mode 100644
index 84d1f8d7f1..0000000000
--- a/submodules/ChatListUI/BUCK
+++ /dev/null
@@ -1,64 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatListUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramBaseController:TelegramBaseController",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/UndoUI:UndoUI",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/SearchUI:SearchUI",
- "//submodules/MergeLists:MergeLists",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/ChatListSearchRecentPeersNode:ChatListSearchRecentPeersNode",
- "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/ChatTitleActivityNode:ChatTitleActivityNode",
- "//submodules/DeleteChatPeerActionSheetItem:DeleteChatPeerActionSheetItem",
- "//submodules/LanguageSuggestionUI:LanguageSuggestionUI",
- "//submodules/ContactsPeerItem:ContactsPeerItem",
- "//submodules/ContactListUI:ContactListUI",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/AppBundle:AppBundle",
- "//submodules/ContextUI:ContextUI",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/TelegramIntents:TelegramIntents",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/TooltipUI:TooltipUI",
- "//submodules/ListMessageItem:ListMessageItem",
- "//submodules/ChatMessageInteractiveMediaBadge:ChatMessageInteractiveMediaBadge",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/GalleryData:GalleryData",
- "//submodules/InstantPageUI:InstantPageUI",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/ChatInterfaceState:ChatInterfaceState",
- "//submodules/GridMessageSelectionNode:GridMessageSelectionNode",
- "//submodules/ChatListFilterSettingsHeaderItem:ChatListFilterSettingsHeaderItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatMessageInteractiveMediaBadge/BUCK b/submodules/ChatMessageInteractiveMediaBadge/BUCK
deleted file mode 100644
index 37339b5f96..0000000000
--- a/submodules/ChatMessageInteractiveMediaBadge/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatMessageInteractiveMediaBadge",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TextFormat:TextFormat",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ChatTitleActivityNode/BUCK b/submodules/ChatTitleActivityNode/BUCK
deleted file mode 100644
index f573138541..0000000000
--- a/submodules/ChatTitleActivityNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ChatTitleActivityNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/CheckNode/BUCK b/submodules/CheckNode/BUCK
deleted file mode 100644
index 78852663a9..0000000000
--- a/submodules/CheckNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CheckNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/CloudData/BUCK b/submodules/CloudData/BUCK
deleted file mode 100644
index 61dc3a640e..0000000000
--- a/submodules/CloudData/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CloudData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/EncryptionProvider:EncryptionProvider",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
- weak_frameworks = [
- "CloudKit",
- ],
-)
diff --git a/submodules/ComposePollUI/BUCK b/submodules/ComposePollUI/BUCK
deleted file mode 100644
index 7b414c169d..0000000000
--- a/submodules/ComposePollUI/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ComposePollUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TextFormat:TextFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ContactListUI/BUCK b/submodules/ContactListUI/BUCK
deleted file mode 100644
index 6a6691d744..0000000000
--- a/submodules/ContactListUI/BUCK
+++ /dev/null
@@ -1,38 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ContactListUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/MergeLists:MergeLists",
- "//submodules/SearchUI:SearchUI",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/ContactsPeerItem:ContactsPeerItem",
- "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
- "//submodules/TelegramPermissionsUI:TelegramPermissionsUI",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/ShareController:ShareController",
- "//submodules/AppBundle:AppBundle",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ContactsPeerItem/BUCK b/submodules/ContactsPeerItem/BUCK
deleted file mode 100644
index 3a6eea69dc..0000000000
--- a/submodules/ContactsPeerItem/BUCK
+++ /dev/null
@@ -1,32 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ContactsPeerItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/CheckNode:CheckNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/ContextUI:ContextUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ContextUI/BUCK b/submodules/ContextUI/BUCK
deleted file mode 100644
index 9249d703dd..0000000000
--- a/submodules/ContextUI/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ContextUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TextSelectionNode:TextSelectionNode",
- "//submodules/ReactionSelectionNode:ReactionSelectionNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/CounterContollerTitleView/BUCK b/submodules/CounterContollerTitleView/BUCK
deleted file mode 100644
index 72f2ca552a..0000000000
--- a/submodules/CounterContollerTitleView/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CounterContollerTitleView",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/CountrySelectionUI/BUCK b/submodules/CountrySelectionUI/BUCK
deleted file mode 100644
index 06b334d255..0000000000
--- a/submodules/CountrySelectionUI/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CountrySelectionUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Crc32/BUCK b/submodules/Crc32/BUCK
deleted file mode 100644
index 5380c8191d..0000000000
--- a/submodules/Crc32/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Crc32",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/CryptoUtils/BUCK b/submodules/CryptoUtils/BUCK
deleted file mode 100644
index 411184de09..0000000000
--- a/submodules/CryptoUtils/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CryptoUtils",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/Buffers/BUCK b/submodules/Database/Buffers/BUCK
deleted file mode 100644
index 9a4ddc96ff..0000000000
--- a/submodules/Database/Buffers/BUCK
+++ /dev/null
@@ -1,13 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Buffers",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/MessageHistoryMetadataTable/BUCK b/submodules/Database/MessageHistoryMetadataTable/BUCK
deleted file mode 100644
index cc4d7c555c..0000000000
--- a/submodules/Database/MessageHistoryMetadataTable/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MessageHistoryMetadataTable",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/Table:Table",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- "//submodules/Database/PostboxCoding:PostboxCoding",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/MessageHistoryReadStateTable/BUCK b/submodules/Database/MessageHistoryReadStateTable/BUCK
deleted file mode 100644
index 39fda20a59..0000000000
--- a/submodules/Database/MessageHistoryReadStateTable/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MessageHistoryReadStateTable",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/Table:Table",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/MurmurHash/BUCK b/submodules/Database/MurmurHash/BUCK
deleted file mode 100644
index 0879c6a67f..0000000000
--- a/submodules/Database/MurmurHash/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MurmurHash",
- srcs = glob([
- "Sources/**/*.swift",
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "Sources/**/*.h",
- ]),
- deps = [
- "//submodules/Database/MurmurHash/Impl:MurMurHashObjC",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/MurmurHash/Impl/BUCK b/submodules/Database/MurmurHash/Impl/BUCK
deleted file mode 100644
index d6c57bb02b..0000000000
--- a/submodules/Database/MurmurHash/Impl/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MurMurHashObjC",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Database/PeerTable/BUCK b/submodules/Database/PeerTable/BUCK
deleted file mode 100644
index b046daaa62..0000000000
--- a/submodules/Database/PeerTable/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeerTable",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/Table:Table",
- "//submodules/Database/PostboxCoding:PostboxCoding",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/PostboxCoding/BUCK b/submodules/Database/PostboxCoding/BUCK
deleted file mode 100644
index 585d78b981..0000000000
--- a/submodules/Database/PostboxCoding/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PostboxCoding",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/Buffers:Buffers",
- "//submodules/Database/MurmurHash:MurmurHash",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/PostboxDataTypes/BUCK b/submodules/Database/PostboxDataTypes/BUCK
deleted file mode 100644
index 837af3a0a7..0000000000
--- a/submodules/Database/PostboxDataTypes/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PostboxDataTypes",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/PostboxCoding:PostboxCoding",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/PreferencesTable/BUCK b/submodules/Database/PreferencesTable/BUCK
deleted file mode 100644
index 8da2151e7a..0000000000
--- a/submodules/Database/PreferencesTable/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PreferencesTable",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- "//submodules/Database/Table:Table",
- "//submodules/Database/PostboxCoding:PostboxCoding",
- "//submodules/Database/PostboxDataTypes:PostboxDataTypes",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/Table/BUCK b/submodules/Database/Table/BUCK
deleted file mode 100644
index fd0bf366e4..0000000000
--- a/submodules/Database/Table/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Table",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Database/ValueBox:ValueBox",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Database/ValueBox/BUCK b/submodules/Database/ValueBox/BUCK
deleted file mode 100644
index a12e9c0e07..0000000000
--- a/submodules/Database/ValueBox/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ValueBox",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/sqlcipher:sqlcipher",
- "//submodules/Database/Buffers:Buffers",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/DateSelectionUI/BUCK b/submodules/DateSelectionUI/BUCK
deleted file mode 100644
index a5a27f0595..0000000000
--- a/submodules/DateSelectionUI/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DateSelectionUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/DeleteChatPeerActionSheetItem/BUCK b/submodules/DeleteChatPeerActionSheetItem/BUCK
deleted file mode 100644
index 578a972961..0000000000
--- a/submodules/DeleteChatPeerActionSheetItem/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DeleteChatPeerActionSheetItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/DeviceAccess/BUCK b/submodules/DeviceAccess/BUCK
deleted file mode 100644
index 89cb4a25f6..0000000000
--- a/submodules/DeviceAccess/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DeviceAccess",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- ],
-)
diff --git a/submodules/DeviceLocationManager/BUCK b/submodules/DeviceLocationManager/BUCK
deleted file mode 100644
index 7bd20856a8..0000000000
--- a/submodules/DeviceLocationManager/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DeviceLocationManager",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- ],
-)
diff --git a/submodules/DeviceProximity/BUCK b/submodules/DeviceProximity/BUCK
deleted file mode 100644
index 94392f0568..0000000000
--- a/submodules/DeviceProximity/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DeviceProximity",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/DirectionalPanGesture/BUCK b/submodules/DirectionalPanGesture/BUCK
deleted file mode 100644
index c2ce482cf9..0000000000
--- a/submodules/DirectionalPanGesture/BUCK
+++ /dev/null
@@ -1,12 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "DirectionalPanGesture",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Display/BUCK b/submodules/Display/BUCK
deleted file mode 100644
index 6fb664021d..0000000000
--- a/submodules/Display/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "Display",
- srcs = glob([
- "Source/**/*.swift",
- ]),
- deps = [
- "//submodules/ObjCRuntimeUtils:ObjCRuntimeUtils",
- "//submodules/UIKitRuntimeUtils:UIKitRuntimeUtils",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AppBundle:AppBundle",
- "//submodules/Markdown:Markdown",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Emoji/BUCK b/submodules/Emoji/BUCK
deleted file mode 100644
index 35e87da39c..0000000000
--- a/submodules/Emoji/BUCK
+++ /dev/null
@@ -1,13 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Emoji",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreText.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/EncryptionKeyVisualization/BUCK b/submodules/EncryptionKeyVisualization/BUCK
deleted file mode 100644
index 72ecc6e1db..0000000000
--- a/submodules/EncryptionKeyVisualization/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "EncryptionKeyVisualization",
- srcs = glob([
- "Sources/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/EncryptionKeyVisualization/Impl:EncryptionKeyVisualizationImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/EncryptionKeyVisualization/Impl/BUCK b/submodules/EncryptionKeyVisualization/Impl/BUCK
deleted file mode 100644
index 19d1462ea0..0000000000
--- a/submodules/EncryptionKeyVisualization/Impl/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "EncryptionKeyVisualizationImpl",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/EncryptionProvider/BUCK b/submodules/EncryptionProvider/BUCK
deleted file mode 100644
index c99c089695..0000000000
--- a/submodules/EncryptionProvider/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "EncryptionProvider",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/FFMpegBinding/BUCK b/submodules/FFMpegBinding/BUCK
deleted file mode 100644
index b011e6c299..0000000000
--- a/submodules/FFMpegBinding/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "FFMpegBinding",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "Public/**/*.h",
- ]),
- deps = [
- "//submodules/ffmpeg:ffmpeg",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/FastBlur/BUCK b/submodules/FastBlur/BUCK
deleted file mode 100644
index 5e2cc7b602..0000000000
--- a/submodules/FastBlur/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "FastBlur",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/FileMediaResourceStatus/BUCK b/submodules/FileMediaResourceStatus/BUCK
deleted file mode 100644
index 1fa2f38081..0000000000
--- a/submodules/FileMediaResourceStatus/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "FileMediaResourceStatus",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/WebKit.framework",
- ],
-)
diff --git a/submodules/GZip/BUCK b/submodules/GZip/BUCK
deleted file mode 100644
index e15e4b1bd4..0000000000
--- a/submodules/GZip/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GZip",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "Sources/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/GalleryData/BUCK b/submodules/GalleryData/BUCK
deleted file mode 100644
index 34c899e95f..0000000000
--- a/submodules/GalleryData/BUCK
+++ /dev/null
@@ -1,31 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GalleryData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/InstantPageUI:InstantPageUI",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/PeerAvatarGalleryUI:PeerAvatarGalleryUI",
- "//submodules/MediaResources:MediaResources",
- "//submodules/WebsiteType:WebsiteType",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/QuickLook.framework",
- "$SDKROOT/System/Library/Frameworks/SafariServices.framework",
- ],
-)
diff --git a/submodules/GalleryUI/BUCK b/submodules/GalleryUI/BUCK
deleted file mode 100644
index 7b4130c6ab..0000000000
--- a/submodules/GalleryUI/BUCK
+++ /dev/null
@@ -1,36 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GalleryUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TextFormat:TextFormat",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
- "//submodules/WebsiteType:WebsiteType",
- "//submodules/ScreenCaptureDetection:ScreenCaptureDetection",
- "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
- "//submodules/ShareController:ShareController",
- "//submodules/SwipeToDismissGesture:SwipeToDismissGesture",
- "//submodules/CheckNode:CheckNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/QuickLook.framework",
- "$SDKROOT/System/Library/Frameworks/SafariServices.framework",
- ],
-)
diff --git a/submodules/GameUI/BUCK b/submodules/GameUI/BUCK
deleted file mode 100644
index 4c37fd8b55..0000000000
--- a/submodules/GameUI/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GameUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ShareController:ShareController",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/WebKit.framework",
- ],
-)
diff --git a/submodules/Geocoding/BUCK b/submodules/Geocoding/BUCK
deleted file mode 100644
index 3c03b57353..0000000000
--- a/submodules/Geocoding/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Geocoding",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- ],
-)
diff --git a/submodules/GlassButtonNode/BUCK b/submodules/GlassButtonNode/BUCK
deleted file mode 100644
index 4127cf308e..0000000000
--- a/submodules/GlassButtonNode/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GlassButtonNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/GraphCore/BUCK b/submodules/GraphCore/BUCK
deleted file mode 100644
index a43e82f354..0000000000
--- a/submodules/GraphCore/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GraphCore",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/GraphUI/BUCK b/submodules/GraphUI/BUCK
deleted file mode 100644
index f395853a92..0000000000
--- a/submodules/GraphUI/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GraphUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/AppBundle:AppBundle",
- "//submodules/GraphCore:GraphCore",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/GridMessageSelectionNode/BUCK b/submodules/GridMessageSelectionNode/BUCK
deleted file mode 100644
index 47bdff99c9..0000000000
--- a/submodules/GridMessageSelectionNode/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "GridMessageSelectionNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/CheckNode:CheckNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/HashtagSearchUI/BUCK b/submodules/HashtagSearchUI/BUCK
deleted file mode 100644
index 430c1f9319..0000000000
--- a/submodules/HashtagSearchUI/BUCK
+++ /dev/null
@@ -1,26 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "HashtagSearchUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramBaseController:TelegramBaseController",
- "//submodules/ChatListUI:ChatListUI",
- "//submodules/SegmentedControlNode:SegmentedControlNode",
- "//submodules/ListMessageItem:ListMessageItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/HexColor/BUCK b/submodules/HexColor/BUCK
deleted file mode 100644
index 2909a5aba5..0000000000
--- a/submodules/HexColor/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "HexColor",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TextFormat:TextFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/HorizontalPeerItem/BUCK b/submodules/HorizontalPeerItem/BUCK
deleted file mode 100644
index 20a7708257..0000000000
--- a/submodules/HorizontalPeerItem/BUCK
+++ /dev/null
@@ -1,26 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "HorizontalPeerItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/SelectablePeerNode:SelectablePeerNode",
- "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/ContextUI:ContextUI",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ImageBlur/BUCK b/submodules/ImageBlur/BUCK
deleted file mode 100644
index 092d53065b..0000000000
--- a/submodules/ImageBlur/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ImageBlur",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/FastBlur:FastBlur",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Accelerate.framework",
- ],
-)
diff --git a/submodules/ImageCompression/BUCK b/submodules/ImageCompression/BUCK
deleted file mode 100644
index 49136e92c4..0000000000
--- a/submodules/ImageCompression/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ImageCompression",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/MozjpegBinding:MozjpegBinding",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/ImageTransparency/BUCK b/submodules/ImageTransparency/BUCK
deleted file mode 100644
index 28d47290df..0000000000
--- a/submodules/ImageTransparency/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ImageTransparency",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/Accelerate.framework",
- ],
-)
diff --git a/submodules/InstantPageCache/BUCK b/submodules/InstantPageCache/BUCK
deleted file mode 100644
index 18ecb10b55..0000000000
--- a/submodules/InstantPageCache/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "InstantPageCache",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/PersistentStringHash:PersistentStringHash",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/InstantPageUI/BUCK b/submodules/InstantPageUI/BUCK
deleted file mode 100644
index 52ef2dc662..0000000000
--- a/submodules/InstantPageUI/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "InstantPageUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/MusicAlbumArtResources:MusicAlbumArtResources",
- "//submodules/LiveLocationPositionNode:LiveLocationPositionNode",
- "//submodules/MosaicLayout:MosaicLayout",
- "//submodules/LocationUI:LocationUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/LocationResources:LocationResources",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListAddressItem/BUCK b/submodules/ItemListAddressItem/BUCK
deleted file mode 100644
index ec8a651a03..0000000000
--- a/submodules/ItemListAddressItem/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListAddressItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TextFormat:TextFormat",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListAvatarAndNameInfoItem/BUCK b/submodules/ItemListAvatarAndNameInfoItem/BUCK
deleted file mode 100644
index 6dadb44c97..0000000000
--- a/submodules/ItemListAvatarAndNameInfoItem/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListAvatarAndNameInfoItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListPeerActionItem/BUCK b/submodules/ItemListPeerActionItem/BUCK
deleted file mode 100644
index 604dc5c10a..0000000000
--- a/submodules/ItemListPeerActionItem/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListPeerActionItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListPeerItem/BUCK b/submodules/ItemListPeerItem/BUCK
deleted file mode 100644
index ef054e0bec..0000000000
--- a/submodules/ItemListPeerItem/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListPeerItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ContextUI:ContextUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListStickerPackItem/BUCK b/submodules/ItemListStickerPackItem/BUCK
deleted file mode 100644
index 75bb09d26c..0000000000
--- a/submodules/ItemListStickerPackItem/BUCK
+++ /dev/null
@@ -1,26 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListStickerPackItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/StickerResources:StickerResources",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListUI/BUCK b/submodules/ItemListUI/BUCK
deleted file mode 100644
index 30e7128bb3..0000000000
--- a/submodules/ItemListUI/BUCK
+++ /dev/null
@@ -1,29 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/MergeLists:MergeLists",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
- "//submodules/SwitchNode:SwitchNode",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/CheckNode:CheckNode",
- "//submodules/SegmentedControlNode:SegmentedControlNode",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AnimationUI:AnimationUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ItemListVenueItem/BUCK b/submodules/ItemListVenueItem/BUCK
deleted file mode 100644
index c7570bcf89..0000000000
--- a/submodules/ItemListVenueItem/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ItemListVenueItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/LocationResources:LocationResources",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/JoinLinkPreviewUI/BUCK b/submodules/JoinLinkPreviewUI/BUCK
deleted file mode 100644
index 2871179be6..0000000000
--- a/submodules/JoinLinkPreviewUI/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "JoinLinkPreviewUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/ShareController:ShareController",
- "//submodules/SelectablePeerNode:SelectablePeerNode",
- "//submodules/PeerInfoUI:PeerInfoUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LanguageLinkPreviewUI/BUCK b/submodules/LanguageLinkPreviewUI/BUCK
deleted file mode 100644
index fae07dd0cc..0000000000
--- a/submodules/LanguageLinkPreviewUI/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LanguageLinkPreviewUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/ShareController:ShareController",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LanguageSuggestionUI/BUCK b/submodules/LanguageSuggestionUI/BUCK
deleted file mode 100644
index 2e76df58b8..0000000000
--- a/submodules/LanguageSuggestionUI/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LanguageSuggestionUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ActivityIndicator:ActivityIndicator",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LegacyComponents/BUCK b/submodules/LegacyComponents/BUCK
deleted file mode 100644
index 8e1dbc2173..0000000000
--- a/submodules/LegacyComponents/BUCK
+++ /dev/null
@@ -1,44 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-apple_resource(
- name = "LegacyComponentsResources",
- dirs = [
- "Resources/LegacyComponentsResources.bundle",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_asset_catalog(
- name = 'LegacyComponentsAssets',
- dirs = [
- "LegacyImages.xcassets",
- ],
- visibility = ["PUBLIC"],
-)
-
-static_library(
- name = "LegacyComponents",
- srcs = glob([
- "Sources/*.m",
- "Sources/*.mm",
- "Sources/*.c",
- "Sources/*.cpp",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
- weak_frameworks = [
- "Vision",
- ],
-)
diff --git a/submodules/LegacyDataImport/BUCK b/submodules/LegacyDataImport/BUCK
deleted file mode 100644
index 3ca8359f67..0000000000
--- a/submodules/LegacyDataImport/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LegacyDataImport",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyDataImport/Impl:LegacyDataImportImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LegacyDataImport/Impl/BUCK b/submodules/LegacyDataImport/Impl/BUCK
deleted file mode 100644
index 4ec9c8c66a..0000000000
--- a/submodules/LegacyDataImport/Impl/BUCK
+++ /dev/null
@@ -1,28 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LegacyDataImportImpl",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LegacyMediaPickerUI/BUCK b/submodules/LegacyMediaPickerUI/BUCK
deleted file mode 100644
index e1d07d37f2..0000000000
--- a/submodules/LegacyMediaPickerUI/BUCK
+++ /dev/null
@@ -1,32 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LegacyMediaPickerUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/MimeTypes:MimeTypes",
- "//submodules/LocalMediaResources:LocalMediaResources",
- "//submodules/SearchPeerMembers:SearchPeerMembers",
- "//submodules/SaveToCameraRoll:SaveToCameraRoll",
- "//submodules/LegacyMediaPickerUI/LegacyImageProcessors:LegacyImageProcessors",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/StickerResources:StickerResources",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LegacyMediaPickerUI/LegacyImageProcessors/BUCK b/submodules/LegacyMediaPickerUI/LegacyImageProcessors/BUCK
deleted file mode 100644
index ffaba87aaf..0000000000
--- a/submodules/LegacyMediaPickerUI/LegacyImageProcessors/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LegacyImageProcessors",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LegacyUI/BUCK b/submodules/LegacyUI/BUCK
deleted file mode 100644
index 9ad361eab1..0000000000
--- a/submodules/LegacyUI/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LegacyUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramAudio:TelegramAudio",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/StickerResources:StickerResources",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LightweightAccountData/BUCK b/submodules/LightweightAccountData/BUCK
deleted file mode 100644
index d74ce3fa82..0000000000
--- a/submodules/LightweightAccountData/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LightweightAccountData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/ListMessageItem/BUCK b/submodules/ListMessageItem/BUCK
deleted file mode 100644
index 64f9dd50e7..0000000000
--- a/submodules/ListMessageItem/BUCK
+++ /dev/null
@@ -1,36 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ListMessageItem",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TextFormat:TextFormat",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/UrlHandling:UrlHandling",
- "//submodules/UrlWhitelist:UrlWhitelist",
- "//submodules/WebsiteType:WebsiteType",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/SemanticStatusNode:SemanticStatusNode",
- "//submodules/MusicAlbumArtResources:MusicAlbumArtResources",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/ContextUI:ContextUI",
- "//submodules/FileMediaResourceStatus:FileMediaResourceStatus",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ListSectionHeaderNode/BUCK b/submodules/ListSectionHeaderNode/BUCK
deleted file mode 100644
index 25fbe0526c..0000000000
--- a/submodules/ListSectionHeaderNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ListSectionHeaderNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LiveLocationManager/BUCK b/submodules/LiveLocationManager/BUCK
deleted file mode 100644
index ac29a1feee..0000000000
--- a/submodules/LiveLocationManager/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LiveLocationManager",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/DeviceLocationManager:DeviceLocationManager",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- ],
-)
diff --git a/submodules/LiveLocationPositionNode/BUCK b/submodules/LiveLocationPositionNode/BUCK
deleted file mode 100644
index f3bb9e3c8b..0000000000
--- a/submodules/LiveLocationPositionNode/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LiveLocationPositionNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/LocationResources:LocationResources",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LiveLocationTimerNode/BUCK b/submodules/LiveLocationTimerNode/BUCK
deleted file mode 100644
index 90f16ad856..0000000000
--- a/submodules/LiveLocationTimerNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LiveLocationTimerNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/LocalAuth/BUCK b/submodules/LocalAuth/BUCK
deleted file mode 100644
index 7d9d8d639b..0000000000
--- a/submodules/LocalAuth/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LocalAuth",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/LocalAuthentication.framework",
- ],
-)
diff --git a/submodules/LocalMediaResources/BUCK b/submodules/LocalMediaResources/BUCK
deleted file mode 100644
index 12b32376f0..0000000000
--- a/submodules/LocalMediaResources/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LocalMediaResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/ImageCompression:ImageCompression",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
- weak_frameworks = [
- "Photos",
- ],
-)
diff --git a/submodules/LocalizedPeerData/BUCK b/submodules/LocalizedPeerData/BUCK
deleted file mode 100644
index 150c58a399..0000000000
--- a/submodules/LocalizedPeerData/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LocalizedPeerData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/LocationResources/BUCK b/submodules/LocationResources/BUCK
deleted file mode 100644
index be15ac9649..0000000000
--- a/submodules/LocationResources/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LocationResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/LocationUI/BUCK b/submodules/LocationUI/BUCK
deleted file mode 100644
index 3424f578b2..0000000000
--- a/submodules/LocationUI/BUCK
+++ /dev/null
@@ -1,49 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "LocationUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/ShareController:ShareController",
- "//submodules/AccountContext:AccountContext",
- "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/LocationResources:LocationResources",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/SegmentedControlNode:SegmentedControlNode",
- "//submodules/Geocoding:Geocoding",
- "//submodules/ItemListVenueItem:ItemListVenueItem",
- "//submodules/MergeLists:MergeLists",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/PersistentStringHash:PersistentStringHash",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/LiveLocationTimerNode:LiveLocationTimerNode",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/TooltipUI:TooltipUI",
- "//submodules/UndoUI:UndoUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/ManagedAnimationNode/BUCK b/submodules/ManagedAnimationNode/BUCK
deleted file mode 100644
index 932e9cbb9c..0000000000
--- a/submodules/ManagedAnimationNode/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ManagedAnimationNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/GZip:GZip",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/MapResourceToAvatarSizes/BUCK b/submodules/MapResourceToAvatarSizes/BUCK
deleted file mode 100644
index 42e165bed4..0000000000
--- a/submodules/MapResourceToAvatarSizes/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MapResourceToAvatarSizes",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Markdown/BUCK b/submodules/Markdown/BUCK
deleted file mode 100644
index 8b9ed246b4..0000000000
--- a/submodules/Markdown/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Markdown",
- srcs = glob([
- "Source/**/*.swift",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/MediaPlayer/BUCK b/submodules/MediaPlayer/BUCK
deleted file mode 100644
index e041921605..0000000000
--- a/submodules/MediaPlayer/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UniversalMediaPlayer",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramAudio:TelegramAudio",
- "//submodules/FFMpegBinding:FFMpegBinding",
- "//submodules/RingBuffer:RingBuffer",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MediaResources/BUCK b/submodules/MediaResources/BUCK
deleted file mode 100644
index 8635efccea..0000000000
--- a/submodules/MediaResources/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MediaResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/MergeLists/BUCK b/submodules/MergeLists/BUCK
deleted file mode 100644
index 813a560b49..0000000000
--- a/submodules/MergeLists/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MergeLists",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MessageReactionListUI/BUCK b/submodules/MessageReactionListUI/BUCK
deleted file mode 100644
index 3543f9575f..0000000000
--- a/submodules/MessageReactionListUI/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MessageReactionListUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/MergeLists:MergeLists",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/MimeTypes/BUCK b/submodules/MimeTypes/BUCK
deleted file mode 100644
index 50ea70b1fa..0000000000
--- a/submodules/MimeTypes/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MimeTypes",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MonotonicTime/BUCK b/submodules/MonotonicTime/BUCK
deleted file mode 100644
index efe65d52c5..0000000000
--- a/submodules/MonotonicTime/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MonotonicTime",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MosaicLayout/BUCK b/submodules/MosaicLayout/BUCK
deleted file mode 100644
index e28de70b95..0000000000
--- a/submodules/MosaicLayout/BUCK
+++ /dev/null
@@ -1,12 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MosaicLayout",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/MozjpegBinding/BUCK b/submodules/MozjpegBinding/BUCK
deleted file mode 100644
index 64759fab2b..0000000000
--- a/submodules/MozjpegBinding/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MozjpegBinding",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "Public/**/*.h",
- ]),
- deps = [
- "//third-party/mozjpeg:mozjpeg",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MtProtoKit/BUCK b/submodules/MtProtoKit/BUCK
deleted file mode 100644
index e7c782ef4e..0000000000
--- a/submodules/MtProtoKit/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "framework", "glob_map", "merge_maps")
-
-framework(
- name = "MtProtoKit",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- visibility = ["PUBLIC"],
- deps = [
- "//submodules/EncryptionProvider:EncryptionProvider",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/Security.framework",
- ],
-)
diff --git a/submodules/MurMurHash32/BUCK b/submodules/MurMurHash32/BUCK
deleted file mode 100644
index 970767e33a..0000000000
--- a/submodules/MurMurHash32/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MurMurHash32",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/MusicAlbumArtResources/BUCK b/submodules/MusicAlbumArtResources/BUCK
deleted file mode 100644
index 2fd400400c..0000000000
--- a/submodules/MusicAlbumArtResources/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "MusicAlbumArtResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/UrlEscaping:UrlEscaping",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/NetworkLogging/BUCK b/submodules/NetworkLogging/BUCK
deleted file mode 100644
index 4c1c68fe8b..0000000000
--- a/submodules/NetworkLogging/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NetworkLogging",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/MtProtoKit:MtProtoKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/NotificationMuteSettingsUI/BUCK b/submodules/NotificationMuteSettingsUI/BUCK
deleted file mode 100644
index bf51c73ceb..0000000000
--- a/submodules/NotificationMuteSettingsUI/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NotificationMuteSettingsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/NotificationSoundSelectionUI/BUCK b/submodules/NotificationSoundSelectionUI/BUCK
deleted file mode 100644
index 74a73a3abd..0000000000
--- a/submodules/NotificationSoundSelectionUI/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NotificationSoundSelectionUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/NotificationsPresentationData/BUCK b/submodules/NotificationsPresentationData/BUCK
deleted file mode 100644
index b58e009f65..0000000000
--- a/submodules/NotificationsPresentationData/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NotificationsPresentationData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/NumberPluralizationForm/BUCK b/submodules/NumberPluralizationForm/BUCK
deleted file mode 100644
index 53a8e7cd9f..0000000000
--- a/submodules/NumberPluralizationForm/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "NumberPluralizationForm",
- srcs = glob([
- "Sources/*.m",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/ObjCRuntimeUtils/BUCK b/submodules/ObjCRuntimeUtils/BUCK
deleted file mode 100644
index 5e8f8d4084..0000000000
--- a/submodules/ObjCRuntimeUtils/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ObjCRuntimeUtils",
- srcs = glob([
- "Source/ObjCRuntimeUtils/*.m",
- ]),
- exported_headers = glob([
- "Source/ObjCRuntimeUtils/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/OpenInExternalAppUI/BUCK b/submodules/OpenInExternalAppUI/BUCK
deleted file mode 100644
index a1dc0b605c..0000000000
--- a/submodules/OpenInExternalAppUI/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "OpenInExternalAppUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/UrlEscaping:UrlEscaping",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/OpenSSLEncryptionProvider/BUCK b/submodules/OpenSSLEncryptionProvider/BUCK
deleted file mode 100644
index 6c38b32dc0..0000000000
--- a/submodules/OpenSSLEncryptionProvider/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "OpenSSLEncryptionProvider",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/EncryptionProvider:EncryptionProvider",
- "//submodules/openssl:openssl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/OpusBinding/BUCK b/submodules/OpusBinding/BUCK
deleted file mode 100644
index 165c852e46..0000000000
--- a/submodules/OpusBinding/BUCK
+++ /dev/null
@@ -1,32 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "OpusBinding",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.c",
- ]),
- headers = {
- "ogg/ogg.h": "Sources/ogg/ogg.h",
- "ogg/os_types.h": "Sources/ogg/os_types.h",
- "OggOpusReader.h": "PublicHeaders/OpusBinding/OggOpusReader.h",
- "TGDataItem.h": "PublicHeaders/OpusBinding/TGDataItem.h",
- "TGOggOpusWriter.h": "PublicHeaders/OpusBinding/TGOggOpusWriter.h",
- "opusenc/diag_range.h": "Sources/opusenc/diag_range.h",
- "opusenc/opus_header.h": "Sources/opusenc/opus_header.h",
- "opusenc/picture.h": "Sources/opusenc/picture.h",
- "opusenc/wav_io.h": "Sources/opusenc/wav_io.h",
- "opusfile/internal.h": "Sources/opusfile/internal.h",
- "OpusBinding/opusfile.h": "Sources/opusfile/opusfile.h",
- },
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/Opus:opus",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/OverlayStatusController/BUCK b/submodules/OverlayStatusController/BUCK
deleted file mode 100644
index 4345130a54..0000000000
--- a/submodules/OverlayStatusController/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-apple_resource(
- name = "OverlayStatusControllerResources",
- files = glob([
- "Resources/**/*",
- ], exclude = ["Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-static_library(
- name = "OverlayStatusController",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/OverlayStatusController/Impl:OverlayStatusControllerImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/OverlayStatusController/Impl/BUCK b/submodules/OverlayStatusController/Impl/BUCK
deleted file mode 100644
index a6b891f28b..0000000000
--- a/submodules/OverlayStatusController/Impl/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "OverlayStatusControllerImpl",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- exported_headers = glob([
- "Sources/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PKCS/BUCK b/submodules/PKCS/BUCK
deleted file mode 100644
index e30546631f..0000000000
--- a/submodules/PKCS/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PKCS",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/openssl:openssl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/PasscodeInputFieldNode/BUCK b/submodules/PasscodeInputFieldNode/BUCK
deleted file mode 100644
index 980622a33b..0000000000
--- a/submodules/PasscodeInputFieldNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PasscodeInputFieldNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PasscodeUI/BUCK b/submodules/PasscodeUI/BUCK
deleted file mode 100644
index 4ef81d0bff..0000000000
--- a/submodules/PasscodeUI/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PasscodeUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/LocalAuth:LocalAuth",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PasscodeInputFieldNode:PasscodeInputFieldNode",
- "//submodules/MonotonicTime:MonotonicTime",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PassportUI/BUCK b/submodules/PassportUI/BUCK
deleted file mode 100644
index a6d147e4f9..0000000000
--- a/submodules/PassportUI/BUCK
+++ /dev/null
@@ -1,34 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PassportUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PhoneInputNode:PhoneInputNode",
- "//submodules/CountrySelectionUI:CountrySelectionUI",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/ImageCompression:ImageCompression",
- "//submodules/DateSelectionUI:DateSelectionUI",
- "//submodules/PasswordSetupUI:PasswordSetupUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/Markdown:Markdown",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PasswordSetupUI/BUCK b/submodules/PasswordSetupUI/BUCK
deleted file mode 100644
index d71e12400b..0000000000
--- a/submodules/PasswordSetupUI/BUCK
+++ /dev/null
@@ -1,51 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-apple_resource(
- name = "PasswordSetupUIResources",
- files = glob([
- "Resources/**/*",
- ], exclude = ["Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-apple_asset_catalog(
- name = "PasswordSetupUIAssets",
- dirs = [
- "PasswordSetupUIImages.xcassets",
- ],
- visibility = ["PUBLIC"],
-)
-
-static_library(
- name = "PasswordSetupUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/ManagedAnimationNode:ManagedAnimationNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreLocation.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/Pdf/BUCK b/submodules/Pdf/BUCK
deleted file mode 100644
index ee8b2ebc72..0000000000
--- a/submodules/Pdf/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Pdf",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PeerAvatarGalleryUI/BUCK b/submodules/PeerAvatarGalleryUI/BUCK
deleted file mode 100644
index e0a9dd6fcb..0000000000
--- a/submodules/PeerAvatarGalleryUI/BUCK
+++ /dev/null
@@ -1,36 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeerAvatarGalleryUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/ShareController:ShareController",
- "//submodules/AppBundle:AppBundle",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyMediaPickerUI:LegacyMediaPickerUI",
- "//submodules/SaveToCameraRoll:SaveToCameraRoll",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/QuickLook.framework",
- ],
- weak_frameworks = [
- "Photos",
- ],
-)
diff --git a/submodules/PeerInfoUI/BUCK b/submodules/PeerInfoUI/BUCK
deleted file mode 100644
index 1372054787..0000000000
--- a/submodules/PeerInfoUI/BUCK
+++ /dev/null
@@ -1,77 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeerInfoUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/ItemListAvatarAndNameInfoItem:ItemListAvatarAndNameInfoItem",
- "//submodules/UndoUI:UndoUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/SearchUI:SearchUI",
- "//submodules/MergeLists:MergeLists",
- "//submodules/TextFormat:TextFormat",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/ShareController:ShareController",
- "//submodules/WebSearchUI:WebSearchUI",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/ContactsPeerItem:ContactsPeerItem",
- "//submodules/PasswordSetupUI:PasswordSetupUI",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/TelegramPermissionsUI:TelegramPermissionsUI",
- "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/MediaResources:MediaResources",
- "//submodules/LocationResources:LocationResources",
- "//submodules/Geocoding:Geocoding",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LocationUI:LocationUI",
- "//submodules/StickerResources:StickerResources",
- "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
- "//submodules/PeerAvatarGalleryUI:PeerAvatarGalleryUI",
- "//submodules/Emoji:Emoji",
- "//submodules/ItemListStickerPackItem:ItemListStickerPackItem",
- "//submodules/NotificationMuteSettingsUI:NotificationMuteSettingsUI",
- "//submodules/SinglePhoneInputNode:SinglePhoneInputNode",
- "//submodules/MapResourceToAvatarSizes:MapResourceToAvatarSizes",
- "//submodules/NotificationSoundSelectionUI:NotificationSoundSelectionUI",
- "//submodules/EncryptionKeyVisualization:EncryptionKeyVisualization",
- "//submodules/ItemListAddressItem:ItemListAddressItem",
- "//submodules/ContactListUI:ContactListUI",
- "//submodules/ContextUI:ContextUI",
- "//submodules/AppBundle:AppBundle",
- "//submodules/Markdown:Markdown",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/TelegramIntents:TelegramIntents",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/StatisticsUI:StatisticsUI",
- "//submodules/ChatListFilterSettingsHeaderItem:ChatListFilterSettingsHeaderItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MessageUI.framework",
- "$SDKROOT/System/Library/Frameworks/WebKit.framework",
- "$SDKROOT/System/Library/Frameworks/SafariServices.framework",
- ],
-)
diff --git a/submodules/PeerOnlineMarkerNode/BUCK b/submodules/PeerOnlineMarkerNode/BUCK
deleted file mode 100644
index b66a884732..0000000000
--- a/submodules/PeerOnlineMarkerNode/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeerOnlineMarkerNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PeerPresenceStatusManager/BUCK b/submodules/PeerPresenceStatusManager/BUCK
deleted file mode 100644
index 9c0b44b7ea..0000000000
--- a/submodules/PeerPresenceStatusManager/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeerPresenceStatusManager",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/PeersNearbyIconNode/BUCK b/submodules/PeersNearbyIconNode/BUCK
deleted file mode 100644
index fc85af9a70..0000000000
--- a/submodules/PeersNearbyIconNode/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeersNearbyIconNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PeersNearbyUI/BUCK b/submodules/PeersNearbyUI/BUCK
deleted file mode 100644
index b8e216e8a7..0000000000
--- a/submodules/PeersNearbyUI/BUCK
+++ /dev/null
@@ -1,38 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PeersNearbyUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/DeviceLocationManager:DeviceLocationManager",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/TelegramPermissionsUI:TelegramPermissionsUI",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- "//submodules/PeersNearbyIconNode:PeersNearbyIconNode",
- "//submodules/Geocoding:Geocoding",
- "//submodules/AppBundle:AppBundle",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/TelegramNotices:TelegramNotices",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/PersistentStringHash/BUCK b/submodules/PersistentStringHash/BUCK
deleted file mode 100644
index 1774e12b5b..0000000000
--- a/submodules/PersistentStringHash/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PersistentStringHash",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/PhoneInputNode/BUCK b/submodules/PhoneInputNode/BUCK
deleted file mode 100644
index 0f44d274af..0000000000
--- a/submodules/PhoneInputNode/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PhoneInputNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/PhoneNumberFormat/BUCK b/submodules/PhoneNumberFormat/BUCK
deleted file mode 100644
index 29b61419da..0000000000
--- a/submodules/PhoneNumberFormat/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PhoneNumberFormat",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/libphonenumber:libphonenumber",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/PhotoResources/BUCK b/submodules/PhotoResources/BUCK
deleted file mode 100644
index 5cf1d06502..0000000000
--- a/submodules/PhotoResources/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PhotoResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/ImageTransparency:ImageTransparency",
- "//submodules/TinyThumbnail:TinyThumbnail",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/Tuples:Tuples",
- "//submodules/AccountContext:AccountContext",
- "//submodules/MediaResources:MediaResources",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/WebPBinding:WebPBinding",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/ImageIO.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/PlatformRestrictionMatching/BUCK b/submodules/PlatformRestrictionMatching/BUCK
deleted file mode 100644
index 61d8d39123..0000000000
--- a/submodules/PlatformRestrictionMatching/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PlatformRestrictionMatching",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Postbox/BUCK b/submodules/Postbox/BUCK
deleted file mode 100644
index cdfea7881a..0000000000
--- a/submodules/Postbox/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "Postbox",
- srcs = glob([
- "Sources/*.swift",
- ]),
- deps = [
- "//submodules/Crc32:Crc32",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/sqlcipher:sqlcipher",
- "//submodules/MurMurHash32:MurMurHash32",
- "//submodules/StringTransliteration:StringTransliteration",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/Security.framework",
- ],
-)
diff --git a/submodules/PresentationDataUtils/BUCK b/submodules/PresentationDataUtils/BUCK
deleted file mode 100644
index 84fa4c2fdc..0000000000
--- a/submodules/PresentationDataUtils/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "PresentationDataUtils",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AlertUI:AlertUI",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/UrlWhitelist:UrlWhitelist",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ProgressNavigationButtonNode/BUCK b/submodules/ProgressNavigationButtonNode/BUCK
deleted file mode 100644
index d4d1b91f29..0000000000
--- a/submodules/ProgressNavigationButtonNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ProgressNavigationButtonNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/ActivityIndicator:ActivityIndicator",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/QrCode/BUCK b/submodules/QrCode/BUCK
deleted file mode 100644
index 1661dd7beb..0000000000
--- a/submodules/QrCode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "QrCode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreImage.framework",
- ],
-)
diff --git a/submodules/RMIntro/BUCK b/submodules/RMIntro/BUCK
deleted file mode 100644
index b69acbdcdb..0000000000
--- a/submodules/RMIntro/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "RMIntro",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.c",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/RadialStatusNode/BUCK b/submodules/RadialStatusNode/BUCK
deleted file mode 100644
index c16bac1717..0000000000
--- a/submodules/RadialStatusNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "RadialStatusNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/RaiseToListen/BUCK b/submodules/RaiseToListen/BUCK
deleted file mode 100644
index ae88e727e0..0000000000
--- a/submodules/RaiseToListen/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "RaiseToListen",
- srcs = glob([
- "Sources/*.swift",
- ]),
- deps = [
- "//submodules/RaiseToListen/Impl:RaiseToListenImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/RaiseToListen/Impl/BUCK b/submodules/RaiseToListen/Impl/BUCK
deleted file mode 100644
index 93e01caeeb..0000000000
--- a/submodules/RaiseToListen/Impl/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "RaiseToListenImpl",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/DeviceProximity:DeviceProximity",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Reachability/BUCK b/submodules/Reachability/BUCK
deleted file mode 100644
index 341dbb890f..0000000000
--- a/submodules/Reachability/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Reachability",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/SystemConfiguration.framework",
- ],
-)
diff --git a/submodules/ReactionSelectionNode/BUCK b/submodules/ReactionSelectionNode/BUCK
deleted file mode 100644
index 2ba94127f9..0000000000
--- a/submodules/ReactionSelectionNode/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ReactionSelectionNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/RingBuffer/BUCK b/submodules/RingBuffer/BUCK
deleted file mode 100644
index 8896626f86..0000000000
--- a/submodules/RingBuffer/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "RingBuffer",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/SSignalKit/SSignalKit/BUCK b/submodules/SSignalKit/SSignalKit/BUCK
deleted file mode 100644
index 1fbeb1d9b4..0000000000
--- a/submodules/SSignalKit/SSignalKit/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SSignalKit",
- srcs = glob([
- "Source/SSignalKit/*.m",
- ]),
- exported_headers = glob([
- "Source/SSignalKit/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/SSignalKit/SwiftSignalKit/BUCK b/submodules/SSignalKit/SwiftSignalKit/BUCK
deleted file mode 100644
index b6e6e39b8c..0000000000
--- a/submodules/SSignalKit/SwiftSignalKit/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "SwiftSignalKit",
- srcs = glob([
- "Source/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/SaveToCameraRoll/BUCK b/submodules/SaveToCameraRoll/BUCK
deleted file mode 100644
index b75130a540..0000000000
--- a/submodules/SaveToCameraRoll/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SaveToCameraRoll",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/DeviceAccess:DeviceAccess",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework",
- ],
- weak_frameworks = [
- "Photos",
- ],
-)
diff --git a/submodules/ScreenCaptureDetection/BUCK b/submodules/ScreenCaptureDetection/BUCK
deleted file mode 100644
index 4a993a81a1..0000000000
--- a/submodules/ScreenCaptureDetection/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ScreenCaptureDetection",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SearchBarNode/BUCK b/submodules/SearchBarNode/BUCK
deleted file mode 100644
index b84e9214e4..0000000000
--- a/submodules/SearchBarNode/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SearchBarNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SearchPeerMembers/BUCK b/submodules/SearchPeerMembers/BUCK
deleted file mode 100644
index 5c92914c2f..0000000000
--- a/submodules/SearchPeerMembers/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SearchPeerMembers",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/SearchUI/BUCK b/submodules/SearchUI/BUCK
deleted file mode 100644
index ac67194edf..0000000000
--- a/submodules/SearchUI/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SearchUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SegmentedControlNode/BUCK b/submodules/SegmentedControlNode/BUCK
deleted file mode 100644
index f5b679832c..0000000000
--- a/submodules/SegmentedControlNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SegmentedControlNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SelectablePeerNode/BUCK b/submodules/SelectablePeerNode/BUCK
deleted file mode 100644
index c8179d3371..0000000000
--- a/submodules/SelectablePeerNode/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SelectablePeerNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/ContextUI:ContextUI",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SemanticStatusNode/BUCK b/submodules/SemanticStatusNode/BUCK
deleted file mode 100644
index f2874d0b0a..0000000000
--- a/submodules/SemanticStatusNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SemanticStatusNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Display:Display#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SettingsUI/BUCK b/submodules/SettingsUI/BUCK
deleted file mode 100644
index a60dc14f82..0000000000
--- a/submodules/SettingsUI/BUCK
+++ /dev/null
@@ -1,101 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SettingsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/CallListUI:CallListUI",
- "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/ChatListUI:ChatListUI",
- "//submodules/ContactsPeerItem:ContactsPeerItem",
- "//submodules/CountrySelectionUI:CountrySelectionUI",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/DeviceLocationManager:DeviceLocationManager",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/Geocoding:Geocoding",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/ItemListStickerPackItem:ItemListStickerPackItem",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- "//submodules/ItemListAvatarAndNameInfoItem:ItemListAvatarAndNameInfoItem",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/LegacyMediaPickerUI:LegacyMediaPickerUI",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/LocalMediaResources:LocalMediaResources",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/LocalAuth:LocalAuth",
- "//submodules/MapResourceToAvatarSizes:MapResourceToAvatarSizes",
- "//submodules/MediaResources:MediaResources",
- "//submodules/MergeLists:MergeLists",
- "//submodules/NotificationSoundSelectionUI:NotificationSoundSelectionUI",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/PasswordSetupUI:PasswordSetupUI",
- "//submodules/PassportUI:PassportUI",
- "//submodules/PasscodeUI:PasscodeUI",
- "//submodules/PeerAvatarGalleryUI:PeerAvatarGalleryUI",
- "//submodules/PhoneInputNode:PhoneInputNode",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/SearchUI:SearchUI",
- "//submodules/ShareController:ShareController",
- "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/TelegramCallsUI:TelegramCallsUI",
- "//submodules/TextFormat:TextFormat",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/UrlEscaping:UrlEscaping",
- "//submodules/WebSearchUI:WebSearchUI",
- "//submodules/UrlHandling:UrlHandling",
- "//submodules/HexColor:HexColor",
- "//submodules/QrCode:QrCode",
- "//submodules/WallpaperResources:WallpaperResources",
- "//submodules/AuthorizationUI:AuthorizationUI",
- "//submodules/InstantPageUI:InstantPageUI",
- "//submodules/CheckNode:CheckNode",
- "//submodules/CounterContollerTitleView:CounterContollerTitleView",
- "//submodules/GridMessageSelectionNode:GridMessageSelectionNode",
- "//submodules/InstantPageCache:InstantPageCache",
- "//submodules/AppBundle:AppBundle",
- "//submodules/ContextUI:ContextUI",
- #"//submodules/WalletUI:WalletUI",
- "//submodules/Markdown:Markdown",
- "//submodules/UndoUI:UndoUI",
- "//submodules/DeleteChatPeerActionSheetItem:DeleteChatPeerActionSheetItem",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
- "//submodules/AccountUtils:AccountUtils",
- "//submodules/AuthTransferUI:AuthTransferUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MessageUI.framework",
- "$SDKROOT/System/Library/Frameworks/LocalAuthentication.framework",
- "$SDKROOT/System/Library/Frameworks/QuickLook.framework",
- "$SDKROOT/System/Library/Frameworks/CoreTelephony.framework",
- ],
- weak_frameworks = [
- "Photos",
- ],
-)
diff --git a/submodules/ShareController/BUCK b/submodules/ShareController/BUCK
deleted file mode 100644
index 64238e15fe..0000000000
--- a/submodules/ShareController/BUCK
+++ /dev/null
@@ -1,33 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ShareController",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SaveToCameraRoll:SaveToCameraRoll",
- "//submodules/StickerResources:StickerResources",
- "//submodules/UrlEscaping:UrlEscaping",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/ActionSheetPeerItem:ActionSheetPeerItem",
- "//submodules/ChatListSearchRecentPeersNode:ChatListSearchRecentPeersNode",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/SelectablePeerNode:SelectablePeerNode",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/AppBundle:AppBundle",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/TelegramIntents:TelegramIntents",
- "//submodules/AccountContext:AccountContext",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ShareItems/BUCK b/submodules/ShareItems/BUCK
deleted file mode 100644
index 0787170e22..0000000000
--- a/submodules/ShareItems/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ShareItems",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LocalMediaResources:LocalMediaResources",
- "//submodules/Pdf:Pdf",
- "//submodules/AccountContext:AccountContext",
- "//submodules/MimeTypes:MimeTypes",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/ShareItems/Impl:ShareItemsImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/ShareItems/Impl/BUCK b/submodules/ShareItems/Impl/BUCK
deleted file mode 100644
index 54d762b8e8..0000000000
--- a/submodules/ShareItems/Impl/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ShareItemsImpl",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/MimeTypes:MimeTypes",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework",
- "$SDKROOT/System/Library/Frameworks/AddressBook.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- "$SDKROOT/System/Library/Frameworks/PassKit.framework",
- ],
-)
diff --git a/submodules/ShimmerEffect/BUCK b/submodules/ShimmerEffect/BUCK
deleted file mode 100644
index 0b768d1ef4..0000000000
--- a/submodules/ShimmerEffect/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "ShimmerEffect",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SinglePhoneInputNode/BUCK b/submodules/SinglePhoneInputNode/BUCK
deleted file mode 100644
index 6b4f664937..0000000000
--- a/submodules/SinglePhoneInputNode/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SinglePhoneInputNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SlotMachineAnimationNode/BUCK b/submodules/SlotMachineAnimationNode/BUCK
deleted file mode 100644
index 12c1e43148..0000000000
--- a/submodules/SlotMachineAnimationNode/BUCK
+++ /dev/null
@@ -1,26 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SlotMachineAnimationNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/StickerResources:StickerResources",
- "//submodules/ManagedAnimationNode:ManagedAnimationNode",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SolidRoundedButtonNode/BUCK b/submodules/SolidRoundedButtonNode/BUCK
deleted file mode 100644
index 3ef457d48d..0000000000
--- a/submodules/SolidRoundedButtonNode/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SolidRoundedButtonNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SpotlightSupport/BUCK b/submodules/SpotlightSupport/BUCK
deleted file mode 100644
index abda309429..0000000000
--- a/submodules/SpotlightSupport/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "SpotlightSupport",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/CoreSpotlight.framework",
- ],
-)
diff --git a/submodules/StatisticsUI/BUCK b/submodules/StatisticsUI/BUCK
deleted file mode 100644
index 82d042bcb2..0000000000
--- a/submodules/StatisticsUI/BUCK
+++ /dev/null
@@ -1,35 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "StatisticsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/MergeLists:MergeLists",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/GraphCore:GraphCore",
- "//submodules/GraphUI:GraphUI",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/StickerPackPreviewUI/BUCK b/submodules/StickerPackPreviewUI/BUCK
deleted file mode 100644
index b24e205b94..0000000000
--- a/submodules/StickerPackPreviewUI/BUCK
+++ /dev/null
@@ -1,34 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "StickerPackPreviewUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/ShareController:ShareController",
- "//submodules/StickerResources:StickerResources",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TextFormat:TextFormat",
- "//submodules/MergeLists:MergeLists",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/ArchivedStickerPacksNotice:ArchivedStickerPacksNotice",
- "//submodules/ShimmerEffect:ShimmerEffect",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/StickerResources/BUCK b/submodules/StickerResources/BUCK
deleted file mode 100644
index d832be586d..0000000000
--- a/submodules/StickerResources/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "StickerResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/Tuples:Tuples",
- "//submodules/MediaResources:MediaResources",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/WebPBinding:WebPBinding",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/StringPluralization/BUCK b/submodules/StringPluralization/BUCK
deleted file mode 100644
index 74014a41d7..0000000000
--- a/submodules/StringPluralization/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "StringPluralization",
- srcs = glob([
- "Sources/**/*.swift",
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "Sources/*.h",
- ]),
- deps = [
- "//submodules/AppBundle:AppBundle",
- "//submodules/NumberPluralizationForm:NumberPluralizationForm",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/StringTransliteration/BUCK b/submodules/StringTransliteration/BUCK
deleted file mode 100644
index a1ce2b1f75..0000000000
--- a/submodules/StringTransliteration/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "StringTransliteration",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Stripe/BUCK b/submodules/Stripe/BUCK
deleted file mode 100644
index d2fcfd3501..0000000000
--- a/submodules/Stripe/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Stripe",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Sunrise/BUCK b/submodules/Sunrise/BUCK
deleted file mode 100644
index 9c9d4a0fce..0000000000
--- a/submodules/Sunrise/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Sunrise",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/Svg/BUCK b/submodules/Svg/BUCK
deleted file mode 100644
index a3a62ebc99..0000000000
--- a/submodules/Svg/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Svg",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.mm",
- "Sources/**/*.c",
- "Sources/**/*.cpp",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
-)
diff --git a/submodules/SwipeToDismissGesture/BUCK b/submodules/SwipeToDismissGesture/BUCK
deleted file mode 100644
index 301beb14e2..0000000000
--- a/submodules/SwipeToDismissGesture/BUCK
+++ /dev/null
@@ -1,12 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SwipeToDismissGesture",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SwitchNode/BUCK b/submodules/SwitchNode/BUCK
deleted file mode 100644
index bf28484904..0000000000
--- a/submodules/SwitchNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "SwitchNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/LegacyComponents:LegacyComponents",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/SyncCore/BUCK b/submodules/SyncCore/BUCK
deleted file mode 100644
index 7236134381..0000000000
--- a/submodules/SyncCore/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "SyncCore",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramAnimatedStickerNode/BUCK b/submodules/TelegramAnimatedStickerNode/BUCK
deleted file mode 100644
index efb6000d45..0000000000
--- a/submodules/TelegramAnimatedStickerNode/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramAnimatedStickerNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/StickerResources:StickerResources",
- "//submodules/MediaResources:MediaResources",
- "//submodules/Tuples:Tuples",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/YuvConversion:YuvConversion",
- "//submodules/GZip:GZip",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/MobileCoreServices.framework",
- ],
-)
diff --git a/submodules/TelegramApi/BUCK b/submodules/TelegramApi/BUCK
deleted file mode 100644
index 31294125b4..0000000000
--- a/submodules/TelegramApi/BUCK
+++ /dev/null
@@ -1,13 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "TelegramApi",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramAudio/BUCK b/submodules/TelegramAudio/BUCK
deleted file mode 100644
index cbe05806ce..0000000000
--- a/submodules/TelegramAudio/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramAudio",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramBaseController/BUCK b/submodules/TelegramBaseController/BUCK
deleted file mode 100644
index 330f4ac86a..0000000000
--- a/submodules/TelegramBaseController/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramBaseController",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/LiveLocationTimerNode:LiveLocationTimerNode",
- "//submodules/AccountContext:AccountContext",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/Markdown:Markdown",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramCallsUI/BUCK b/submodules/TelegramCallsUI/BUCK
deleted file mode 100644
index 618ee191c6..0000000000
--- a/submodules/TelegramCallsUI/BUCK
+++ /dev/null
@@ -1,31 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramCallsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/TelegramAudio:TelegramAudio",
- "//submodules/TelegramVoip:TelegramVoip",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TelegramCallsUI/CallsEmoji:CallsEmoji",
- "//submodules/SemanticStatusNode:SemanticStatusNode",
- "//submodules/TooltipUI:TooltipUI",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramCallsUI/CallsEmoji/BUCK b/submodules/TelegramCallsUI/CallsEmoji/BUCK
deleted file mode 100644
index 7ccbc5c193..0000000000
--- a/submodules/TelegramCallsUI/CallsEmoji/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "CallsEmoji",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramCore/BUCK b/submodules/TelegramCore/BUCK
deleted file mode 100644
index c54f8b3bd5..0000000000
--- a/submodules/TelegramCore/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-framework(
- name = "TelegramCore",
- srcs = glob([
- "Sources/*.swift",
- ]),
- deps = [
- "//submodules/TelegramApi:TelegramApi#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/CloudData:CloudData",
- "//submodules/EncryptionProvider:EncryptionProvider",
- "//submodules/CryptoUtils:CryptoUtils",
- "//submodules/NetworkLogging:NetworkLogging",
- "//submodules/Reachability:Reachability",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramIntents/BUCK b/submodules/TelegramIntents/BUCK
deleted file mode 100644
index 0c6544dc69..0000000000
--- a/submodules/TelegramIntents/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramIntents",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AvatarNode:AvatarNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
- weak_frameworks = [
- "Intents",
- ],
-)
diff --git a/submodules/TelegramNotices/BUCK b/submodules/TelegramNotices/BUCK
deleted file mode 100644
index 7341e6b408..0000000000
--- a/submodules/TelegramNotices/BUCK
+++ /dev/null
@@ -1,16 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramNotices",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramPermissions:TelegramPermissions",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramPermissions/BUCK b/submodules/TelegramPermissions/BUCK
deleted file mode 100644
index f7f575af60..0000000000
--- a/submodules/TelegramPermissions/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramPermissions",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/DeviceAccess:DeviceAccess",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramPermissionsUI/BUCK b/submodules/TelegramPermissionsUI/BUCK
deleted file mode 100644
index 291a9e9997..0000000000
--- a/submodules/TelegramPermissionsUI/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramPermissionsUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/TelegramPermissions:TelegramPermissions",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/PeersNearbyIconNode:PeersNearbyIconNode",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramPresentationData/BUCK b/submodules/TelegramPresentationData/BUCK
deleted file mode 100644
index 9d32fb134e..0000000000
--- a/submodules/TelegramPresentationData/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramPresentationData",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/Display:Display#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/MediaResources:MediaResources",
- "//submodules/AppBundle:AppBundle",
- "//submodules/StringPluralization:StringPluralization",
- "//submodules/Sunrise:Sunrise",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramStringFormatting/BUCK b/submodules/TelegramStringFormatting/BUCK
deleted file mode 100644
index 8d7de8961a..0000000000
--- a/submodules/TelegramStringFormatting/BUCK
+++ /dev/null
@@ -1,25 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramStringFormatting",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/Display:Display#shared",
- "//submodules/PlatformRestrictionMatching:PlatformRestrictionMatching",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/MapKit.framework",
- ],
-)
diff --git a/submodules/TelegramUI/BUCK b/submodules/TelegramUI/BUCK
deleted file mode 100644
index 8831168ba1..0000000000
--- a/submodules/TelegramUI/BUCK
+++ /dev/null
@@ -1,231 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "framework")
-
-apple_asset_catalog(
- name = 'TelegramUIAssets',
- dirs = [
- "Images.xcassets",
- ],
- visibility = ["PUBLIC"],
-)
-
-apple_resource(
- name = "TelegramUIResources",
- files = glob([
- "Sounds/**/*",
- "Resources/**/*",
- ], exclude = ["Sounds/**/.*", "Resources/**/.*"]),
- visibility = ["PUBLIC"],
-)
-
-framework(
- name = "TelegramUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/TgVoip:TgVoip",
- "//submodules/lottie-ios:Lottie",
- "//submodules/FFMpegBinding:FFMpegBinding",
- "//submodules/WebPBinding:WebPBinding",
- "//submodules/RMIntro:RMIntro",
- "//submodules/GZip:GZip",
- "//submodules/TelegramCallsUI:TelegramCallsUI",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/TelegramVoip:TelegramVoip",
- "//submodules/DeviceAccess:DeviceAccess",
- "//submodules/WatchCommon/Host:WatchCommon",
- "//submodules/LightweightAccountData:LightweightAccountData",
- "//submodules/BuildConfig:BuildConfig",
- "//submodules/BuildConfigExtra:BuildConfigExtra",
- "//submodules/rlottie:RLottieBinding",
- "//submodules/TelegramUpdateUI:TelegramUpdateUI",
- "//submodules/MergeLists:MergeLists",
- "//submodules/ActivityIndicator:ActivityIndicator",
- "//submodules/ProgressNavigationButtonNode:ProgressNavigationButtonNode",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/TelegramBaseController:TelegramBaseController",
- "//submodules/DeviceLocationManager:DeviceLocationManager",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/OverlayStatusController:OverlayStatusController",
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/LiveLocationManager:LiveLocationManager",
- "//submodules/LiveLocationTimerNode:LiveLocationTimerNode",
- "//submodules/TemporaryCachedPeerDataManager:TemporaryCachedPeerDataManager",
- "//submodules/ShareController:ShareController",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/PeerOnlineMarkerNode:PeerOnlineMarkerNode",
- "//submodules/PeerPresenceStatusManager:PeerPresenceStatusManager",
- "//submodules/ChatListSearchRecentPeersNode:ChatListSearchRecentPeersNode",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/ContextUI:ContextUI",
- "//submodules/MediaResources:MediaResources",
- "//submodules/TelegramAudio:TelegramAudio",
- "//submodules/UrlEscaping:UrlEscaping",
- "//submodules/Tuples:Tuples",
- "//submodules/TextFormat:TextFormat",
- "//submodules/SwitchNode:SwitchNode",
- "//submodules/StickerResources:StickerResources",
- "//submodules/SelectablePeerNode:SelectablePeerNode",
- "//submodules/SaveToCameraRoll:SaveToCameraRoll",
- "//submodules/LocalizedPeerData:LocalizedPeerData",
- "//submodules/ListSectionHeaderNode:ListSectionHeaderNode",
- "//submodules/HorizontalPeerItem:HorizontalPeerItem",
- "//submodules/CheckNode:CheckNode",
- "//submodules/AnimationUI:AnimationUI",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/ActionSheetPeerItem:ActionSheetPeerItem",
- "//submodules/AccountContext:AccountContext",
- "//submodules/ComposePollUI:ComposePollUI",
- "//submodules/AlertUI:AlertUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- "//submodules/TouchDownGesture:TouchDownGesture",
- "//submodules/SwipeToDismissGesture:SwipeToDismissGesture",
- "//submodules/DirectionalPanGesture:DirectionalPanGesture",
- "//submodules/UndoUI:UndoUI",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/TinyThumbnail:TinyThumbnail",
- "//submodules/ImageTransparency:ImageTransparency",
- "//submodules/TelegramNotices:TelegramNotices",
- "//submodules/TelegramPermissions:TelegramPermissions",
- "//submodules/GameUI:GameUI",
- "//submodules/WebUI:WebUI",
- "//submodules/PassportUI:PassportUI",
- "//submodules/PhoneInputNode:PhoneInputNode",
- "//submodules/CountrySelectionUI:CountrySelectionUI",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
- "//submodules/WebsiteType:WebsiteType",
- "//submodules/ScreenCaptureDetection:ScreenCaptureDetection",
- "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/ImageCompression:ImageCompression",
- "//submodules/DateSelectionUI:DateSelectionUI",
- "//submodules/PasswordSetupUI:PasswordSetupUI",
- "//submodules/Pdf:Pdf",
- "//submodules/InstantPageUI:InstantPageUI",
- "//submodules/MusicAlbumArtResources:MusicAlbumArtResources",
- "//submodules/LiveLocationPositionNode:LiveLocationPositionNode",
- "//submodules/MosaicLayout:MosaicLayout",
- "//submodules/LocationUI:LocationUI",
- "//submodules/Stripe:Stripe",
- "//submodules/BotPaymentsUI:BotPaymentsUI",
- "//submodules/LocalAuth:LocalAuth",
- "//submodules/ContactListUI:ContactListUI",
- "//submodules/SearchUI:SearchUI",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/ItemListPeerItem:ItemListPeerItem",
- "//submodules/ContactsPeerItem:ContactsPeerItem",
- "//submodules/ChatListSearchItemNode:ChatListSearchItemNode",
- "//submodules/TelegramPermissionsUI:TelegramPermissionsUI",
- "//submodules/PeersNearbyIconNode:PeersNearbyIconNode",
- "//submodules/SolidRoundedButtonNode:SolidRoundedButtonNode",
- "//submodules/PasscodeUI:PasscodeUI",
- "//submodules/CallListUI:CallListUI",
- "//submodules/ChatListUI:ChatListUI",
- "//submodules/ChatTitleActivityNode:ChatTitleActivityNode",
- "//submodules/DeleteChatPeerActionSheetItem:DeleteChatPeerActionSheetItem",
- "//submodules/LanguageSuggestionUI:LanguageSuggestionUI",
- "//submodules/TextSelectionNode:TextSelectionNode",
- "//submodules/PlatformRestrictionMatching:PlatformRestrictionMatching",
- "//submodules/HashtagSearchUI:HashtagSearchUI",
- "//submodules/ItemListAvatarAndNameInfoItem:ItemListAvatarAndNameInfoItem",
- "//submodules/ItemListPeerActionItem:ItemListPeerActionItem",
- "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
- "//submodules/YuvConversion:YuvConversion",
- "//submodules/JoinLinkPreviewUI:JoinLinkPreviewUI",
- "//submodules/LanguageLinkPreviewUI:LanguageLinkPreviewUI",
- "//submodules/WebSearchUI:WebSearchUI",
- "//submodules/LegacyMediaPickerUI:LegacyMediaPickerUI",
- "//submodules/MimeTypes:MimeTypes",
- "//submodules/LocalMediaResources:LocalMediaResources",
- "//submodules/PeersNearbyUI:PeersNearbyUI",
- "//submodules/Geocoding:Geocoding",
- "//submodules/PeerInfoUI:PeerInfoUI",
- "//submodules/PeerAvatarGalleryUI:PeerAvatarGalleryUI",
- "//submodules/Emoji:Emoji",
- "//submodules/ItemListStickerPackItem:ItemListStickerPackItem",
- "//submodules/NotificationMuteSettingsUI:NotificationMuteSettingsUI",
- "//submodules/SinglePhoneInputNode:SinglePhoneInputNode",
- "//submodules/MapResourceToAvatarSizes:MapResourceToAvatarSizes",
- "//submodules/NotificationSoundSelectionUI:NotificationSoundSelectionUI",
- "//submodules/EncryptionKeyVisualization:EncryptionKeyVisualization",
- "//submodules/ItemListAddressItem:ItemListAddressItem",
- "//submodules/DeviceProximity:DeviceProximity",
- "//submodules/RaiseToListen:RaiseToListen",
- "//submodules/OpusBinding:OpusBinding",
- "//submodules/Opus:opus",
- "//submodules/WatchBridgeAudio:WatchBridgeAudio",
- "//submodules/WatchBridge:WatchBridge",
- "//submodules/LegacyDataImport:LegacyDataImport",
- "//submodules/ShareItems:ShareItems",
- "//submodules/ReactionSelectionNode:ReactionSelectionNode",
- "//submodules/SettingsUI:SettingsUI",
- "//submodules/UrlHandling:UrlHandling",
- "//submodules/HexColor:HexColor",
- "//submodules/QrCode:QrCode",
- "//submodules/WallpaperResources:WallpaperResources",
- "//submodules/AuthorizationUI:AuthorizationUI",
- "//submodules/CounterContollerTitleView:CounterContollerTitleView",
- "//submodules/GridMessageSelectionNode:GridMessageSelectionNode",
- "//submodules/InstantPageCache:InstantPageCache",
- "//submodules/PersistentStringHash:PersistentStringHash",
- "//submodules/MessageReactionListUI:MessageReactionListUI",
- "//submodules/SegmentedControlNode:SegmentedControlNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/Markdown:Markdown",
- "//submodules/SearchPeerMembers:SearchPeerMembers",
- "//submodules/WidgetItems:WidgetItems",
- "//submodules/OpenSSLEncryptionProvider:OpenSSLEncryptionProvider",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/AppLock:AppLock",
- "//submodules/NotificationsPresentationData:NotificationsPresentationData",
- "//submodules/UrlWhitelist:UrlWhitelist",
- "//submodules/TelegramIntents:TelegramIntents",
- "//submodules/LocationResources:LocationResources",
- "//submodules/ItemListVenueItem:ItemListVenueItem",
- "//submodules/SemanticStatusNode:SemanticStatusNode",
- "//submodules/AccountUtils:AccountUtils",
- "//submodules/Svg:Svg",
- "//submodules/StatisticsUI:StatisticsUI",
- "//submodules/ManagedAnimationNode:ManagedAnimationNode",
- "//submodules/TooltipUI:TooltipUI",
- "//submodules/AuthTransferUI:AuthTransferUI",
- "//submodules/ListMessageItem:ListMessageItem",
- "//submodules/FileMediaResourceStatus:FileMediaResourceStatus",
- "//submodules/ChatMessageInteractiveMediaBadge:ChatMessageInteractiveMediaBadge",
- "//submodules/GalleryData:GalleryData",
- "//submodules/ChatInterfaceState:ChatInterfaceState",
- "//submodules/AnimatedCountLabelNode:AnimatedCountLabelNode",
- "//submodules/AnimatedAvatarSetNode:AnimatedAvatarSetNode",
- "//submodules/SlotMachineAnimationNode:SlotMachineAnimationNode",
- "//submodules/AnimatedNavigationStripeNode:AnimatedNavigationStripeNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreAudio.framework",
- "$SDKROOT/System/Library/Frameworks/WebKit.framework",
- ],
- weak_frameworks = [
- "Vision",
- "PushKit",
- "CallKit",
- "PassKit",
- "Contacts",
- "Intents",
- ],
-)
diff --git a/submodules/TelegramUIPreferences/BUCK b/submodules/TelegramUIPreferences/BUCK
deleted file mode 100644
index a74fe185d2..0000000000
--- a/submodules/TelegramUIPreferences/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramUIPreferences",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TelegramUniversalVideoContent/BUCK b/submodules/TelegramUniversalVideoContent/BUCK
deleted file mode 100644
index e8c9d6e379..0000000000
--- a/submodules/TelegramUniversalVideoContent/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramUniversalVideoContent",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/MediaPlayer:UniversalMediaPlayer",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/AppBundle:AppBundle",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramUpdateUI/BUCK b/submodules/TelegramUpdateUI/BUCK
deleted file mode 100644
index 0d8ad6cce8..0000000000
--- a/submodules/TelegramUpdateUI/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramUpdateUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TelegramVoip/BUCK b/submodules/TelegramVoip/BUCK
deleted file mode 100644
index 9868b8dfa1..0000000000
--- a/submodules/TelegramVoip/BUCK
+++ /dev/null
@@ -1,20 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TelegramVoip",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/TgVoip:TgVoip",
- "//submodules/TgVoipWebrtc:TgVoipWebrtc",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TemporaryCachedPeerDataManager/BUCK b/submodules/TemporaryCachedPeerDataManager/BUCK
deleted file mode 100644
index ee728d71c6..0000000000
--- a/submodules/TemporaryCachedPeerDataManager/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TemporaryCachedPeerDataManager",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramStringFormatting:TelegramStringFormatting",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TextFormat/BUCK b/submodules/TextFormat/BUCK
deleted file mode 100644
index a5feabed0b..0000000000
--- a/submodules/TextFormat/BUCK
+++ /dev/null
@@ -1,18 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TextFormat",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/Markdown:Markdown",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TextSelectionNode/BUCK b/submodules/TextSelectionNode/BUCK
deleted file mode 100644
index 55ad79a53c..0000000000
--- a/submodules/TextSelectionNode/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TextSelectionNode",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TgVoip/BUCK b/submodules/TgVoip/BUCK
deleted file mode 100644
index 4b42a4b211..0000000000
--- a/submodules/TgVoip/BUCK
+++ /dev/null
@@ -1,107 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "glob_map", "glob_sub_map", "merge_maps")
-
-replace_symbols = [
- "WebRtcAgc_Process",
- "rtc_FatalMessage",
- "WebRtcAgc_UpdateAgcThresholds",
- "WebRtcAgc_Init",
- "WebRtcAgc_GetAddFarendError",
- "WebRtcAgc_ZeroCtrl",
- "WebRtcAgc_SaturationCtrl",
- "WebRtcAgc_SpeakerInactiveCtrl",
- "WebRtcAgc_ProcessAnalog",
- "WebRtcAgc_set_config",
- "WebRtcAgc_get_config",
- "WebRtcAgc_ExpCurve",
- "WebRtcAgc_Create",
- "WebRtcAgc_Free",
- "WebRtcAgc_AddFarend",
- "WebRtcAgc_VirtualMic",
- "WebRtcAgc_AddMic",
- "WebRtcAgc_InitDigital",
- "WebRtcAgc_AddFarendToDigital",
- "WebRtcAgc_CalculateGainTable",
- "WebRtcAgc_InitVad",
- "WebRtcAgc_ProcessVad",
- "rtc",
- "webrtc",
-]
-
-shared_compiler_flags = [
- "-DTGVOIP_INCLUDE_OPUS_PACKAGE",
-] + ["-D{symbol}={symbol}1".format(symbol=symbol) for symbol in replace_symbols]
-
-static_library(
- name = "TgVoip",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.mm",
- "Sources/**/*.h",
- "libtgvoip/*.m",
- "libtgvoip/*.mm",
- "libtgvoip/*.cpp",
- "libtgvoip/audio/*.cpp",
- "libtgvoip/video/*.cpp",
- "libtgvoip/os/darwin/*.m",
- "libtgvoip/os/darwin/*.mm",
- "libtgvoip/os/darwin/*.cpp",
- "libtgvoip/os/posix/*.cpp",
- "libtgvoip/webrtc_dsp/**/*.c",
- "libtgvoip/webrtc_dsp/**/*.cc",
- "libtgvoip/webrtc_dsp/**/*.cpp",
- ], exclude = ["libtgvoip/os/darwin/*OSX*"]),
- has_cpp = True,
- headers = merge_maps([
- glob_sub_map("libtgvoip/", [
- "libtgvoip/*.h",
- "libtgvoip/*.hpp",
- "libtgvoip/audio/*.h",
- "libtgvoip/audio/*.hpp",
- "libtgvoip/video/*.h",
- "libtgvoip/video/*.hpp",
- ]),
- glob_sub_map("libtgvoip/", [
- "libtgvoip/os/darwin/*.h",
- ], exclude = ["libtgvoip/os/darwin/*OSX*"]),
- glob_sub_map("libtgvoip/webrtc_dsp/", [
- "libtgvoip/webrtc_dsp/**/*.h",
- ]),
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- platform_compiler_flags = [
- ('arm.*', [
- '-DTGVOIP_USE_CUSTOM_CRYPTO',
- '-DTGVOIP_USE_INSTALLED_OPUS',
- '-DWEBRTC_APM_DEBUG_DUMP=0',
- '-DWEBRTC_POSIX',
- '-DTGVOIP_HAVE_TGLOG',
- '-DWEBRTC_NS_FLOAT',
- '-DWEBRTC_IOS',
- '-DWEBRTC_HAS_NEON',
- ] + shared_compiler_flags),
- ('.*', [
- '-DTGVOIP_USE_CUSTOM_CRYPTO',
- '-DTGVOIP_USE_INSTALLED_OPUS',
- '-DWEBRTC_APM_DEBUG_DUMP=0',
- '-DWEBRTC_POSIX',
- '-DTGVOIP_HAVE_TGLOG',
- '-DWEBRTC_NS_FLOAT',
- '-DWEBRTC_IOS',
- ] + shared_compiler_flags),
- ],
- deps = [
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/Opus:opus",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/AudioToolbox.framework",
- "$SDKROOT/System/Library/Frameworks/VideoToolbox.framework",
- "$SDKROOT/System/Library/Frameworks/CoreTelephony.framework",
- "$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
\ No newline at end of file
diff --git a/submodules/TgVoipWebrtc/BUCK b/submodules/TgVoipWebrtc/BUCK
deleted file mode 100644
index 4b2e1816ca..0000000000
--- a/submodules/TgVoipWebrtc/BUCK
+++ /dev/null
@@ -1,65 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "glob_map", "glob_sub_map", "merge_maps")
-
-webrtc_include_prefix = "-I../../" if native.read_config("custom", "mode") == "project" else "-I"
-
-static_library(
- name = "TgVoipWebrtc",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.mm",
- "tgcalls/tgcalls/**/*.cpp",
- "tgcalls/tgcalls/**/*.mm",
- "tgcalls/tgcalls/**/*.m",
- ], exclude = [
- "tgcalls/tgcalls/legacy/**",
- "tgcalls/tgcalls/platform/tdesktop/**",
- "tgcalls/tgcalls/platform/windows/**",
- "tgcalls/tgcalls/platform/android/**",
- "tgcalls/tgcalls/platform/darwin/VideoCameraCapturerMac.*",
- "tgcalls/tgcalls/platform/darwin/VideoMetalViewMac.*",
- "tgcalls/tgcalls/platform/darwin/GLVideoViewMac.*",
- "tgcalls/tgcalls/platform/darwin/ScreenCapturer.*",
- ]),
- has_cpp = True,
- headers = merge_maps([
- glob_sub_map("PublicHeaders/", [
- "PublicHeaders/**/*.h",
- ]),
- glob_sub_map("tgcalls/tgcalls/", [
- "tgcalls/tgcalls/**/*.h",
- ]),
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- compiler_flags = [
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/third_party/abseil-cpp",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/sdk/objc",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/sdk/objc/base",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/sdk/objc/components/renderer/metal",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/sdk/objc/components/renderer/opengl",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/sdk/objc/components/video_codec",
- webrtc_include_prefix + "third-party/webrtc/webrtc-ios/src/third_party/libyuv/include",
- webrtc_include_prefix + "third-party/submodules/TgVoipWebrtc/PublicHeaders",
- "-DWEBRTC_IOS",
- "-DWEBRTC_MAC",
- "-DWEBRTC_POSIX",
- "-DRTC_ENABLE_VP9",
- ],
- deps = [
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/Opus:opus",
- "//submodules/openssl:openssl",
- "//third-party/webrtc:webrtc_lib",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/AudioToolbox.framework",
- "$SDKROOT/System/Library/Frameworks/VideoToolbox.framework",
- "$SDKROOT/System/Library/Frameworks/CoreTelephony.framework",
- "$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/TinyThumbnail/BUCK b/submodules/TinyThumbnail/BUCK
deleted file mode 100644
index e472166ecd..0000000000
--- a/submodules/TinyThumbnail/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TinyThumbnail",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TonBinding/BUCK b/submodules/TonBinding/BUCK
deleted file mode 100644
index 07e0b121d2..0000000000
--- a/submodules/TonBinding/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TonBinding",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.mm",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "Sources/**/*.h",
- ]),
- visibility = ["PUBLIC"],
- deps = [
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/openssl:openssl",
- "//submodules/ton:ton",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/TooltipUI/BUCK b/submodules/TooltipUI/BUCK
deleted file mode 100644
index ee83e7145d..0000000000
--- a/submodules/TooltipUI/BUCK
+++ /dev/null
@@ -1,23 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TooltipUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AppBundle:AppBundle",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/TextFormat:TextFormat",
- "//submodules/UrlEscaping:UrlEscaping",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/TouchDownGesture/BUCK b/submodules/TouchDownGesture/BUCK
deleted file mode 100644
index f5bba578ab..0000000000
--- a/submodules/TouchDownGesture/BUCK
+++ /dev/null
@@ -1,12 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "TouchDownGesture",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/Tuples/BUCK b/submodules/Tuples/BUCK
deleted file mode 100644
index b2ffac741a..0000000000
--- a/submodules/Tuples/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "Tuples",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/UIKitRuntimeUtils/BUCK b/submodules/UIKitRuntimeUtils/BUCK
deleted file mode 100644
index 5438bad157..0000000000
--- a/submodules/UIKitRuntimeUtils/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UIKitRuntimeUtils",
- srcs = glob([
- "Source/UIKitRuntimeUtils/*.m",
- ]),
- exported_headers = glob([
- "Source/UIKitRuntimeUtils/*.h",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/ObjCRuntimeUtils:ObjCRuntimeUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/UndoUI/BUCK b/submodules/UndoUI/BUCK
deleted file mode 100644
index 43cf11da9a..0000000000
--- a/submodules/UndoUI/BUCK
+++ /dev/null
@@ -1,30 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UndoUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TextFormat:TextFormat",
- "//submodules/Markdown:Markdown",
- "//submodules/RadialStatusNode:RadialStatusNode",
- "//submodules/AnimationUI:AnimationUI",
- "//submodules/AnimatedStickerNode:AnimatedStickerNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/StickerResources:StickerResources",
- "//submodules/TelegramAnimatedStickerNode:TelegramAnimatedStickerNode",
- "//submodules/SlotMachineAnimationNode:SlotMachineAnimationNode",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/UrlEscaping/BUCK b/submodules/UrlEscaping/BUCK
deleted file mode 100644
index 541c96168a..0000000000
--- a/submodules/UrlEscaping/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UrlEscaping",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/UrlHandling/BUCK b/submodules/UrlHandling/BUCK
deleted file mode 100644
index faa86f1b36..0000000000
--- a/submodules/UrlHandling/BUCK
+++ /dev/null
@@ -1,22 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UrlHandling",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/MtProtoKit:MtProtoKit#shared",
- "//submodules/AccountContext:AccountContext",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/WalletUrl:WalletUrl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/UrlWhitelist/BUCK b/submodules/UrlWhitelist/BUCK
deleted file mode 100644
index 870382826f..0000000000
--- a/submodules/UrlWhitelist/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "UrlWhitelist",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/WallpaperResources/BUCK b/submodules/WallpaperResources/BUCK
deleted file mode 100644
index c1aa1769d7..0000000000
--- a/submodules/WallpaperResources/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WallpaperResources",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/LocalMediaResources:LocalMediaResources",
- "//submodules/TinyThumbnail:TinyThumbnail",
- "//submodules/ImageBlur:ImageBlur",
- "//submodules/MediaResources:MediaResources",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/PersistentStringHash:PersistentStringHash",
- "//submodules/AppBundle:AppBundle",
- "//submodules/Svg:Svg",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/WatchBridge/BUCK b/submodules/WatchBridge/BUCK
deleted file mode 100644
index 43887ef484..0000000000
--- a/submodules/WatchBridge/BUCK
+++ /dev/null
@@ -1,32 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchBridge",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/WatchCommon/Host:WatchCommon",
- "//submodules/WatchBridgeAudio:WatchBridgeAudio",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/StickerResources:StickerResources",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- "//submodules/WatchBridge/Impl:WatchBridgeImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/WatchConnectivity.framework",
- ],
-)
diff --git a/submodules/WatchBridge/Impl/BUCK b/submodules/WatchBridge/Impl/BUCK
deleted file mode 100644
index 0fffa19506..0000000000
--- a/submodules/WatchBridge/Impl/BUCK
+++ /dev/null
@@ -1,38 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchBridgeImpl",
- srcs = glob([
- "Sources/**/*.swift",
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/WatchCommon/Host:WatchCommon",
- "//submodules/WatchBridgeAudio:WatchBridgeAudio",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/AccountContext:AccountContext",
- "//submodules/AvatarNode:AvatarNode",
- "//submodules/StickerResources:StickerResources",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/LegacyUI:LegacyUI",
- "//submodules/PhoneNumberFormat:PhoneNumberFormat",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/WatchConnectivity.framework",
- ],
-)
diff --git a/submodules/WatchBridgeAudio/BUCK b/submodules/WatchBridgeAudio/BUCK
deleted file mode 100644
index c344d50cd6..0000000000
--- a/submodules/WatchBridgeAudio/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchBridgeAudio",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/WatchBridgeAudio/Impl:WatchBridgeAudioImpl",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- "$SDKROOT/System/Library/Frameworks/AudioToolbox.framework",
- ],
-)
diff --git a/submodules/WatchBridgeAudio/Impl/BUCK b/submodules/WatchBridgeAudio/Impl/BUCK
deleted file mode 100644
index 68519a7f3e..0000000000
--- a/submodules/WatchBridgeAudio/Impl/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchBridgeAudioImpl",
- srcs = glob([
- "Sources/**/*.m",
- "Sources/**/*.mm",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//submodules/SSignalKit/SSignalKit:SSignalKit",
- "//submodules/OpusBinding:OpusBinding",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- "$SDKROOT/System/Library/Frameworks/AudioToolbox.framework",
- ],
-)
diff --git a/submodules/WatchCommon/BUCK b/submodules/WatchCommon/BUCK
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/submodules/WatchCommon/Host/BUCK b/submodules/WatchCommon/Host/BUCK
deleted file mode 100644
index 56fb1a1683..0000000000
--- a/submodules/WatchCommon/Host/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchCommon",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/WatchCommon/Watch/BUCK b/submodules/WatchCommon/Watch/BUCK
deleted file mode 100644
index 77c74a57f5..0000000000
--- a/submodules/WatchCommon/Watch/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WatchCommonWatch",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ], exclude = ["Sources/WatchCommon.h", "Sources/WatchCommon.h"]),
- exported_headers = glob([
- "Sources/*.h",
- ], exclude = ["Sources/WatchCommon.h", "Sources/WatchCommon.h"]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/WebPBinding/BUCK b/submodules/WebPBinding/BUCK
deleted file mode 100644
index dc0c69e62d..0000000000
--- a/submodules/WebPBinding/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "framework")
-
-static_library(
- name = "WebPBinding",
- srcs = glob([
- "Sources/**/*.m",
- ]),
- headers = glob([
- "Sources/**/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- "//third-party/webp:webp",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/WebSearchUI/BUCK b/submodules/WebSearchUI/BUCK
deleted file mode 100644
index 53ad3af445..0000000000
--- a/submodules/WebSearchUI/BUCK
+++ /dev/null
@@ -1,37 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WebSearchUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- "//submodules/Postbox:Postbox#shared",
- "//submodules/TelegramCore:TelegramCore#shared",
- "//submodules/SyncCore:SyncCore#shared",
- "//submodules/TelegramPresentationData:TelegramPresentationData",
- "//submodules/AccountContext:AccountContext",
- "//submodules/LegacyComponents:LegacyComponents",
- "//submodules/TelegramUIPreferences:TelegramUIPreferences",
- "//submodules/MergeLists:MergeLists",
- "//submodules/GalleryUI:GalleryUI",
- "//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
- "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
- "//submodules/CheckNode:CheckNode",
- "//submodules/PhotoResources:PhotoResources",
- "//submodules/SearchBarNode:SearchBarNode",
- "//submodules/ItemListUI:ItemListUI",
- "//submodules/LegacyMediaPickerUI:LegacyMediaPickerUI",
- "//submodules/SegmentedControlNode:SegmentedControlNode",
- "//submodules/AppBundle:AppBundle",
- "//submodules/PresentationDataUtils:PresentationDataUtils",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/QuickLook.framework",
- ],
-)
diff --git a/submodules/WebUI/BUCK b/submodules/WebUI/BUCK
deleted file mode 100644
index 73067e9373..0000000000
--- a/submodules/WebUI/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WebUI",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/AsyncDisplayKit:AsyncDisplayKit#shared",
- "//submodules/Display:Display#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/WebKit.framework",
- ],
-)
diff --git a/submodules/WebsiteType/BUCK b/submodules/WebsiteType/BUCK
deleted file mode 100644
index 7c8ecfbdd2..0000000000
--- a/submodules/WebsiteType/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WebsiteType",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- deps = [
- "//submodules/SyncCore:SyncCore#shared",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/WidgetItems/BUCK b/submodules/WidgetItems/BUCK
deleted file mode 100644
index 5a23f7b104..0000000000
--- a/submodules/WidgetItems/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "WidgetItems",
- srcs = glob([
- "Sources/**/*.swift",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/YuvConversion/BUCK b/submodules/YuvConversion/BUCK
deleted file mode 100644
index 2d4675cff4..0000000000
--- a/submodules/YuvConversion/BUCK
+++ /dev/null
@@ -1,15 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "YuvConversion",
- srcs = glob([
- "Sources/*.m",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/Accelerate.framework",
- ],
-)
diff --git a/submodules/ffmpeg/BUCK b/submodules/ffmpeg/BUCK
deleted file mode 100644
index 67e9c161eb..0000000000
--- a/submodules/ffmpeg/BUCK
+++ /dev/null
@@ -1,180 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "gen_header_targets", "merge_maps")
-
-ffmpeg_header_paths = [
- "libavutil/hwcontext.h",
- "libavutil/time.h",
- "libavutil/hwcontext_cuda.h",
- "libavutil/intfloat.h",
- "libavutil/error.h",
- "libavutil/fifo.h",
- "libavutil/blowfish.h",
- "libavutil/hwcontext_mediacodec.h",
- "libavutil/replaygain.h",
- "libavutil/version.h",
- "libavutil/murmur3.h",
- "libavutil/stereo3d.h",
- "libavutil/samplefmt.h",
- "libavutil/pixdesc.h",
- "libavutil/base64.h",
- "libavutil/rational.h",
- "libavutil/sha.h",
- "libavutil/motion_vector.h",
- "libavutil/avconfig.h",
- "libavutil/lfg.h",
- "libavutil/avutil.h",
- "libavutil/xtea.h",
- "libavutil/crc.h",
- "libavutil/hwcontext_vdpau.h",
- "libavutil/frame.h",
- "libavutil/file.h",
- "libavutil/md5.h",
- "libavutil/cast5.h",
- "libavutil/hwcontext_vaapi.h",
- "libavutil/spherical.h",
- "libavutil/ffversion.h",
- "libavutil/audio_fifo.h",
- "libavutil/tree.h",
- "libavutil/threadmessage.h",
- "libavutil/attributes.h",
- "libavutil/adler32.h",
- "libavutil/hwcontext_d3d11va.h",
- "libavutil/timecode.h",
- "libavutil/sha512.h",
- "libavutil/hwcontext_dxva2.h",
- "libavutil/display.h",
- "libavutil/buffer.h",
- "libavutil/camellia.h",
- "libavutil/pixelutils.h",
- "libavutil/hwcontext_drm.h",
- "libavutil/common.h",
- "libavutil/hmac.h",
- "libavutil/eval.h",
- "libavutil/dict.h",
- "libavutil/random_seed.h",
- "libavutil/opt.h",
- "libavutil/mastering_display_metadata.h",
- "libavutil/log.h",
- "libavutil/aes.h",
- "libavutil/macros.h",
- "libavutil/bswap.h",
- "libavutil/rc4.h",
- "libavutil/tea.h",
- "libavutil/cpu.h",
- "libavutil/lzo.h",
- "libavutil/des.h",
- "libavutil/channel_layout.h",
- "libavutil/encryption_info.h",
- "libavutil/twofish.h",
- "libavutil/imgutils.h",
- "libavutil/hwcontext_videotoolbox.h",
- "libavutil/mem.h",
- "libavutil/parseutils.h",
- "libavutil/ripemd.h",
- "libavutil/bprint.h",
- "libavutil/hwcontext_qsv.h",
- "libavutil/pixfmt.h",
- "libavutil/aes_ctr.h",
- "libavutil/timestamp.h",
- "libavutil/downmix_info.h",
- "libavutil/avassert.h",
- "libavutil/hash.h",
- "libavutil/mathematics.h",
- "libavutil/intreadwrite.h",
- "libavutil/avstring.h",
- "libavformat/version.h",
- "libavformat/avio.h",
- "libavformat/avformat.h",
- "libavcodec/adts_parser.h",
- "libavcodec/avcodec.h",
- "libavcodec/version.h",
- "libavcodec/vdpau.h",
- "libavcodec/qsv.h",
- "libavcodec/vaapi.h",
- "libavcodec/videotoolbox.h",
- "libavcodec/xvmc.h",
- "libavcodec/mediacodec.h",
- "libavcodec/d3d11va.h",
- "libavcodec/avfft.h",
- "libavcodec/jni.h",
- "libavcodec/dirac.h",
- "libavcodec/avdct.h",
- "libavcodec/ac3_parser.h",
- "libavcodec/vorbis_parser.h",
- "libavcodec/dxva2.h",
- "libavcodec/dv_profile.h",
- "libswresample/version.h",
- "libswresample/swresample.h",
-]
-
-library_archs = "arm64 armv7 x86_64"
-
-genrule(
- name = "libffmpeg_build",
- srcs = glob([
- "Sources/FFMpeg/**/*",
- ], exclude = ["Sources/FFMpeg/**/.*"]),
- bash =
- "PATH=\"$PATH:$(location //third-party/yasm:yasm)/yasm-1.3.0/build\" " +
- "$SRCDIR/Sources/FFMpeg/build-ffmpeg-buck.sh release \"" + library_archs + "\" $OUT $SRCDIR/Sources/FFMpeg",
- out = "libffmpeg",
- visibility = [
- "//submodules/ffmpeg:FFMpeg",
- "//submodules/ffmpeg:libffmpeg",
- ]
-)
-
-ffmpeg_header_targets = gen_header_targets(ffmpeg_header_paths, "ffmpeg_header_", "", "libffmpeg_build", "FFmpeg-iOS/include")
-
-apple_library(
- name = "libffmpeg",
- visibility = [
- "//submodules/ffmpeg:FFMpeg"
- ],
- header_namespace = "ffmpeg",
- exported_headers = ffmpeg_header_targets,
- linker_flags = [
- "-L$(location :libffmpeg_build)/FFmpeg-iOS/lib",
- "-lavutil",
- "-lavcodec",
- "-lavformat",
- "-lswresample",
- "-lbz2",
- "-liconv",
- "-lz",
- ],
- exported_linker_flags = [
- "-L$(location :libffmpeg_build)/FFmpeg-iOS/lib",
- "-lavutil",
- "-lavcodec",
- "-lavformat",
- "-lswresample",
- "-lbz2",
- "-liconv",
- "-lz",
- ],
- deps = [
- ":libffmpeg_build",
- "//submodules/Opus:opus",
- ],
-)
-
-static_library(
- name = "ffmpeg",
- exported_headers = merge_maps([
- {
- "ffmpeg/ffmpeg.h": "PublicHeaders/ffmpeg/ffmpeg.h",
- },
- ffmpeg_header_targets,
- ]),
- deps = [
- ":libffmpeg_build",
- ":libffmpeg",
- "//submodules/Opus:opus",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- "$SDKROOT/System/Library/Frameworks/CoreMedia.framework",
- "$SDKROOT/System/Library/Frameworks/AVFoundation.framework",
- ],
-)
diff --git a/submodules/ffmpeg/Sources/FFMpeg/build-ffmpeg-buck.sh b/submodules/ffmpeg/Sources/FFMpeg/build-ffmpeg-buck.sh
deleted file mode 100755
index cc7f8a753b..0000000000
--- a/submodules/ffmpeg/Sources/FFMpeg/build-ffmpeg-buck.sh
+++ /dev/null
@@ -1,230 +0,0 @@
-#!/bin/sh
-
-RAW_ARCHS="$2"
-ARCHS=""
-
-for RAW_ARCH in $RAW_ARCHS; do
- ARCH_NAME="$RAW_ARCH"
- if [ "$ARCH_NAME" == "iphoneos-arm64" ]; then
- ARCH_NAME="arm64"
- elif [ "$ARCH_NAME" == "iphoneos-armv7" ]; then
- ARCH_NAME="armv7"
- elif [ "$ARCH_NAME" == "iphonesimulator-x86_64" ]; then
- ARCH_NAME="x86_64"
- elif [ "$ARCH_NAME" == "iphonesimulator-i386" ]; then
- ARCH_NAME="i386"
- fi
-
- if [ "$ARCH_NAME" = "i386" -o "$ARCH_NAME" = "x86_64" -o "$ARCH_NAME" = "arm64" -o "$ARCH_NAME" = "armv7" ]
- then
- ARCHS="$ARCHS $ARCH_NAME"
- else
- echo "Invalid architecture $ARCH"
- exit 1
- fi
-done
-
-BUILD_DIR=$3
-SOURCE_DIR=$4
-
-FF_VERSION="4.1"
-SOURCE="$SOURCE_DIR/ffmpeg-$FF_VERSION"
-
-GAS_PREPROCESSOR_PATH="$SOURCE_DIR/gas-preprocessor.pl"
-
-FAT="$BUILD_DIR/FFmpeg-iOS"
-
-SCRATCH="$BUILD_DIR/scratch"
-THIN="$BUILD_DIR/thin"
-
-PKG_CONFIG="$SOURCE_DIR/pkg-config"
-
-export PATH="$SOURCE_DIR:$PATH"
-
-LIB_NAMES="libavcodec libavformat libavutil libswresample"
-
-set -e
-
-CONFIGURE_FLAGS="--enable-cross-compile --disable-programs \
- --disable-armv5te --disable-armv6 --disable-armv6t2 \
- --disable-doc --enable-pic --disable-all --disable-everything \
- --enable-avcodec \
- --enable-swresample \
- --enable-avformat \
- --disable-xlib \
- --enable-libopus \
- --enable-audiotoolbox \
- --enable-bsf=aac_adtstoasc \
- --enable-decoder=h264,hevc,libopus,mp3_at,aac,flac,alac_at,pcm_s16le,pcm_s24le,gsm_ms_at \
- --enable-demuxer=aac,mov,m4v,mp3,ogg,libopus,flac,wav,aiff,matroska \
- --enable-parser=aac,h264,mp3,libopus \
- --enable-protocol=file \
- --enable-muxer=mp4 \
- "
-
-
-#--enable-hwaccel=h264_videotoolbox,hevc_videotoolbox \
-
-if [ "$1" = "debug" ];
-then
- CONFIGURE_FLAGS="$CONFIGURE_FLAGS --disable-optimizations --disable-stripping"
-elif [ "$1" = "release" ];
-then
- CONFIGURE_FLAGS="$CONFIGURE_FLAGS --disable-debug"
-else
- echo "No configuration specified (debug / release)"
- exit 1
-fi
-
-COMPILE="y"
-
-DEPLOYMENT_TARGET="8.0"
-
-LIBS_HASH=""
-for ARCH in $ARCHS
-do
- for LIB_NAME in $LIB_NAMES
- do
- LIB="$SCRATCH/$ARCH/$LIB_NAME/$LIB_NAME.a"
- if [ -e "$LIB" ]
- then
- LIB_DATE=`crc32 "$LIB"`
- LIBS_HASH="$LIBS_HASH $ARCH/$LIB:$LIB_DATE"
- fi
- done
-done
-
-if [ "$COMPILE" ]
-then
- if [ ! `which yasm` ]; then
- echo 'Yasm not found'
- exit 1
- fi
- if [ ! `which pkg-config` ]; then
- echo 'pkg-config not found'
- exit 1
- else
- echo "PATH=$PATH"
- echo "pkg-config=$(which pkg-config)"
- fi
- if [ ! `which "$GAS_PREPROCESSOR_PATH"` ]; then
- echo '$GAS_PREPROCESSOR_PATH not found.'
- exit 1
- fi
-
- if [ ! -r $SOURCE ]; then
- echo "FFmpeg source not found at $SOURCE"
- exit 1
- fi
-
- CWD="$BUILD_DIR"
- for ARCH in $ARCHS
- do
- echo "building $ARCH..."
- mkdir -p "$SCRATCH/$ARCH"
- cd "$SCRATCH/$ARCH"
-
- LIBOPUS_PATH="$SOURCE_DIR/libopus"
-
- CFLAGS="-arch $ARCH"
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]
- then
- PLATFORM="iPhoneSimulator"
- CFLAGS="$CFLAGS -mios-simulator-version-min=$DEPLOYMENT_TARGET"
- else
- PLATFORM="iPhoneOS"
- CFLAGS="$CFLAGS -mios-version-min=$DEPLOYMENT_TARGET"
- if [ "$ARCH" = "arm64" ]
- then
- EXPORT="GASPP_FIX_XCODE5=1"
- fi
- fi
-
- XCRUN_SDK=`echo $PLATFORM | tr '[:upper:]' '[:lower:]'`
- CC="xcrun -sdk $XCRUN_SDK clang"
-
- if [ "$ARCH" = "arm64" ]
- then
- AS="$GAS_PREPROCESSOR_PATH -arch aarch64 -- $CC"
- else
- AS="$GAS_PREPROCESSOR_PATH -- $CC"
- fi
-
- CXXFLAGS="$CFLAGS"
- LDFLAGS="$CFLAGS"
-
- CONFIGURED_MARKER="$THIN/$ARCH/configured_marker"
- CONFIGURED_MARKER_CONTENTS=""
- if [ -r "$CONFIGURED_MARKER" ]
- then
- CONFIGURED_MARKER_CONTENTS=`cat "$CONFIGURED_MARKER"`
- fi
- if [ "$CONFIGURED_MARKER_CONTENTS" = "$CONFIGURE_FLAGS" ]
- then
- echo "1" >/dev/null
- else
- mkdir -p "$THIN/$ARCH"
- TMPDIR=${TMPDIR/%\/} "$SOURCE/configure" \
- --target-os=darwin \
- --arch=$ARCH \
- --cc="$CC" \
- --as="$AS" \
- $CONFIGURE_FLAGS \
- --extra-cflags="$CFLAGS" \
- --extra-ldflags="$LDFLAGS" \
- --prefix="$THIN/$ARCH" \
- --pkg-config="$PKG_CONFIG" \
- --pkg-config-flags="--libopus_path $LIBOPUS_PATH" \
- || exit 1
- echo "$CONFIGURE_FLAGS" > "$CONFIGURED_MARKER"
- fi
-
- CORE_COUNT=`sysctl -n hw.logicalcpu`
- make -j$CORE_COUNT install $EXPORT || exit 1
- cd "$CWD"
- done
-fi
-
-UPDATED_LIBS_HASH=""
-for ARCH in $ARCHS
-do
- for LIB_NAME in $LIB_NAMES
- do
- LIB="$SCRATCH/$ARCH/$LIB_NAME/$LIB_NAME.a"
- if [ -e "$LIB" ]
- then
- LIB_DATE=`crc32 "$LIB"`
- UPDATED_LIBS_HASH="$UPDATED_LIBS_HASH $ARCH/$LIB:$LIB_DATE"
- fi
- done
-done
-
-if [ "$UPDATED_LIBS_HASH" = "$LIBS_HASH" ]
-then
- echo "Libs aren't changed, skipping lipo"
-else
- echo "UPDATED_LIBS_HASH=$UPDATED_LIBS_HASH"
- echo "LIBS_HASH=$LIBS_HASH"
- LIPO="y"
-fi
-
-if [ "$LIPO" ]
-then
- echo "building fat binaries..."
- mkdir -p "$FAT"/lib
- set - $ARCHS
- CWD="$BUILD_DIR"
- cd "$THIN/$1/lib"
- for LIB in *.a
- do
- cd "$CWD"
- echo lipo -create `find "$THIN" -name "$LIB"` -output "$FAT/lib/$LIB" 1>&2
- LIPO_INPUT=`find "$THIN" -name "$LIB"`
- lipo -create $LIPO_INPUT -output "$FAT/lib/$LIB" || exit 1
- done
-
- cd "$CWD"
- cp -rf "$THIN/$1/include" "$FAT"
-fi
-
-echo Done
diff --git a/submodules/libphonenumber/BUCK b/submodules/libphonenumber/BUCK
deleted file mode 100644
index 2bf07e7f10..0000000000
--- a/submodules/libphonenumber/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "libphonenumber",
- srcs = glob([
- "Sources/*.m",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/submodules/lottie-ios/BUCK b/submodules/lottie-ios/BUCK
deleted file mode 100644
index 18430670c3..0000000000
--- a/submodules/lottie-ios/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-private_headers = glob([
- "lottie-ios/**/*.h",
-], exclude = [
- "lottie-ios/Classes/PublicHeaders/**/*.h",
-])
-
-static_library(
- name = "Lottie",
- srcs = glob([
- "lottie-ios/**/*.m",
- ]),
- headers = private_headers,
- exported_headers = glob([
- "lottie-ios/Classes/PublicHeaders/**/*.h",
- ]),
- deps = [
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/openssl/BUCK b/submodules/openssl/BUCK
deleted file mode 100644
index 5d87cd095d..0000000000
--- a/submodules/openssl/BUCK
+++ /dev/null
@@ -1,179 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "gen_header_targets")
-
-openssl_headers = [
- "aes.h",
- "asn1.h",
- "asn1_mac.h",
- "asn1err.h",
- "asn1t.h",
- "async.h",
- "asyncerr.h",
- "bio.h",
- "bioerr.h",
- "blowfish.h",
- "bn.h",
- "bnerr.h",
- "buffer.h",
- "buffererr.h",
- "camellia.h",
- "cast.h",
- "cmac.h",
- "cms.h",
- "cmserr.h",
- "comp.h",
- "comperr.h",
- "conf.h",
- "conf_api.h",
- "conferr.h",
- "crypto.h",
- "cryptoerr.h",
- "ct.h",
- "cterr.h",
- "des.h",
- "dh.h",
- "dherr.h",
- "dsa.h",
- "dsaerr.h",
- "dtls1.h",
- "e_os2.h",
- "ebcdic.h",
- "ec.h",
- "ecdh.h",
- "ecdsa.h",
- "ecerr.h",
- "engine.h",
- "engineerr.h",
- "err.h",
- "evp.h",
- "evperr.h",
- "hmac.h",
- "idea.h",
- "kdf.h",
- "kdferr.h",
- "lhash.h",
- "md2.h",
- "md4.h",
- "md5.h",
- "mdc2.h",
- "modes.h",
- "obj_mac.h",
- "objects.h",
- "objectserr.h",
- "ocsp.h",
- "ocsperr.h",
- "opensslconf.h",
- "opensslv.h",
- "ossl_typ.h",
- "pem.h",
- "pem2.h",
- "pemerr.h",
- "pkcs12.h",
- "pkcs12err.h",
- "pkcs7.h",
- "pkcs7err.h",
- "rand.h",
- "rand_drbg.h",
- "randerr.h",
- "rc2.h",
- "rc4.h",
- "rc5.h",
- "ripemd.h",
- "rsa.h",
- "rsaerr.h",
- "safestack.h",
- "seed.h",
- "sha.h",
- "srp.h",
- "srtp.h",
- "ssl.h",
- "ssl2.h",
- "ssl3.h",
- "sslerr.h",
- "stack.h",
- "store.h",
- "storeerr.h",
- "symhacks.h",
- "tls1.h",
- "ts.h",
- "tserr.h",
- "txt_db.h",
- "ui.h",
- "uierr.h",
- "whrlpool.h",
- "x509.h",
- "x509_vfy.h",
- "x509err.h",
- "x509v3.h",
- "x509v3err.h",
-]
-
-openssl_header_paths = ["openssl/" + header for header in openssl_headers]
-
-archs = ["arm64", "armv7", "x86_64"]
-
-rules = [
- genrule(
- name = "openssl_build_" + arch,
- srcs = glob([
- "build-openssl-buck.sh",
- "*.tar.gz",
- "*.patch",
- ]),
- bash = "sh $SRCDIR/build-openssl-buck.sh $OUT $SRCDIR " + arch,
- out = "openssl_" + arch,
- visibility = [
- "//submodules/openssl:...",
- ]
- ) for arch in archs
-]
-
-genrule(
- name = "openssl_build_merged",
- srcs = [
- "pack-openssl.sh",
- ],
- bash = "sh $SRCDIR/pack-openssl.sh $OUT $(location :openssl_build_arm64)/out/include " +
- " ".join(["$(location :openssl_build_" + arch + ")/out/lib/libcrypto.a" for arch in archs]),
- out = "openssl",
- visibility = [
- "PUBLIC",
- ]
-)
-
-genrule(
- name = "openssl_libssl_merged",
- srcs = [
- "pack-libssl.sh",
- ],
- bash = "sh $SRCDIR/pack-libssl.sh $OUT $(location :openssl_build_arm64)/out/include " +
- " ".join(["$(location :openssl_build_" + arch + ")/out/lib/libssl.a" for arch in archs]),
- out = "libssl",
- visibility = [
- "PUBLIC",
- ]
-)
-
-
-openssl_header_targets = gen_header_targets(openssl_header_paths, "openssl_header_", "", "openssl_build_arm64", "out/include")
-
-apple_library(
- name = "openssl",
- visibility = [
- "PUBLIC",
- ],
- header_namespace = "openssl",
- exported_headers = openssl_header_targets,
- linker_flags = [
- "-L$(location :openssl_build_merged)/lib",
- "-L$(location :openssl_libssl_merged)/lib",
- "-lcrypto",
- "-lssl",
- ],
- exported_linker_flags = [
- "-L$(location :openssl_build_merged)/lib",
- "-L$(location :openssl_libssl_merged)/lib",
- "-lcrypto",
- "-lssl",
- ],
- deps = [":openssl_build_" + arch for arch in ["arm64"]],
-)
diff --git a/submodules/openssl/build-openssl-buck.sh b/submodules/openssl/build-openssl-buck.sh
deleted file mode 100644
index f2b2c487c4..0000000000
--- a/submodules/openssl/build-openssl-buck.sh
+++ /dev/null
@@ -1,195 +0,0 @@
-#!/bin/bash
-
-OUT_DIR="$1"
-SRC_DIR="$2"
-ARCH="$3"
-
-if [ "$ARCH" != "arm64" ] && [ "$ARCH" != "armv7" ] && [ "$ARCH" != "x86_64" ]; then
- echo "Invalid architecture $ARCH"
- exit 1
-fi
-
-if [ -z "$OUT_DIR" ]; then
- echo "Usage: sh build-openssl.sh OUT_DIR SRC_DIR ARCH"
- exit 1
-fi
-
-if [ -z "$SRC_DIR" ]; then
- echo "Usage: sh build-openssl.sh OUT_DIR SRC_DIR ARCH"
- exit 1
-fi
-
-if [ ! -d "$SRC_DIR" ]; then
- echo "$SRC_DIR does not exist"
- exit 1
-fi
-
-mkdir -p "$OUT_DIR"
-
-TMP_DIR="$OUT_DIR/build"
-rm -rf "$TMP_DIR"
-mkdir -p "$TMP_DIR"
-
-CROSS_TOP_SIM="`xcode-select --print-path`/Platforms/iPhoneSimulator.platform/Developer"
-CROSS_SDK_SIM="iPhoneSimulator.sdk"
-
-CROSS_TOP_IOS="`xcode-select --print-path`/Platforms/iPhoneOS.platform/Developer"
-CROSS_SDK_IOS="iPhoneOS.sdk"
-
-SOURCE_DIR="$OUT_DIR/openssl-1.1.1d"
-SOURCE_ARCHIVE="$SRC_DIR/openssl-1.1.1d.tar.gz"
-
-rm -rf "$SOURCE_DIR"
-
-tar -xzf "$SOURCE_ARCHIVE" --directory "$OUT_DIR"
-
-export CROSS_COMPILE=`xcode-select --print-path`/Toolchains/XcodeDefault.xctoolchain/usr/bin/
-
-function build_for ()
-{
- DIR="$(pwd)"
- cd "$SOURCE_DIR"
-
- PLATFORM="$1"
- ARCH="$2"
- CROSS_TOP_ENV="CROSS_TOP_$3"
- CROSS_SDK_ENV="CROSS_SDK_$3"
-
- make clean
-
- export CROSS_TOP="${!CROSS_TOP_ENV}"
- export CROSS_SDK="${!CROSS_SDK_ENV}"
-
- MINIMAL_FLAGS=(\
- "no-afalgeng" \
- "no-aria" \
- "no-asan" \
- "no-async" \
- "no-autoalginit" \
- "no-autoerrinit" \
- "no-autoload-config" \
- "no-bf" \
- "no-blake2" \
- "no-buildtest-c++" \
- "no-camellia" \
- "no-capieng" \
- "no-cast" \
- "no-chacha" \
- "no-cmac" \
- "no-cms" \
- "no-comp" \
- "no-crypto-mdebug" \
- "no-crypto-mdebug-backtrace" \
- "no-ct" \
- "no-deprecated" \
- "no-des" \
- "no-devcryptoeng" \
- "no-dgram" \
- "no-dh" \
- "no-dsa" \
- "no-dtls" \
- "no-dynamic-engine" \
- "no-ec" \
- "no-ec2m" \
- "no-ecdh" \
- "no-ecdsa" \
- "no-ec_nistp_64_gcc_128" \
- "no-egd" \
- "no-engine" \
- "no-err" \
- "no-external-tests" \
- "no-filenames" \
- "no-fuzz-libfuzzer" \
- "no-fuzz-afl" \
- "no-gost" \
- "no-heartbeats" \
- "no-idea" \
- "no-makedepend" \
- "no-md2" \
- "no-md4" \
- "no-mdc2" \
- "no-msan" \
- "no-multiblock" \
- "no-nextprotoneg" \
- "no-pinshared" \
- "no-ocb" \
- "no-ocsp" \
- "no-pic" \
- "no-poly1305" \
- "no-posix-io" \
- "no-psk" \
- "no-rc2" \
- "no-rc4" \
- "no-rc5" \
- "no-rfc3779" \
- "no-rmd160" \
- "no-scrypt" \
- "no-sctp" \
- "no-shared" \
- "no-siphash" \
- "no-sm2" \
- "no-sm3" \
- "no-sm4" \
- "no-sock" \
- "no-srp" \
- "no-srtp" \
- "no-sse2" \
- "no-ssl" \
- "no-ssl-trace" \
- "no-static-engine" \
- "no-stdio" \
- "no-tests" \
- "no-tls" \
- "no-ts" \
- "no-ubsan" \
- "no-ui-console" \
- "no-unit-test" \
- "no-whirlpool" \
- "no-weak-ssl-ciphers" \
- "no-zlib" \
- "no-zlib-dynamic" \
- )
-
- DEFAULT_FLAGS=(\
- "no-asm" \
- "no-ssl3" \
- "no-comp" \
- "no-hw" \
- "no-engine" \
- "no-async" \
- )
-
- ADDITIONAL_FLAGS=$DEFAULT_FLAGS
-
- ./Configure $PLATFORM "-arch $ARCH" ${ADDITIONAL_FLAGS[@]} --prefix=${TMP_DIR}/${ARCH} || exit 1
-
- make && make install_sw || exit 2
- unset CROSS_TOP
- unset CROSS_SDK
-
- cd "$DIR"
-}
-
-patch "$SOURCE_DIR/Configurations/10-main.conf" < patch-conf.patch || exit 1
-
-if [ "$ARCH" == "x86_64" ]; then
- build_for ios64sim-cross x86_64 SIM || exit 2
-elif [ "$ARCH" == "armv7" ]; then
- build_for ios-cross armv7 IOS || exit 4
-elif [ "$ARCH" == "arm64" ]; then
- build_for ios64-cross arm64 IOS || exit 5
-else
- echo "Invalid architecture $ARCH"
- exit 1
-fi
-
-cp -r "${TMP_DIR}/$ARCH/include" "${TMP_DIR}/"
-patch -p3 "${TMP_DIR}/include/openssl/opensslconf.h" < patch-include.patch
-
-DFT_DIST_DIR="$OUT_DIR/out"
-rm -rf "$DFT_DIST_DIR"
-mkdir -p "$DFT_DIST_DIR"
-
-DIST_DIR="${DIST_DIR:-$DFT_DIST_DIR}"
-mkdir -p "${DIST_DIR}"
-cp -r "${TMP_DIR}/include" "${TMP_DIR}/$ARCH/lib" "${DIST_DIR}"
\ No newline at end of file
diff --git a/submodules/rlottie/BUCK b/submodules/rlottie/BUCK
deleted file mode 100644
index 6a595b8462..0000000000
--- a/submodules/rlottie/BUCK
+++ /dev/null
@@ -1,35 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-public_headers = glob([
- "PublicHeaders/**/*.h",
-])
-
-static_library(
- name = "RLottieBinding",
- srcs = glob([
- "rlottie/src/**/*.cpp",
- ], exclude = [
- "rlottie/src/vector/vdrawhelper_neon.cpp",
- "rlottie/src/vector/stb/**/*",
- ]) + [
- "LottieInstance.mm"
- ],
- compiler_flags = [
- "-Dpixman_region_selfcheck(x)=1",
- "-DLOTTIE_DISABLE_ARM_NEON=1",
- "-DLOTTIE_IMAGE_MODULE_DISABLED=1",
- ],
- headers = glob([
- "rlottie/src/**/*.h",
- "rlottie/inc/**/*.h",
- ], exclude = [
- "rlottie/src/lottie/rapidjson/msinttypes/**/*",
- ]) + [
- "config.h",
- ] + public_headers,
- exported_headers = public_headers,
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- "$SDKROOT/System/Library/Frameworks/UIKit.framework",
- ],
-)
diff --git a/submodules/sqlcipher/BUCK b/submodules/sqlcipher/BUCK
deleted file mode 100644
index 8411d124e2..0000000000
--- a/submodules/sqlcipher/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-static_library(
- name = "sqlcipher",
- compiler_flags = [
- "-DDSQLITE_HAS_CODEC=1",
- "-DSQLCIPHER_CRYPTO_CC=1",
- "-DSQLITE_ENABLE_FTS5",
- "-DSQLITE_DEFAULT_MEMSTATUS=0",
- "-DNDEBUG",
- ],
- srcs = glob([
- "Sources/*.c",
- ]),
- headers = glob([
- "Sources/*.h",
- ]),
- exported_headers = glob([
- "PublicHeaders/**/*.h",
- ]),
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
diff --git a/third-party/BUCK b/third-party/BUCK
deleted file mode 100644
index c2e30f374b..0000000000
--- a/third-party/BUCK
+++ /dev/null
@@ -1,8 +0,0 @@
-
-filegroup(
- name = "depot_tools_sources",
- srcs = glob([
- "depot_tools/**/*"
- ]),
- visibility = ["PUBLIC"],
-)
diff --git a/third-party/mozjpeg/BUCK b/third-party/mozjpeg/BUCK
deleted file mode 100644
index 379603ce42..0000000000
--- a/third-party/mozjpeg/BUCK
+++ /dev/null
@@ -1,108 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library", "gen_header_targets", "merge_maps")
-
-headers = [
- "mozjpeg/turbojpeg.h",
- "mozjpeg/jpeglib.h",
- "mozjpeg/jmorecfg.h",
- "mozjpeg/jconfig.h",
-]
-
-libs = [
- "jpeg",
- "turbojpeg"
-]
-
-genrule(
- name = "libmozjpeg_build",
- srcs = glob([
- "mozjpeg/**/*",
- ], exclude = ["mozjpeg/**/.*"]) + [
- "build-mozjpeg-buck.sh",
- ],
- bash =
- """
- set -ex
-
- mkdir -p "$OUT"
- mkdir -p "$OUT/Public/mozjpeg"
- mkdir -p "$OUT/Public/lib"
-
- CMAKE_DIR="$(location //third-party/cmake:cmake)/cmake-3.16.0"
-
- BUILD_ARCH="arm64"
-
- BUILD_DIR="$OUT/$BUILD_ARCH"
- rm -rf "$BUILD_DIR"
- mkdir -p "$BUILD_DIR"
-
- cp "$SRCDIR/build-mozjpeg-buck.sh" "$BUILD_DIR/"
-
- cp -R "$SRCDIR/mozjpeg" "$BUILD_DIR/"
-
- mkdir -p "$BUILD_DIR/Public/mozjpeg"
-
- PATH="$PATH:$CMAKE_DIR/bin" sh $BUILD_DIR/build-mozjpeg-buck.sh $BUILD_ARCH "$BUILD_DIR/mozjpeg" "$BUILD_DIR"
-
- cp $BUILD_DIR/mozjpeg/turbojpeg.h "$OUT/Public/mozjpeg/"
- cp $BUILD_DIR/mozjpeg/jpeglib.h "$OUT/Public/mozjpeg/"
- cp $BUILD_DIR/mozjpeg/jmorecfg.h "$OUT/Public/mozjpeg/"
- cp $BUILD_DIR/build/jconfig.h "$OUT/Public/mozjpeg/"
-
- BUILD_ARCH="armv7"
-
- BUILD_DIR="$OUT/$BUILD_ARCH"
- rm -rf "$BUILD_DIR"
- mkdir -p "$BUILD_DIR"
-
- cp "$SRCDIR/build-mozjpeg-buck.sh" "$BUILD_DIR/"
-
- cp -R "$SRCDIR/mozjpeg" "$BUILD_DIR/"
-
- mkdir -p "$BUILD_DIR/Public/mozjpeg"
-
- PATH="$PATH:$CMAKE_DIR/bin" sh $BUILD_DIR/build-mozjpeg-buck.sh $BUILD_ARCH "$BUILD_DIR/mozjpeg" "$BUILD_DIR"
-
- lipo -create $OUT/arm64/build/libjpeg.a $OUT/armv7/build/libjpeg.a -output $OUT/Public/lib/libjpeg.a
- lipo -create $OUT/arm64/build/libturbojpeg.a $OUT/armv7/build/libturbojpeg.a -output $OUT/Public/lib/libturbojpeg.a
- """,
- out = "libmozjpeg",
- visibility = [
- "PUBLIC",
- ]
-)
-
-mozjpeg_header_targets = gen_header_targets(headers, "libmozjpeg_header_", "", "libmozjpeg_build", "Public")
-
-apple_library(
- name = "mozjpeg_lib",
- exported_headers = mozjpeg_header_targets,
- visibility = [
- "//third-party/mozjpeg:mozjpeg"
- ],
- header_namespace = "mozjpeg",
- linker_flags = [
- "-L$(location :libmozjpeg_build)/Public/lib",
- "-ljpeg",
- "-lturbojpeg",
- ],
- exported_linker_flags = [
- "-L$(location :libmozjpeg_build)/Public/lib",
- "-ljpeg",
- "-lturbojpeg",
- ],
- deps = [
- ":libmozjpeg_build",
- ],
-)
-
-static_library(
- name = "mozjpeg",
- exported_headers = mozjpeg_header_targets,
- deps = [
- ":libmozjpeg_build",
- ":mozjpeg_lib",
- ],
- frameworks = [
- "$SDKROOT/System/Library/Frameworks/Foundation.framework",
- ],
-)
\ No newline at end of file
diff --git a/third-party/mozjpeg/build-mozjpeg-buck.sh b/third-party/mozjpeg/build-mozjpeg-buck.sh
deleted file mode 100755
index 94a9966479..0000000000
--- a/third-party/mozjpeg/build-mozjpeg-buck.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#! /bin/sh
-
-set -e
-
-ARCH="$1"
-
-SOURCE_DIR="$2"
-BUILD_DIR=$(echo "$(cd "$(dirname "$3")"; pwd -P)/$(basename "$3")")
-
-if [ "$ARCH" = "armv7" ]; then
- IOS_PLATFORMDIR="$(xcode-select -p)/Platforms/iPhoneOS.platform"
- IOS_SYSROOT=($IOS_PLATFORMDIR/Developer/SDKs/iPhoneOS*.sdk)
- export CFLAGS="-mfloat-abi=softfp -arch armv7 -miphoneos-version-min=9.0"
- export ASMFLAGS="-no-integrated-as"
-
- cd "$BUILD_DIR"
- mkdir build
- cd build
-
- touch toolchain.cmake
- echo "set(CMAKE_SYSTEM_NAME Darwin)" >> toolchain.cmake
- echo "set(CMAKE_SYSTEM_PROCESSOR arm)" >> toolchain.cmake
- echo "set(CMAKE_C_COMPILER $(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)" >> toolchain.cmake
-
- cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DCMAKE_OSX_SYSROOT=${IOS_SYSROOT[0]} -DPNG_SUPPORTED=FALSE -DENABLE_SHARED=FALSE -DWITH_JPEG8=1 ../mozjpeg
- make
-elif [ "$ARCH" = "arm64" ]; then
- IOS_PLATFORMDIR="$(xcode-select -p)/Platforms/iPhoneOS.platform"
- IOS_SYSROOT=($IOS_PLATFORMDIR/Developer/SDKs/iPhoneOS*.sdk)
- export CFLAGS="-Wall -arch arm64 -miphoneos-version-min=9.0 -funwind-tables"
-
- cd "$BUILD_DIR"
- mkdir build
- cd build
-
- touch toolchain.cmake
- echo "set(CMAKE_SYSTEM_NAME Darwin)" >> toolchain.cmake
- echo "set(CMAKE_SYSTEM_PROCESSOR aarch64)" >> toolchain.cmake
- echo "set(CMAKE_C_COMPILER $(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)" >> toolchain.cmake
-
- cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DCMAKE_OSX_SYSROOT=${IOS_SYSROOT[0]} -DPNG_SUPPORTED=FALSE -DENABLE_SHARED=FALSE -DWITH_JPEG8=1 ../mozjpeg
- make
-elif [ "$ARCH" = "x86_64" ]; then
- IOS_PLATFORMDIR="$(xcode-select -p)/Platforms/iPhoneSimulator.platform"
- IOS_SYSROOT=($IOS_PLATFORMDIR/Developer/SDKs/iPhoneSimulator*.sdk)
- export CFLAGS="-Wall -arch x86_64 -miphoneos-version-min=9.0 -funwind-tables"
-
- cd "$BUILD_DIR"
- mkdir build
- cd build
-
- touch toolchain.cmake
- echo "set(CMAKE_SYSTEM_NAME Darwin)" >> toolchain.cmake
- echo "set(CMAKE_SYSTEM_PROCESSOR AMD64)" >> toolchain.cmake
- echo "set(CMAKE_C_COMPILER $(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang)" >> toolchain.cmake
-
- cmake -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake -DCMAKE_OSX_SYSROOT=${IOS_SYSROOT[0]} -DPNG_SUPPORTED=FALSE -DENABLE_SHARED=FALSE -DWITH_JPEG8=1 ../mozjpeg
- make
-else
- echo "Unsupported architecture $ARCH"
- exit 1
-fi
diff --git a/third-party/webrtc/BUCK b/third-party/webrtc/BUCK
deleted file mode 100644
index 6762598ed0..0000000000
--- a/third-party/webrtc/BUCK
+++ /dev/null
@@ -1,84 +0,0 @@
-load("//Config:buck_rule_macros.bzl", "static_library")
-
-webrtc_lib_flags = [
- "-lframework_objc_static"
-]
-
-genrule(
- name = "webrtc_build",
- srcs = [
- "build-webrtc-buck.sh",
- "webrtc-ios",
- ],
- bash =
-"""
- set -x
- echo "SRCDIR=$SRCDIR"
-
- BUILD_ARCH=arm64
-
- BUILD_DIR_ARM64="$SRCDIR/$BUILD_ARCH"
-
- BUILD_DIR="$BUILD_DIR_ARM64"
- rm -rf "$BUILD_DIR"
- mkdir -p "$BUILD_DIR"
-
- mkdir -p "$BUILD_DIR/webrtc-ios"
- cp -R "$SRCDIR/webrtc-ios/src" "$BUILD_DIR/webrtc-ios/src"
-
- DEPOT_TOOLS_PATH="$(location //third-party:depot_tools_sources)"
-
- rm -rf "$BUILD_DIR/depot_tools"
- cp -R "$DEPOT_TOOLS_PATH" "$BUILD_DIR/"
-
- rm -rf "$BUILD_DIR/openssl"
- cp -R "$(location //submodules/openssl:openssl_build_merged)" "$BUILD_DIR/openssl/"
- cp -R "$(location //submodules/openssl:openssl_libssl_merged)" "$BUILD_DIR/libssl/"
-
- sh $SRCDIR/build-webrtc-buck.sh "$BUILD_DIR" $BUILD_ARCH
-
- BUILD_ARCH=arm
-
- BUILD_DIR_ARMV7="$SRCDIR/$BUILD_ARCH"
-
- BUILD_DIR="$BUILD_DIR_ARMV7"
-
- rm -rf "$BUILD_DIR"
- mkdir -p "$BUILD_DIR"
-
- mkdir -p "$BUILD_DIR/webrtc-ios"
- cp -R "$SRCDIR/webrtc-ios/src" "$BUILD_DIR/webrtc-ios/src"
-
- DEPOT_TOOLS_PATH="$(location //third-party:depot_tools_sources)"
-
- rm -rf "$BUILD_DIR/depot_tools"
- cp -R "$DEPOT_TOOLS_PATH" "$BUILD_DIR/"
-
- rm -rf "$BUILD_DIR/openssl"
- cp -R "$(location //submodules/openssl:openssl_build_merged)" "$BUILD_DIR/openssl/"
- cp -R "$(location //submodules/openssl:openssl_libssl_merged)" "$BUILD_DIR/libssl/"
-
- sh $SRCDIR/build-webrtc-buck.sh "$BUILD_DIR" $BUILD_ARCH
-
- mkdir -p "$OUT"
- lipo -create "$BUILD_DIR_ARMV7/webrtc-ios/src/out/ios/obj/sdk/libframework_objc_static.a" "$BUILD_DIR_ARM64/webrtc-ios/src/out/ios_64/obj/sdk/libframework_objc_static.a" -output "$OUT/libframework_objc_static.a"
-""",
- out = "libwebrtc",
- visibility = ["PUBLIC"]
-)
-
-apple_library(
- name = "webrtc_lib",
- visibility = [
- "PUBLIC",
- ],
- linker_flags = [
- "-L$(location :webrtc_build)",
- ] + webrtc_lib_flags,
- exported_linker_flags = [
- "-L$(location :webrtc_build)",
- ] + webrtc_lib_flags,
- deps = [
- ":webrtc_build"
- ],
-)
diff --git a/third-party/webrtc/build-webrtc-buck.sh b/third-party/webrtc/build-webrtc-buck.sh
deleted file mode 100755
index f1c895666d..0000000000
--- a/third-party/webrtc/build-webrtc-buck.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#/bin/sh
-
-set -x
-set -e
-
-BUILD_DIR="$1"
-ARCH="$2"
-
-echo "BUILD_DIR=$BUILD_DIR"
-echo "ARCH=$ARCH"
-
-export PATH="$PATH:$BUILD_DIR/depot_tools_sources/depot_tools"
-
-rm -rf "$BUILD_DIR/webrtc-ios/src/openssl"
-cp -R "$BUILD_DIR/openssl" "$BUILD_DIR/webrtc-ios/src/"
-cp -R "$BUILD_DIR/libssl" "$BUILD_DIR/webrtc-ios/src/"
-
-pushd "$BUILD_DIR/webrtc-ios/src"
-
-mv openssl/lib/libcrypto.a openssl/
-mv libssl/lib/libssl.a openssl/
-
-OUT_DIR="ios"
-if [ "$ARCH" == "arm64" ]; then
- OUT_DIR="ios_64"
-elif [ "$ARCH" == "x64" ]; then
- OUT_DIR="ios_sim"
-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_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=true rtc_build_libvpx=true rtc_libvpx_build_vp9=true rtc_use_gtk=false rtc_use_metal_rendering=true'
-ninja -C out/$OUT_DIR framework_objc_static
-
-popd
diff --git a/third-party/yasm/BUCK b/third-party/yasm/BUCK
deleted file mode 100644
index eade17fbf2..0000000000
--- a/third-party/yasm/BUCK
+++ /dev/null
@@ -1,24 +0,0 @@
-
-genrule(
- name = "yasm",
- srcs = [
- "yasm-1.3.0.tar.gz",
- ],
- bash =
-"""
- core_count="`sysctl -n hw.logicalcpu`"
- mkdir -p "$OUT"
- tar -xzf "$SRCDIR/yasm-1.3.0.tar.gz" --directory "$OUT"
- pushd "$OUT/yasm-1.3.0"
- mkdir build
- cd build
- export PATH=\"$PATH:$(location //third-party/cmake:cmake)/cmake-3.16.0/bin\"
- cmake .. -DYASM_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
- make -j $core_count
- popd
-""",
- out = "yasm",
- visibility = [
- "PUBLIC",
- ]
-)
diff --git a/tools/buck-build/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch b/tools/buck-build/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch
deleted file mode 100644
index fe6ee40c41..0000000000
--- a/tools/buck-build/buck-2be0e8fa79117daa854e79dd7d9ce32048d506a8.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-diff --git a/.gitignore b/.gitignore
-index 78ce658b9a..30c0369ab7 100644
---- a/.gitignore
-+++ b/.gitignore
-@@ -3,6 +3,7 @@
-
- # IntelliJ build
- /intellij-out/
-+/.idea/
-
- # Buck
- /buck-out
-diff --git a/.idea/modules.xml b/.idea/modules.xml
-deleted file mode 100644
-index 7ff823b554..0000000000
---- a/.idea/modules.xml
-+++ /dev/null
-@@ -1,16 +0,0 @@
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
-\ No newline at end of file
-diff --git a/src/com/facebook/buck/apple/AppleBundle.java b/src/com/facebook/buck/apple/AppleBundle.java
-index d895ab9a79..ad42beb302 100644
---- a/src/com/facebook/buck/apple/AppleBundle.java
-+++ b/src/com/facebook/buck/apple/AppleBundle.java
-@@ -992,7 +992,11 @@ public class AppleBundle extends AbstractBuildRuleWithDeclaredAndExtraDeps
- keys.put("DTPlatformName", new NSString(platform.getName()));
- keys.put("DTPlatformVersion", new NSString(sdkVersion));
- keys.put("DTSDKName", new NSString(sdkName + sdkVersion));
-- keys.put("MinimumOSVersion", new NSString(minOSVersion));
-+ if (infoPlistSubstitutions.containsKey("MinimumOSVersion")) {
-+ keys.put("MinimumOSVersion", new NSString(infoPlistSubstitutions.get("MinimumOSVersion")));
-+ } else {
-+ keys.put("MinimumOSVersion", new NSString(minOSVersion));
-+ }
- if (platformBuildVersion.isPresent()) {
- keys.put("DTPlatformBuild", new NSString(platformBuildVersion.get()));
- keys.put("DTSDKBuild", new NSString(platformBuildVersion.get()));
-@@ -1185,9 +1189,10 @@ public class AppleBundle extends AbstractBuildRuleWithDeclaredAndExtraDeps
-
- // .framework bundles will be code-signed when they're copied into the containing bundle.
- private boolean needCodeSign() {
-- return binary.isPresent()
-+ return false;
-+ /*return binary.isPresent()
- && ApplePlatform.needsCodeSign(platform.getName())
-- && !extension.equals(FRAMEWORK_EXTENSION);
-+ && !extension.equals(FRAMEWORK_EXTENSION);*/
- }
-
- @Override
-diff --git a/src/com/facebook/buck/apple/MultiarchFileInfos.java b/src/com/facebook/buck/apple/MultiarchFileInfos.java
-index c078b2e134..030f9fc289 100644
---- a/src/com/facebook/buck/apple/MultiarchFileInfos.java
-+++ b/src/com/facebook/buck/apple/MultiarchFileInfos.java
-@@ -177,7 +177,12 @@ public class MultiarchFileInfos {
- cxxBuckConfig.shouldCacheLinks(),
- BuildTargetPaths.getGenPath(
- projectFilesystem, buildTarget, multiarchOutputPathFormat));
-- graphBuilder.addToIndex(multiarchFile);
-+ Optional existingRule2 = graphBuilder.getRuleOptional(multiarchFile.getBuildTarget());
-+ if (existingRule2.isPresent()) {
-+ return existingRule2.get();
-+ } else {
-+ graphBuilder.addToIndex(multiarchFile);
-+ }
- return multiarchFile;
- } else {
- return new NoopBuildRule(buildTarget, projectFilesystem);
-diff --git a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-index 8db968b982..b10f793d8e 100644
---- a/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-+++ b/src/com/facebook/buck/features/apple/project/ProjectGenerator.java
-@@ -825,6 +825,7 @@ public class ProjectGenerator {
- Optional.of(xcodeDescriptions.getXCodeDescriptions()));
- if (bundleRequiresRemovalOfAllTransitiveFrameworks(targetNode)) {
- copiedRules = rulesWithoutFrameworkBundles(copiedRules);
-+ copiedRules = rulesWithoutDylibs(copiedRules);
- } else if (bundleRequiresAllTransitiveFrameworks(binaryNode, bundleLoaderNode)) {
- copiedRules =
- ImmutableSet.>builder()
-@@ -954,6 +955,22 @@ public class ProjectGenerator {
- .toImmutableList();
- }
-
-+ private ImmutableList> rulesWithoutDylibs(
-+ Iterable> copiedRules) {
-+ return RichStream.from(copiedRules)
-+ .filter(
-+ input ->
-+ TargetNodes.castArg(input, AppleLibraryDescriptionArg.class)
-+ .map(argTargetNode -> {
-+ if (argTargetNode.getBuildTarget().getFlavors().contains(CxxDescriptionEnhancer.SHARED_FLAVOR)) {
-+ return false;
-+ }
-+ return true;
-+ })
-+ .orElse(true))
-+ .toImmutableList();
-+ }
-+
- private ImmutableList> rulesWithoutBundleLoader(
- Iterable> copiedRules, TargetNode> bundleLoader) {
- return RichStream.from(copiedRules).filter(x -> !bundleLoader.equals(x)).toImmutableList();
-@@ -2316,8 +2333,9 @@ public class ProjectGenerator {
- .transform(
- bundleExtension -> {
- switch (bundleExtension) {
-- case APP:
- case APPEX:
-+ return false;
-+ case APP:
- case PLUGIN:
- case BUNDLE:
- case XCTEST:
-@@ -2515,7 +2533,7 @@ public class ProjectGenerator {
-
- librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift/$PLATFORM_NAME");
- if (options.shouldLinkSystemSwift()) {
-- librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift-5.0/$PLATFORM_NAME");
-+ //librarySearchPaths.add("$DT_TOOLCHAIN_DIR/usr/lib/swift-5.0/$PLATFORM_NAME");
- }
- }
-
-@@ -3444,7 +3462,7 @@ public class ProjectGenerator {
-
- PBXFileReference fileReference = getLibraryFileReference(targetNode);
- PBXBuildFile buildFile = new PBXBuildFile(fileReference);
-- if (fileReference.getExplicitFileType().equals(Optional.of("wrapper.framework"))) {
-+ if (fileReference.getExplicitFileType().equals(Optional.of("wrapper.framework")) || fileReference.getExplicitFileType().equals(Optional.of("compiled.mach-o.dylib"))) {
- UnflavoredBuildTargetView buildTarget =
- targetNode.getBuildTarget().getUnflavoredBuildTarget();
- if (frameworkTargets.contains(buildTarget)) {
-@@ -4696,6 +4714,9 @@ public class ProjectGenerator {
-
- private static boolean bundleRequiresRemovalOfAllTransitiveFrameworks(
- TargetNode extends HasAppleBundleFields> targetNode) {
-+ if (targetNode.getConstructorArg().getXcodeProductType().equals(Optional.of("com.apple.product-type.app-extension"))) {
-+ return true;
-+ }
- return isFrameworkBundle(targetNode.getConstructorArg());
- }
-
diff --git a/tools/buck-build/prepare_buck_source.sh b/tools/buck-build/prepare_buck_source.sh
deleted file mode 100644
index 1b8db8da32..0000000000
--- a/tools/buck-build/prepare_buck_source.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/bash
-
-set -x
-set -e
-
-target_directory="$1"
-
-if [ -z "$target_directory" ]; then
- echo "Usage: sh prepare_buck_source.sh path/to/target/directory"
- exit 1
-fi
-
-mkdir -p "$target_directory"
-
-jdk_archive_name="jdk.tar.gz"
-jdk_archive_path="$target_directory/$jdk_archive_name"
-jdk_unpacked_path="$target_directory/jdk8u232-b09"
-jdk_url="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_x64_mac_hotspot_8u232b09.tar.gz"
-
-if [ ! -f "$jdk_archive_path" ]; then
- echo "Fetching JDK 8"
- curl "$jdk_url" -L -o "$target_directory/jdk.tar.gz"
-fi
-
-if [ ! -d "$jdk_unpacked_path" ]; then
- echo "Unpacking JDK 8"
- pushd "$target_directory"
- tar -xf "$jdk_archive_name"
- popd
-fi
-
-patch_file="$(ls *.patch | head -1)"
-patch_path="$(pwd)/$patch_file"
-
-if [ -z "$patch_file" ]; then
- echo "There should be a patch-COMMIT_SHA.patch in the current directory"
- exit 1
-fi
-
-commit_sha="$(echo "$patch_file" | sed -e 's/buck-//g' | sed -e 's/\.patch//g')"
-
-echo "Fetching commit $commit_sha"
-
-dir="$(pwd)"
-cd "$target_directory"
-
-if [ ! -d "buck" ]; then
- git clone "https://github.com/facebook/buck.git"
-fi
-
-cd "buck"
-
-git reset --hard
-git reset --hard "$commit_sha"
-
-git apply --check "$patch_path"
-git apply "$patch_path"
-
-PATH="$PATH:$jdk_unpacked_path/Contents/Home/bin" ant
-PATH="$PATH:$jdk_unpacked_path/Contents/Home/bin" ./bin/buck build --show-output buck
-
-cd "$dir"
diff --git a/tools/defs.bzl b/tools/defs.bzl
deleted file mode 100644
index ad459ba6dc..0000000000
--- a/tools/defs.bzl
+++ /dev/null
@@ -1,13 +0,0 @@
-XCODE_BINARY_CONFIG = {
- 'IPHONEOS_DEPLOYMENT_TARGET': '8.0',
- 'SDKROOT': 'iphoneos',
- 'GCC_OPTIMIZATION_LEVEL': '0',
- 'SWIFT_OPTIMIZATION_LEVEL': '-Onone',
- 'SWIFT_WHOLE_MODULE_OPTIMIZATION': 'NO',
- 'ONLY_ACTIVE_ARCH': 'YES',
- 'LD_RUNPATH_SEARCH_PATHS': '@executable_path/Frameworks',
-}
-
-XCODE_STATIC_LIBRARY_CONFIG = {
- 'SKIP_INSTALL': 'YES',
-}
diff --git a/tools/targets.bzl b/tools/targets.bzl
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/tools/utils.bzl b/tools/utils.bzl
deleted file mode 100644
index f443f03983..0000000000
--- a/tools/utils.bzl
+++ /dev/null
@@ -1,103 +0,0 @@
-OTHER_LINKER_FLAGS_KEY = 'OTHER_LDFLAGS'
-
-def config_with_updated_linker_flags(config, other_linker_flags, config_key=OTHER_LINKER_FLAGS_KEY):
- new_config = { }
- config_key_found = False
- for key in config:
- if key == config_key:
- new_config[key] = config[key] + (" %s" % other_linker_flags)
- config_key_found = True
- else:
- new_config[key] = config[key]
-
- if config_key_found == False:
- # If `config` does not currently contain `config_key`, add it. Inherit for good measure.
- new_config[config_key] = '$(inherited) ' + other_linker_flags
-
- return new_config
-
-
-def xcode_configs(config):
- return {
- "Debug": config,
- "Profile": config,
- "Release": config,
- }
-
-def merge_maps(dicts):
- result = dict()
- for d in dicts:
- for key in d:
- if key in result and result[key] != d[key]:
- fail(
- "Conflicting files in file search paths. " +
- "\"%s\" maps to both \"%s\" and \"%s\"." %
- (key, result[key], d[key]),
- )
- result.update(d)
- return result
-
-
-def basename(p):
- return p.rpartition("/")[-1]
-
-
-def glob_map(glob_results):
- result = dict()
- for path in glob_results:
- file_name = basename(path)
- if file_name in result:
- fail('\"%s\" maps to both \"%s\" and \"%s\"' % (file_name, result[file_name], path))
- result[file_name] = path
- return result
-
-
-def glob_sub_map(prefix, glob_specs):
- result = dict()
- for path in native.glob(glob_specs):
- if not path.startswith(prefix):
- fail('\"%s\" does not start with \"%s\"' % (path, prefix))
- file_key = path[len(prefix):]
- if file_key in result:
- fail('\"%s\" maps to both \"%s\" and \"%s\"' % (file_key, result[file_key], path))
- result[file_key] = path
- return result
-
-
-def gen_header_targets(header_paths, prefix, flavor, source_rule, source_path):
- result = dict()
- for header_path in header_paths:
- name = prefix + header_path.replace('/', '_sub_')
- native.genrule(
- name = name + flavor,
- cmd = 'cp $(location :' + source_rule + ')/' + source_path + '/' + header_path + ' $OUT',
- out = name,
- )
- result[header_path] = ':' + name + flavor
- return result
-
-
-def lib_basename(name):
- result = name
- if result.startswith('lib'):
- result = result[3:]
- if result.endswith('.a'):
- result = result[:-2]
- return result
-
-
-def combined_config(dicts):
- result = dict()
- for d in dicts:
- result.update(d)
- return result
-
-
-valid_build_variants = ['project', 'release']
-
-def get_build_variant():
- build_variant = native.read_config('build', 'variant', '')
- if build_variant not in valid_build_variants:
- fail('build_variant should be one of %s' % valid_build_variants)
- return build_variant
-