Skip to content

Commit 7e31c10

Browse files
feat: use swift_library_group for library products (#883)
This also changes the names of targets to have a `.rpm` suffix, and visibility limited to their own repo (you need to depend on the library product, not the underlying targets). Signed-off-by: Brentley Jones <[email protected]>
1 parent 16ba0c2 commit 7e31c10

File tree

67 files changed

+3780
-5388
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3780
-5388
lines changed

examples/firebase_example/abtesting/SharedApp/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ swift_library(
1616
# app. This example does not compile without it.
1717
# https://firebase.google.com/docs/ios/setup#add-sdks
1818
# keep
19-
"@swiftpkg_firebase_ios_sdk//:FirebaseRemoteConfig_Swift_FirebaseRemoteConfig",
20-
"@swiftpkg_firebase_ios_sdk//:SwiftPM-PlatformExclude_FirebaseAnalyticsSwiftWrap_FirebaseAnalyticsSwiftTarget", # keep
19+
"@swiftpkg_firebase_ios_sdk//:FirebaseAnalyticsSwift", # keep
20+
"@swiftpkg_firebase_ios_sdk//:FirebaseRemoteConfig",
2121
],
2222
)

examples/firebase_example/analytics/AnalyticsExample/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ swift_library(
1818
module_name = "AnalyticsExample",
1919
tags = ["manual"],
2020
visibility = ["//visibility:public"],
21-
deps = ["@swiftpkg_firebase_ios_sdk//:SwiftPM-PlatformExclude_FirebaseAnalyticsWithoutAdIdSupportWrap_FirebaseAnalyticsWithoutAdIdSupportTarget"],
21+
deps = ["@swiftpkg_firebase_ios_sdk//:FirebaseAnalyticsWithoutAdIdSupport"],
2222
)
2323

2424
ios_application(

examples/firebase_example/appdistribution/AppDistributionExample/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ swift_library(
1313
visibility = ["//visibility:public"],
1414
# GH202: Incomplete deps are generated.
1515
deps = [
16-
"@swiftpkg_firebase_ios_sdk//:SwiftPM-PlatformExclude_FirebaseAppDistributionWrap_FirebaseAppDistributionTarget",
16+
"@swiftpkg_firebase_ios_sdk//:FirebaseAppDistribution-Beta",
1717
],
1818
)
1919

examples/firebase_example/crashlytics/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ swift_library(
1717
tags = ["manual"],
1818
visibility = ["//visibility:public"],
1919
deps = [
20-
"@swiftpkg_firebase_ios_sdk//:Crashlytics_FirebaseCrashlytics",
21-
"@swiftpkg_reachability.swift//:Sources_Reachability",
20+
"@swiftpkg_firebase_ios_sdk//:FirebaseCrashlytics",
21+
"@swiftpkg_reachability.swift//:Reachability",
2222
],
2323
)
2424

0 commit comments

Comments
 (0)