mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-07-31 11:37:25 +02:00
- Migrated project to latest Telegram iOS base (v12.3.2+) - Fixed circular dependency between GhostModeManager and MiscSettingsManager - Fixed multiple Bazel build configuration errors (select() default conditions) - Fixed duplicate type definitions in PeerInfoScreen - Fixed swiftmodule directory resolution in build scripts - Added Ghostgram Settings tab in main Settings menu with all 5 features - Cleared sensitive credentials from config.json (template-only now) - Excluded bazel-cache from version control
47 lines
1.1 KiB
Python
47 lines
1.1 KiB
Python
|
|
arch_specific_crc32c_sources = select({
|
|
"@build_bazel_rules_apple//apple:ios_arm64": [
|
|
"third_party/crc32c/src/crc32c_arm64.cc",
|
|
],
|
|
"//build-system:ios_sim_arm64": [
|
|
"third_party/crc32c/src/crc32c_arm64.cc",
|
|
],
|
|
"//conditions:default": [
|
|
"third_party/crc32c/src/crc32c_arm64.cc",
|
|
],
|
|
})
|
|
|
|
crc32c_sources = ["third_party/crc32c/src/" + x for x in [
|
|
"crc32c_portable.cc",
|
|
"crc32c.cc",
|
|
"crc32c_arm64.h",
|
|
"crc32c_internal.h",
|
|
"crc32c_prefetch.h",
|
|
"crc32c_read_le.h",
|
|
"crc32c_round_up.h",
|
|
"crc32c_sse42.h",
|
|
"crc32c_sse42_check.h",
|
|
"crc32c_arm64_check.h",
|
|
]] + arch_specific_crc32c_sources
|
|
|
|
cc_library(
|
|
name = "crc32c",
|
|
hdrs = [
|
|
"third_party/crc32c/src/include/crc32c/crc32c.h",
|
|
"third_party/crc32c/src/include/crc32c/crc32c_config.h",
|
|
],
|
|
srcs = crc32c_sources,
|
|
copts = [
|
|
"-Ithird-party/webrtc/crc32c/third_party/crc32c/src/include"
|
|
],
|
|
cxxopts = [
|
|
"-std=c++17",
|
|
],
|
|
deps = [
|
|
],
|
|
includes = [
|
|
".",
|
|
],
|
|
visibility = ["//visibility:public"],
|
|
)
|