mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Try again
This commit is contained in:
parent
edbbaff5aa
commit
58695a9d5a
3
.bazelrc
3
.bazelrc
@ -35,3 +35,6 @@ build --spawn_strategy=standalone
|
|||||||
build --strategy=SwiftCompile=standalone
|
build --strategy=SwiftCompile=standalone
|
||||||
build --define RULES_SWIFT_BUILD_DUMMY_WORKER=1
|
build --define RULES_SWIFT_BUILD_DUMMY_WORKER=1
|
||||||
|
|
||||||
|
build --apple_crosstool_top=@local_config_apple_cc//:toolchain
|
||||||
|
build --crosstool_top=@local_config_apple_cc//:toolchain
|
||||||
|
build --host_crosstool_top=@local_config_apple_cc//:toolchain
|
||||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -10,7 +10,7 @@ url=https://github.com/ali-fareed/rules_apple.git
|
|||||||
url=https://github.com/bazelbuild/rules_swift.git
|
url=https://github.com/bazelbuild/rules_swift.git
|
||||||
[submodule "build-system/bazel-rules/apple_support"]
|
[submodule "build-system/bazel-rules/apple_support"]
|
||||||
path = build-system/bazel-rules/apple_support
|
path = build-system/bazel-rules/apple_support
|
||||||
url = https://github.com/bazelbuild/apple_support.git
|
url=https://github.com/ali-fareed/apple_support.git
|
||||||
[submodule "submodules/TgVoip/libtgvoip"]
|
[submodule "submodules/TgVoip/libtgvoip"]
|
||||||
path = submodules/TgVoip/libtgvoip
|
path = submodules/TgVoip/libtgvoip
|
||||||
url = https://github.com/telegramdesktop/libtgvoip.git
|
url = https://github.com/telegramdesktop/libtgvoip.git
|
||||||
|
@ -740,7 +740,7 @@ genrule(
|
|||||||
name = "StripWatchosStubBinary",
|
name = "StripWatchosStubBinary",
|
||||||
cmd_bash =
|
cmd_bash =
|
||||||
"""
|
"""
|
||||||
echo 'lipo -remove arm64e -remove arm64 $$1/TelegramWatch.app/_WatchKitStub/WK -output $$1/TelegramWatch.app/_WatchKitStub/WK && lipo -remove arm64e -remove arm64 $$1/TelegramWatch.app/TelegramWatch -output $$1/TelegramWatch.app/TelegramWatch' > $(location StripWatchosStubBinary.sh)
|
echo 'lipo -remove arm64e $$1/TelegramWatch.app/_WatchKitStub/WK -output $$1/TelegramWatch.app/_WatchKitStub/WK && lipo -remove arm64e $$1/TelegramWatch.app/TelegramWatch -output $$1/TelegramWatch.app/TelegramWatch' > $(location StripWatchosStubBinary.sh)
|
||||||
echo '' >> $(location StripWatchosStubBinary.sh)
|
echo '' >> $(location StripWatchosStubBinary.sh)
|
||||||
""",
|
""",
|
||||||
outs = [
|
outs = [
|
||||||
@ -1970,7 +1970,7 @@ ios_application(
|
|||||||
}),
|
}),
|
||||||
watch_application = select({
|
watch_application = select({
|
||||||
":disableExtensionsSetting": None,
|
":disableExtensionsSetting": None,
|
||||||
"//conditions:default": None,#":TelegramWatchApp",
|
"//conditions:default": ":TelegramWatchApp",
|
||||||
}) if telegram_enable_watch else None,
|
}) if telegram_enable_watch else None,
|
||||||
deps = [
|
deps = [
|
||||||
":Main",
|
":Main",
|
||||||
|
@ -191,7 +191,7 @@ class BazelCommandLine:
|
|||||||
'--ios_multi_cpus=arm64',
|
'--ios_multi_cpus=arm64',
|
||||||
|
|
||||||
# Always build universal Watch binaries.
|
# Always build universal Watch binaries.
|
||||||
'--watchos_cpus=armv7k,arm64_32',
|
'--watchos_cpus=armv7k,arm64_32,arm64',
|
||||||
|
|
||||||
# Generate DSYM files when building.
|
# Generate DSYM files when building.
|
||||||
'--apple_generate_dsym',
|
'--apple_generate_dsym',
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 7cecc126925fef811c274b10b99329179574f9cb
|
Subproject commit 12fc37b370ff460c8712f16eb61a4d1f5abfc565
|
Loading…
x
Reference in New Issue
Block a user