mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
25 lines
532 B
Python
Vendored
25 lines
532 B
Python
Vendored
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",
|
|
],
|
|
)
|