Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

[submodule "submodules/rlottie/rlottie"]
path = submodules/rlottie/rlottie
url=../rlottie.git
url = https://github.com/overtake/rlottie.git
[submodule "build-system/bazel-rules/rules_apple"]
path = build-system/bazel-rules/rules_apple
url=https://github.com/ali-fareed/rules_apple.git
url = https://github.com/ali-fareed/rules_apple.git
[submodule "build-system/bazel-rules/rules_swift"]
path = build-system/bazel-rules/rules_swift
url=https://github.com/bazelbuild/rules_swift.git
url = https://github.com/bazelbuild/rules_swift.git
[submodule "build-system/bazel-rules/apple_support"]
path = build-system/bazel-rules/apple_support
url = https://github.com/bazelbuild/apple_support.git
Expand All @@ -16,10 +15,11 @@ url=https://github.com/bazelbuild/rules_swift.git
url = https://github.com/telegramdesktop/libtgvoip.git
[submodule "build-system/tulsi"]
path = build-system/tulsi
url=https://github.com/bazelbuild/tulsi.git
url = https://github.com/bazelbuild/tulsi.git
[submodule "submodules/TgVoipWebrtc/tgcalls"]
path = submodules/TgVoipWebrtc/tgcalls
url=../tgcalls.git
url = https://github.com/TelegramMessenger/tgcalls.git
branch = release-10.3.1
[submodule "third-party/libvpx/libvpx"]
path = third-party/libvpx/libvpx
url = https://github.com/webmproject/libvpx.git
Expand Down
2 changes: 1 addition & 1 deletion build-system/bazel-rules/rules_apple
Submodule rules_apple updated 310 files
2 changes: 1 addition & 1 deletion build-system/bazel-rules/rules_swift
Submodule rules_swift updated 76 files
+5 −0 .bcr/presubmit.yml
+1 −1 MODULE.bazel
+19 −5 doc/BUILD
+100 −0 doc/doc.bzl
+264 −0 doc/proto_migration.md
+33 −11 doc/providers.md
+265 −150 doc/rules.md
+0 −0 examples/xplatform/custom_swift_proto_compiler/BUILD
+9 −0 examples/xplatform/custom_swift_proto_compiler/compiler/BUILD
+10 −0 examples/xplatform/custom_swift_proto_compiler/protos/BUILD
+7 −0 examples/xplatform/custom_swift_proto_compiler/protos/example.proto
+24 −0 examples/xplatform/custom_swift_proto_compiler/rules/BUILD
+18 −0 examples/xplatform/custom_swift_proto_compiler/rules/custom_proto_compiler.sh
+4 −0 examples/xplatform/custom_swift_proto_compiler/rules/custom_proto_compiler_plugin.sh
+136 −0 examples/xplatform/custom_swift_proto_compiler/rules/custom_swift_proto_compiler.bzl
+12 −0 examples/xplatform/custom_swift_proto_compiler/swift/BUILD
+84 −0 examples/xplatform/deprecated_grpc/BUILD
+63 −0 examples/xplatform/deprecated_grpc/client_main.swift
+105 −0 examples/xplatform/deprecated_grpc/client_unit_test.swift
+0 −0 examples/xplatform/deprecated_grpc/echo.proto
+7 −0 examples/xplatform/deprecated_grpc/main.swift
+64 −0 examples/xplatform/deprecated_grpc/server_main.swift
+48 −0 examples/xplatform/deprecated_proto/BUILD
+7 −0 examples/xplatform/deprecated_proto/PathToUnderscores/message_1/message.proto
+7 −0 examples/xplatform/deprecated_proto/PathToUnderscores/message_2/message.proto
+29 −0 examples/xplatform/deprecated_proto/example.proto
+41 −0 examples/xplatform/deprecated_proto/main.swift
+19 −44 examples/xplatform/grpc/BUILD
+3 −4 examples/xplatform/grpc/client_main.swift
+10 −11 examples/xplatform/grpc/client_unit_test.swift
+1 −1 examples/xplatform/grpc/main.swift
+6 −7 examples/xplatform/grpc/server_main.swift
+51 −0 examples/xplatform/grpc/service/BUILD
+9 −0 examples/xplatform/grpc/service/service.proto
+14 −0 examples/xplatform/grpc/service/service_messages.proto
+54 −0 examples/xplatform/grpc/test_client_unit_test.swift
+13 −5 examples/xplatform/proto/BUILD
+2 −2 examples/xplatform/proto/main.swift
+70 −0 examples/xplatform/proto_files/BUILD
+17 −0 examples/xplatform/proto_files/main.swift
+7 −0 examples/xplatform/proto_files/message_1.proto
+9 −0 examples/xplatform/proto_files/message_2.proto
+9 −0 examples/xplatform/proto_files/message_3.proto
+33 −0 examples/xplatform/proto_glob/BUILD
+13 −0 examples/xplatform/proto_glob/main.swift
+7 −0 examples/xplatform/proto_glob/package_1/example.proto
+7 −0 examples/xplatform/proto_glob/package_2/example.proto
+15 −0 examples/xplatform/proto_path/BUILD
+13 −0 examples/xplatform/proto_path/main.swift
+0 −0 examples/xplatform/proto_path/protos/BUILD
+26 −0 examples/xplatform/proto_path/protos/package_1/BUILD
+7 −0 examples/xplatform/proto_path/protos/package_1/message_1.proto
+32 −0 examples/xplatform/proto_path/protos/package_2/BUILD
+9 −0 examples/xplatform/proto_path/protos/package_2/message_2.proto
+51 −0 proto/BUILD
+57 −0 proto/compilers/BUILD
+89 −0 proto/compilers/swift_proto_compiler_macros.bzl
+7 −0 proto/copy_swift_sources.sh.tpl
+44 −0 proto/proto.bzl
+29 −0 proto/swift_proto_common.bzl
+347 −0 proto/swift_proto_compiler.bzl
+323 −0 proto/swift_proto_library.bzl
+108 −0 proto/swift_proto_utils.bzl
+2 −2 swift/BUILD
+69 −0 swift/deprecated_proto/BUILD
+43 −15 swift/deprecated_proto/deprecated_swift_grpc_library.bzl
+19 −4 swift/deprecated_proto/deprecated_swift_proto_library.bzl
+0 −0 swift/deprecated_proto/proto_gen_utils.bzl
+43 −11 swift/deprecated_proto/swift_protoc_gen_aspect.bzl
+0 −0 swift/deprecated_proto/transitions.bzl
+20 −70 swift/internal/BUILD
+44 −8 swift/internal/providers.bzl
+1 −4 swift/internal/xcode_swift_toolchain.bzl
+2 −2 swift/repositories.bzl
+18 −12 swift/swift.bzl
+9 −22 test/rules/action_command_line_test.bzl
2 changes: 1 addition & 1 deletion build-system/bazel-rules/rules_xcodeproj
Submodule rules_xcodeproj updated 72 files
+1 −1 .bazelversion
+6 −1 MODULE.bazel
+6 −5 README.md
+5 −2 buildbuddy.yaml
+3 −5 docs/bazel.md
+1 −2 docs/usage.md
+2 −2 examples/integration/MODULE.bazel
+0 −2 examples/integration/bazel_6.bazelrc
+13 −1 examples/integration/iOSApp/Source/BUILD
+39 −0 examples/integration/iOSApp/Source/localizable.bzl
+0 −129 examples/integration/platform_mappings
+0 −129 examples/integration/platform_mappings-bzlmod_no_repo_map
+31 −31 examples/integration/test/fixtures/bazel-6/bwb_replacements.txt
+31 −31 examples/integration/test/fixtures/bazel-6/bwx_replacements.txt
+31 −31 examples/integration/test/fixtures/bazel-8/bwb_replacements.txt
+6,193 −6,185 examples/integration/test/fixtures/bwb.xcodeproj/project.pbxproj
+23 −23 examples/integration/test/fixtures/bwb.xcodeproj/rules_xcodeproj/bazel/AppStore-swift_debug_settings.py
+23 −23 examples/integration/test/fixtures/bwb.xcodeproj/rules_xcodeproj/bazel/Debug-swift_debug_settings.py
+1,129 −1,129 examples/integration/test/fixtures/bwb.xcodeproj/rules_xcodeproj/external.xcfilelist
+178 −174 examples/integration/test/fixtures/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist
+23 −23 examples/integration/test/fixtures/bwb_project_spec.json
+2,760 −2,756 examples/integration/test/fixtures/bwb_targets_spec.json
+3 −3 examples/integration/test/fixtures/generated/xcodeproj_bwb/defs.bzl
+1 −0 examples/integration/tvOSApp/Source/BUILD
+2 −0 examples/rules_ios/UI/BUILD
+7 −3 examples/rules_ios/UI/ContentView.swift
+6 −0 examples/rules_ios/iOSApp/Source/AssetsPrecompiled.xcassets/Contents.json
+11 −0 examples/rules_ios/iOSApp/Source/AssetsPrecompiled.xcassets/PrecompiledAccentColor.colorset/Contents.json
+13 −0 examples/rules_ios/iOSApp/Source/BUILD
+162 −92 examples/rules_ios/test/fixtures/bwb.xcodeproj/project.pbxproj
+2 −2 examples/rules_ios/test/fixtures/bwb.xcodeproj/rules_xcodeproj/bazel/Debug-swift_debug_settings.py
+4 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/rules_xcodeproj/generated.xcfilelist
+4 −4 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/UI (Framework).xcscheme
+14 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSApp (App).xcscheme
+14 −0 ...les/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppMixedUnitTests (Unit Tests).xcscheme
+14 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppObjCUnitTestSuite.xcscheme
+14 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppObjCUnitTestSuite_macro.xcscheme
+14 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppObjCUnitTests_macro.xcscheme
+14 −0 ...rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppSwiftUnitTestSuite (Unit Tests).xcscheme
+14 −0 ...les/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOSAppSwiftUnitTests (Unit Tests).xcscheme
+14 −0 examples/rules_ios/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOS_App_ObjC_UnitTests.xcscheme
+14 −0 ...s/test/fixtures/bwb.xcodeproj/xcshareddata/xcschemes/iOS_App_ObjC_UnitTests_macro_with_bundle_name.xcscheme
+3 −0 examples/rules_ios/test/fixtures/bwb_project_spec.json
+90 −2 examples/rules_ios/test/fixtures/bwb_targets_spec.json
+0 −109 platform_mappings
+1 −1 shared.bazelrc
+7 −7 test/internal/pbxproj_partials/write_pbxtargetdependencies_tests.bzl
+4 −31 test/internal/pbxproj_partials/write_target_build_settings_tests.bzl
+10 −1 test/internal/xcschemes/infos_from_json_tests.bzl
+19 −25 test/internal/xcschemes/write_schemes_tests.bzl
+7 −1 test/update_all_fixtures.sh
+47 −33 tools/generators/lib/PBXProj/src/ConsumeArgs.swift
+9 −7 tools/generators/pbxnativetargets/src/Generator/CalculateSharedBuildSettings.swift
+6 −15 tools/generators/pbxnativetargets/src/Generator/TargetArguments.swift
+23 −0 tools/generators/pbxnativetargets/test/Generator/CalculateSharedBuildSettingsTests.swift
+4 −2 tools/generators/pbxtargetdependencies/src/Generator/ConsolidationMapArguments.swift
+0 −6 tools/generators/target_build_settings/src/Generator/ProcessArgs.swift
+1 −1 tools/generators/xcschemes/src/Generator/ReadTransitivePreviewReferencesFile.swift
+81 −43 tools/swiftc_stub/main.swift
+1 −2 xcodeproj/internal/automatic_target_info.bzl
+6 −0 xcodeproj/internal/build_settings.bzl
+88 −31 xcodeproj/internal/files/incremental_input_files.bzl
+13 −6 xcodeproj/internal/files/incremental_resources.bzl
+5 −7 xcodeproj/internal/incremental_xcode_targets.bzl
+24 −39 xcodeproj/internal/pbxproj_partials.bzl
+50 −81 xcodeproj/internal/processed_targets/incremental_top_level_targets.bzl
+2 −0 xcodeproj/internal/templates/bazel_build.sh
+1 −2 xcodeproj/internal/xcodeproj_incremental_rule.bzl
+5 −4 xcodeproj/internal/xcodeprojinfo.bzl
+13 −1 xcodeproj/internal/xcschemes/xcscheme_infos.bzl
+6 −3 xcodeproj/internal/xcschemes/xcschemes_execution.bzl
+2 −2 xcodeproj/repositories.bzl