Skip to content

Commit ca41a68

Browse files
committed
Merge branch 'ml-model-downloader' into fis-token
2 parents 822ea9e + 56a9968 commit ca41a68

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Package.swift

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,37 @@ let package = Package(
607607
]
608608
),
609609

610+
.target(
611+
name: "FirebaseMessaging",
612+
dependencies: [
613+
"FirebaseCore",
614+
"FirebaseInstanceID",
615+
"GoogleUtilities_AppDelegateSwizzler",
616+
"GoogleUtilities_Environment",
617+
"GoogleUtilities_Reachability",
618+
"GoogleUtilities_UserDefaults",
619+
],
620+
path: "FirebaseMessaging/Sources",
621+
publicHeadersPath: "Public",
622+
cSettings: [
623+
.headerSearchPath("../../"),
624+
],
625+
linkerSettings: [
626+
.linkedFramework("SystemConfiguration", .when(platforms: .some([.iOS, .macOS, .tvOS]))),
627+
]
628+
),
629+
.testTarget(
630+
name: "MessagingUnit",
631+
dependencies: ["FirebaseMessaging", "OCMock"],
632+
path: "FirebaseMessaging/Tests/UnitTests",
633+
exclude: [
634+
"FIRMessagingContextManagerServiceTest.m", // TODO: Adapt its NSBundle usage to SPM.
635+
],
636+
cSettings: [
637+
.headerSearchPath("../../.."),
638+
]
639+
),
640+
610641
.target(
611642
name: "SharedTestUtilities",
612643
dependencies: ["FirebaseCore", "OCMock"],

0 commit comments

Comments
 (0)