mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
30 lines
770 B
Python
30 lines
770 B
Python
load("//Config:buck_rule_macros.bzl", "static_library")
|
|
|
|
static_library(
|
|
name = "QrCode",
|
|
srcs = glob([
|
|
"Sources/**/*.swift",
|
|
"Sources/**/*.cpp",
|
|
]) + [
|
|
"Sources/QrCodeInstance.mm"
|
|
],
|
|
has_cpp = True,
|
|
deps = [
|
|
"//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit#shared",
|
|
"//submodules/Display:Display#shared",
|
|
],
|
|
headers = glob([
|
|
"Sources/**/*.hpp",
|
|
]) + [
|
|
"Sources/QrCodeInstance.h"
|
|
],
|
|
exported_headers = [
|
|
"Sources/QrCodeInstance.h"
|
|
],
|
|
frameworks = [
|
|
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
|
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
|
"$SDKROOT/System/Library/Frameworks/CoreImage.framework",
|
|
],
|
|
)
|