Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions GoogleSignInSwift/Sources/GoogleSignInButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

#if !arch(arm)

import SwiftUI
import CoreGraphics

Expand Down Expand Up @@ -191,3 +193,5 @@ private extension Font {
return CTFontManagerRegisterGraphicsFont(newFont, nil)
}
}

#endif // !arch(arm)
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

#if !arch(arm)

import Foundation

// MARK: - Bundle Extensions
Expand Down Expand Up @@ -62,3 +64,5 @@ extension Bundle {
return bundle?.url(forResource: name, withExtension: ext)
}
}

#endif // !arch(arm)
4 changes: 4 additions & 0 deletions GoogleSignInSwift/Sources/GoogleSignInButtonStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

#if !arch(arm)

import Foundation

/// A type retrieving the localized strings for the sign-in button text.
Expand Down Expand Up @@ -56,3 +58,5 @@ struct GoogleSignInButtonString {
return localizedString(key: wideButtonText, text: "No translation")
}
}

#endif // !arch(arm)
4 changes: 4 additions & 0 deletions GoogleSignInSwift/Sources/GoogleSignInButtonStyling.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

#if !arch(arm)

import SwiftUI

// MARK: - Sizing Constants
Expand Down Expand Up @@ -280,3 +282,5 @@ struct SwiftUIButtonStyle: ButtonStyle {
)
}
}

#endif // !arch(arm)
4 changes: 4 additions & 0 deletions GoogleSignInSwift/Sources/GoogleSignInButtonViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* limitations under the License.
*/

#if !arch(arm)

import Combine

/// A view model for the SwiftUI sign-in button publishing changes for the
Expand Down Expand Up @@ -47,3 +49,5 @@ public class GoogleSignInButtonViewModel: ObservableObject {
self.state = state
}
}

#endif // !arch(arm)