Skip to content

Commit

Permalink
Update the swiftpkg_build_files_tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Sep 29, 2024
1 parent 1c2dda0 commit 6dba8c0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions swiftpkg/tests/swiftpkg_build_files_tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,6 @@ objc_library(
],
deps = [":ObjcLibrary.rspm_objc"],
enable_modules = True,
hdrs = ["include/external.h"],
includes = ["include"],
module_name = "ObjcLibrary",
sdk_frameworks = select({
Expand All @@ -676,7 +675,6 @@ objc_library(
],
"//conditions:default": [],
}),
textual_hdrs = ["src/foo.m"],
visibility = ["//:__subpackages__"],
)
Expand Down Expand Up @@ -748,7 +746,6 @@ objc_library(
],
deps = [":ObjcLibraryWithModulemap.rspm_objc"],
enable_modules = True,
hdrs = ["include/external.h"],
includes = ["include"],
module_name = "ObjcLibraryWithModulemap",
sdk_frameworks = select({
Expand All @@ -767,7 +764,6 @@ objc_library(
],
"//conditions:default": [],
}),
textual_hdrs = ["src/foo.m"],
visibility = ["//:__subpackages__"],
)
Expand Down Expand Up @@ -1000,7 +996,6 @@ objc_library(
data = [":ObjcLibraryWithResources.rspm_resource_bundle"],
deps = [":ObjcLibraryWithResources.rspm_objc"],
enable_modules = True,
hdrs = ["include/external.h"],
includes = ["include"],
module_name = "ObjcLibraryWithResources",
sdk_frameworks = select({
Expand All @@ -1019,7 +1014,6 @@ objc_library(
],
"//conditions:default": [],
}),
textual_hdrs = ["src/foo.m"],
visibility = ["//:__subpackages__"],
)
Expand All @@ -1031,6 +1025,7 @@ objc_library(
"-fPIC",
"-DSWIFT_PACKAGE=1",
"-Iexternal/bzlmodmangled~swiftpkg_mypackage/src",
"-include$(location :ObjcLibraryWithResources.rspm_objc_resource_bundle_accessor_hdr)",
],
data = [":ObjcLibraryWithResources.rspm_resource_bundle"],
deps = [":ObjcLibraryWithResources.rspm_objc_resource_bundle_accessor_library"],
Expand All @@ -1056,6 +1051,7 @@ objc_library(
srcs = [
"src/foo.m",
"src/foo.h",
":ObjcLibraryWithResources.rspm_objc_resource_bundle_accessor_hdr",
],
textual_hdrs = ["src/foo.m"],
visibility = ["//:__subpackages__"],
Expand Down

0 comments on commit 6dba8c0

Please sign in to comment.