@@ -9,16 +9,16 @@ let package = Package(
9
9
. library( name: " Viaduct " , targets: [ " Viaduct " ] ) ,
10
10
. library( name: " Nimbus " , targets: [ " Nimbus " ] ) ,
11
11
. library( name: " CrashTest " , targets: [ " CrashTest " ] ) ,
12
- // TODO: more of our components here, once they support M1 builds.
13
- //.library(name: "Logins", targets: ["Logins"]),
14
- //.library(name: "FxAClient", targets: ["FxAClient"]),
12
+ . library( name: " Logins " , targets: [ " Logins " ] ) ,
13
+ . library( name: " FxAClient " , targets: [ " FxAClient " ] ) ,
14
+ . library( name: " Autofill " , targets: [ " Autofill " ] ) ,
15
+ . library( name: " Push " , targets: [ " Push " ] ) ,
16
+ . library( name: " Tabs " , targets: [ " Tabs " ] ) ,
15
17
] ,
16
18
dependencies: [
17
19
// TODO: ship Glean via this same bundle?
18
20
. package ( name: " Glean " , url: " https://github.com/mozilla/glean-swift " , from: " 39.0.4 " ) ,
19
- // TODO: this external dependency is required for FxAClient,
20
- // leaving it here as an example for now.
21
- //.package(name: "SwiftKeychainWrapper", url: "https://github.com/jrendel/SwiftKeychainWrapper", from: "4.0.1")
21
+ . package ( name: " SwiftKeychainWrapper " , url: " https://github.com/jrendel/SwiftKeychainWrapper " , from: " 4.0.1 " )
22
22
] ,
23
23
targets: [
24
24
/*
@@ -38,9 +38,9 @@ let package = Package(
38
38
//
39
39
// For release artifacts, reference the MozillaRustComponents as a URL with checksum.
40
40
//
41
- url: " https://112912 -129966583-gh.circle-artifacts.com/0/dist/MozillaRustComponents.xcframework.zip " ,
42
- checksum: " a67cfdab5e9a52eeb93435b20a4fc2813fe0486113c6eab5d7fa77fcbcb4fa07 "
43
- //
41
+ url: " https://116964 -129966583-gh.circle-artifacts.com/0/dist/MozillaRustComponents.xcframework.zip " ,
42
+ checksum: " 87c570f0f14055020263a38cf45726bee0b890a77a3359c76499756905ca30cc "
43
+
44
44
// For local testing, you can point at an (unzipped) XCFramework that's part of the repo.
45
45
// Note that you have to actually check it in and make a tag for it to work correctly.
46
46
//
@@ -69,17 +69,31 @@ let package = Package(
69
69
name: " CrashTest " ,
70
70
dependencies: [ " MozillaRustComponentsWrapper " ] ,
71
71
path: " generated/crashtest "
72
+ ) ,
73
+ . target(
74
+ name: " Logins " ,
75
+ dependencies: [ " MozillaRustComponentsWrapper " , " Sync15 " ] ,
76
+ path: " generated/logins "
77
+ ) ,
78
+ . target(
79
+ name: " FxAClient " ,
80
+ dependencies: [ " MozillaRustComponentsWrapper " , " SwiftKeychainWrapper " ] ,
81
+ path: " generated/fxa-client "
82
+ ) ,
83
+ . target(
84
+ name: " Autofill " ,
85
+ dependencies: [ " MozillaRustComponentsWrapper " ] ,
86
+ path: " generated/autofill "
87
+ ) ,
88
+ . target(
89
+ name: " Push " ,
90
+ dependencies: [ " MozillaRustComponentsWrapper " ] ,
91
+ path: " generated/push "
92
+ ) ,
93
+ . target(
94
+ name: " Tabs " ,
95
+ dependencies: [ " MozillaRustComponentsWrapper " ] ,
96
+ path: " generated/tabs "
72
97
)
73
- // TODO: other components will go here over time.
74
- //.target(
75
- // name: "Logins",
76
- // dependencies: ["MozillaRustComponentsWrapper", "Sync15"],
77
- // path: "external/application-services/components/logins/ios"
78
- //),
79
- //.target(
80
- // name: "FxAClient",
81
- // dependencies: ["MozillaRustComponentsWrapper", "SwiftKeychainWrapper"],
82
- // path: "external/application-services/components/fxa-client/ios"
83
- //),
84
98
]
85
99
)
0 commit comments