mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
49 lines
968 B
Python
49 lines
968 B
Python
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
|
|
|
objc_library(
|
|
name = "LottieCpp",
|
|
enable_modules = True,
|
|
module_name = "LottieCpp",
|
|
srcs = glob([
|
|
"Sources/**/*.m",
|
|
"Sources/**/*.mm",
|
|
"Sources/**/*.h",
|
|
"Sources/**/*.c",
|
|
"Sources/**/*.cpp",
|
|
"Sources/**/*.hpp",
|
|
]),
|
|
copts = [
|
|
"-Werror",
|
|
"-I{}/Sources".format(package_name()),
|
|
],
|
|
hdrs = glob([
|
|
"PublicHeaders/**/*.h",
|
|
]),
|
|
includes = [
|
|
"PublicHeaders",
|
|
],
|
|
deps = [
|
|
],
|
|
sdk_frameworks = [
|
|
"Foundation",
|
|
],
|
|
visibility = [
|
|
"//visibility:public",
|
|
],
|
|
)
|
|
|
|
cc_library(
|
|
name = "LottieCppBinding",
|
|
srcs = [],
|
|
hdrs = glob([
|
|
"PublicHeaders/**/*.h",
|
|
]),
|
|
includes = [
|
|
"PublicHeaders",
|
|
],
|
|
copts = [],
|
|
visibility = ["//visibility:public"],
|
|
linkstatic = 1,
|
|
tags = ["swift_module=LottieCppBinding"],
|
|
)
|