mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Build with both systems
This commit is contained in:
parent
1e742ea3f9
commit
c274acfe07
16 changed files with 88 additions and 86 deletions
|
|
@ -12,16 +12,10 @@ static_library(
|
|||
name = "OverlayStatusController",
|
||||
srcs = glob([
|
||||
"Sources/**/*.swift",
|
||||
"Impl/**/*.m",
|
||||
]),
|
||||
headers = glob([
|
||||
"Impl/**/*.h",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Impl/**/*.h",
|
||||
]),
|
||||
deps = [
|
||||
"//submodules/Display:Display#shared",
|
||||
"//submodules/OverlayStatusController/Impl:OverlayStatusControllerImpl",
|
||||
],
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,18 @@
|
|||
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
|
||||
|
||||
filegroup(
|
||||
name = "OverlayStatusControllerResources",
|
||||
srcs = glob([
|
||||
"Resources/**/*",
|
||||
], exclude = ["Resources/**/.*"]),
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "OverlayStatusController",
|
||||
module_name = "OverlayStatusController",
|
||||
data = [
|
||||
":OverlayStatusControllerResources",
|
||||
],
|
||||
srcs = glob([
|
||||
"Sources/**/*.swift",
|
||||
]),
|
||||
|
|
|
|||
15
submodules/OverlayStatusController/Impl/BUCK
Normal file
15
submodules/OverlayStatusController/Impl/BUCK
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
load("//Config:buck_rule_macros.bzl", "static_library")
|
||||
|
||||
static_library(
|
||||
name = "OverlayStatusControllerImpl",
|
||||
srcs = glob([
|
||||
"Sources/**/*.m",
|
||||
]),
|
||||
exported_headers = glob([
|
||||
"Sources/**/*.h",
|
||||
]),
|
||||
frameworks = [
|
||||
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
|
||||
"$SDKROOT/System/Library/Frameworks/UIKit.framework",
|
||||
],
|
||||
)
|
||||
|
|
@ -11,8 +11,6 @@ objc_library(
|
|||
includes = [
|
||||
"Sources",
|
||||
],
|
||||
deps = [
|
||||
],
|
||||
visibility = [
|
||||
"//visibility:public",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue