Update swift deps
This commit is contained in:
parent
fbc5377676
commit
eb770c72b2
|
@ -15,6 +15,7 @@ cc_library(
|
|||
srcs = glob(["Sources/CNIODarwin/**/*.c", "Sources/CNIODarwin/**/*.h"]),
|
||||
hdrs = glob(["Sources/CNIODarwin/include/**/*.h"]),
|
||||
includes = ["Sources/CNIODarwin/include"],
|
||||
defines = ["__APPLE_USE_RFC_3542"],
|
||||
tags = ["swift_module=CNIODarwin"],
|
||||
)
|
||||
|
||||
|
@ -44,6 +45,21 @@ cc_library(
|
|||
|
||||
|
||||
# Swift libraries
|
||||
swift_library(
|
||||
name = "NIOCore",
|
||||
srcs = glob(["Sources/NIOCore/**/*.swift"]),
|
||||
module_name = "NIOCore",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":NIOConcurrencyHelpers", ":CNIOLinux"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "_NIODataStructures",
|
||||
srcs = glob(["Sources/_NIODataStructures/**/*.swift"]),
|
||||
module_name = "_NIODataStructures",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "NIOConcurrencyHelpers",
|
||||
srcs = glob(["Sources/NIOConcurrencyHelpers/**/*.swift"]),
|
||||
|
@ -52,12 +68,20 @@ swift_library(
|
|||
deps = [":CNIOAtomics"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "NIOEmbedded",
|
||||
srcs = glob(["Sources/NIOEmbedded/**/*.swift"]),
|
||||
module_name = "NIOEmbedded",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":NIOCore", ":_NIODataStructures"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "NIOFoundationCompat",
|
||||
srcs = glob(["Sources/NIOFoundationCompat/**/*.swift"]),
|
||||
module_name = "NIOFoundationCompat",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":NIO"],
|
||||
deps = [":NIO", ":NIOCore"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
|
@ -65,7 +89,15 @@ swift_library(
|
|||
srcs = glob(["Sources/NIOHTTP1/**/*.swift"]),
|
||||
module_name = "NIOHTTP1",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":NIO", ":CNIOHTTPParser", ":NIOConcurrencyHelpers"],
|
||||
deps = [":NIO", ":NIOCore", ":CNIOHTTPParser", ":NIOConcurrencyHelpers"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
name = "NIOPosix",
|
||||
srcs = glob(["Sources/NIOPosix/**/*.swift"]),
|
||||
module_name = "NIOPosix",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":CNIOLinux", ":CNIODarwin", ":CNIOWindows", ":NIOConcurrencyHelpers", ":NIOCore", ":_NIODataStructures"],
|
||||
)
|
||||
|
||||
swift_library(
|
||||
|
@ -82,9 +114,8 @@ swift_library(
|
|||
module_name = "NIO",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":CNIOLinux",
|
||||
":CNIODarwin",
|
||||
":CNIOWindows",
|
||||
":NIOConcurrencyHelpers",
|
||||
":NIOCore",
|
||||
":NIOEmbedded",
|
||||
":NIOPosix",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -7,5 +7,6 @@ swift_library(
|
|||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_github_apple_swift_nio//:NIO",
|
||||
"@com_github_apple_swift_nio//:NIOCore",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -8,6 +8,7 @@ swift_library(
|
|||
deps = [
|
||||
":NIOHPACK",
|
||||
"@com_github_apple_swift_nio//:NIO",
|
||||
"@com_github_apple_swift_nio//:NIOCore",
|
||||
"@com_github_apple_swift_nio//:NIOHTTP1",
|
||||
"@com_github_apple_swift_nio//:NIOConcurrencyHelpers",
|
||||
"@com_github_apple_swift_nio//:NIOTLS",
|
||||
|
@ -21,6 +22,7 @@ swift_library(
|
|||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_github_apple_swift_nio//:NIO",
|
||||
"@com_github_apple_swift_nio//:NIOCore",
|
||||
"@com_github_apple_swift_nio//:NIOHTTP1",
|
||||
"@com_github_apple_swift_nio//:NIOConcurrencyHelpers",
|
||||
],
|
||||
|
|
|
@ -29,6 +29,7 @@ swift_library(
|
|||
":CNIOBoringSSL",
|
||||
":CNIOBoringSSLShims",
|
||||
"@com_github_apple_swift_nio//:NIO",
|
||||
"@com_github_apple_swift_nio//:NIOCore",
|
||||
"@com_github_apple_swift_nio//:NIOConcurrencyHelpers",
|
||||
"@com_github_apple_swift_nio//:NIOTLS",
|
||||
],
|
||||
|
|
|
@ -7,6 +7,7 @@ swift_library(
|
|||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_github_apple_swift_nio//:NIO",
|
||||
"@com_github_apple_swift_nio//:NIOCore",
|
||||
"@com_github_apple_swift_nio//:NIOFoundationCompat",
|
||||
"@com_github_apple_swift_nio//:NIOConcurrencyHelpers",
|
||||
"@com_github_apple_swift_nio//:NIOTLS",
|
||||
|
|
Loading…
Reference in New Issue