Skip to content

Commit 92065b2

Browse files
author
Isaac
committed
Build experiments
1 parent 2e53aa4 commit 92065b2

File tree

3 files changed

+164
-89
lines changed

3 files changed

+164
-89
lines changed

Telegram/BUILD

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,13 +1779,12 @@ ios_application(
17791779
":UrlTypesInfoPlist",
17801780
],
17811781
deps = [
1782-
"//submodules/Display",
1783-
"//submodules/TelegramCore",
1784-
"//submodules/FFMpegBinding",
1782+
#"//submodules/Display",
1783+
#"//submodules/TelegramCore",
1784+
#"//submodules/FFMpegBinding",
17851785
"//third-party/webrtc",
1786-
"//submodules/AsyncDisplayKit",
1787-
"//submodules/ObjCRuntimeUtils",
1788-
1786+
#"//submodules/AsyncDisplayKit",
1787+
#"//submodules/ObjCRuntimeUtils",
17891788
],
17901789
)
17911790

build-system/generate_spm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def escape_swift_string_literal_component(text: str) -> str:
212212
if cxxopts:
213213
combined_lines.append(" .unsafeFlags([")
214214
for flag in cxxopts:
215-
if flag.startswith("-std="):
215+
if flag.startswith("-std=") and False:
216216
if flag != "-std=c++17":
217217
print("{}: Unsupported C++ standard: {}".format(name, flag))
218218
sys.exit(1)
@@ -267,8 +267,8 @@ def escape_swift_string_literal_component(text: str) -> str:
267267
print("Unknown module type: {}".format(module["type"]))
268268
sys.exit(1)
269269

270-
combined_lines.append(" ],")
271-
combined_lines.append(" cxxLanguageStandard: .cxx17")
270+
combined_lines.append(" ]")
271+
#combined_lines.append(" cxxLanguageStandard: .cxx17")
272272
combined_lines.append(")")
273273
combined_lines.append("")
274274

0 commit comments

Comments
 (0)