Skip to content

Commit

Permalink
Local PixelKit package replaced with BSK's PixelKit (#2656)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1205842942115003/1206999268603553/f

**Description**:
Replaced local PixelKit with BSK's PixelKit
  • Loading branch information
federicocappelli authored Apr 22, 2024
1 parent d1cdb61 commit 829f952
Show file tree
Hide file tree
Showing 22 changed files with 192 additions and 1,907 deletions.
379 changes: 176 additions & 203 deletions DuckDuckGo.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "b8f0e5db431c63943b509d522c157f870ef03ae0",
"version" : "138.0.0"
"revision" : "4ec92e6b94076c53b9b2d34fdcbc2b52cecf9c8e",
"version" : "138.1.0"
}
},
{
Expand Down Expand Up @@ -120,7 +120,7 @@
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "46989693916f56d1186bd59ac15124caef896560",
"version" : "1.3.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,6 @@
ReferencedContainer = "container:LocalPackages/SyncUI">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PixelKitTests"
BuildableName = "PixelKitTests"
BlueprintName = "PixelKitTests"
ReferencedContainer = "container:LocalPackages/PixelKit">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand All @@ -177,16 +167,6 @@
ReferencedContainer = "container:LocalPackages/NetworkProtectionMac">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "NetworkProtectionTests"
BuildableName = "NetworkProtectionTests"
BlueprintName = "NetworkProtectionTests"
ReferencedContainer = "container:../BrowserServicesKit">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,6 @@
ReferencedContainer = "container:LocalPackages/NetworkProtectionMac">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PixelKitTests"
BuildableName = "PixelKitTests"
BlueprintName = "PixelKitTests"
ReferencedContainer = "container:LocalPackages/PixelKit">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand All @@ -208,16 +198,6 @@
ReferencedContainer = "container:LocalPackages/DataBrokerProtection">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "NetworkProtectionTests"
BuildableName = "NetworkProtectionTests"
BlueprintName = "NetworkProtectionTests"
ReferencedContainer = "container:../BrowserServicesKit">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
5 changes: 2 additions & 3 deletions LocalPackages/DataBrokerProtection/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ let package = Package(
targets: ["DataBrokerProtection"])
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "138.0.0"),
.package(path: "../PixelKit"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "138.1.0"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../XPCHelper"),
],
Expand All @@ -39,9 +38,9 @@ let package = Package(
name: "DataBrokerProtection",
dependencies: [
.product(name: "BrowserServicesKit", package: "BrowserServicesKit"),
.product(name: "PixelKit", package: "PixelKit"),
.product(name: "SwiftUIExtensions", package: "SwiftUIExtensions"),
.byName(name: "XPCHelper"),
.product(name: "PixelKit", package: "BrowserServicesKit"),
],
resources: [.process("Resources")],
swiftSettings: [
Expand Down
10 changes: 5 additions & 5 deletions LocalPackages/NetworkProtectionMac/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ let package = Package(
.library(name: "NetworkProtectionUI", targets: ["NetworkProtectionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "138.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "138.1.0"),
.package(path: "../XPCHelper"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../LoginItems"),
.package(path: "../PixelKit"),
],
targets: [
// MARK: - NetworkProtectionIPC
Expand All @@ -45,6 +44,7 @@ let package = Package(
dependencies: [
.product(name: "NetworkProtection", package: "BrowserServicesKit"),
.product(name: "XPCHelper", package: "XPCHelper"),
.product(name: "PixelKit", package: "BrowserServicesKit"),
],
swiftSettings: [
.define("DEBUG", .when(configuration: .debug))
Expand All @@ -57,7 +57,7 @@ let package = Package(
name: "NetworkProtectionProxy",
dependencies: [
.product(name: "NetworkProtection", package: "BrowserServicesKit"),
.product(name: "PixelKit", package: "PixelKit"),
.product(name: "PixelKit", package: "BrowserServicesKit"),
],
swiftSettings: [
.define("DEBUG", .when(configuration: .debug))
Expand All @@ -70,9 +70,9 @@ let package = Package(
name: "NetworkProtectionUI",
dependencies: [
.product(name: "NetworkProtection", package: "BrowserServicesKit"),
.product(name: "PixelKit", package: "BrowserServicesKit"),
.product(name: "SwiftUIExtensions", package: "SwiftUIExtensions"),
.product(name: "LoginItems", package: "LoginItems"),
.product(name: "PixelKit", package: "PixelKit"),
],
resources: [
.copy("Resources/Assets.xcassets")
Expand All @@ -88,7 +88,7 @@ let package = Package(
"NetworkProtectionUI",
.product(name: "NetworkProtectionTestUtils", package: "BrowserServicesKit"),
.product(name: "LoginItems", package: "LoginItems"),
.product(name: "PixelKitTestingUtilities", package: "PixelKit"),
.product(name: "PixelKitTestingUtilities", package: "BrowserServicesKit"),
]
),
]
Expand Down
9 changes: 0 additions & 9 deletions LocalPackages/PixelKit/.gitignore

This file was deleted.

This file was deleted.

50 changes: 0 additions & 50 deletions LocalPackages/PixelKit/Package.swift

This file was deleted.

11 changes: 0 additions & 11 deletions LocalPackages/PixelKit/README.md

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 829f952

Please sign in to comment.