Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Infra] Only compile core extension headers once #13993

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRAppInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRAPPINTERNAL_H
#define FIREBASECORE_FIRAPPINTERNAL_H

#import <FirebaseCore/FIRApp.h>

@class FIRComponentContainer;
Expand Down Expand Up @@ -175,3 +178,5 @@ extern NSString *const FIRAuthStateDidChangeInternalNotificationUIDKey;
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRAPPINTERNAL_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRCOMPONENT_H
#define FIREBASECORE_FIRCOMPONENT_H

#import <Foundation/Foundation.h>

@class FIRApp;
Expand Down Expand Up @@ -82,3 +85,5 @@ NS_SWIFT_NAME(init(_:instantiationTiming:creationBlock:));
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRCOMPONENT_H
6 changes: 6 additions & 0 deletions FirebaseCore/Extension/FIRComponentContainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRCOMPONENTCONTAINER_H
#define FIREBASECORE_FIRCOMPONENTCONTAINER_H

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -43,3 +47,5 @@ NS_SWIFT_NAME(FirebaseComponentContainer)
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRCOMPONENTCONTAINER_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRComponentType.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRCOMPONENTTYPE_H
#define FIREBASECORE_FIRCOMPONENTTYPE_H

#import <Foundation/Foundation.h>

@class FIRComponentContainer;
Expand All @@ -33,3 +36,5 @@ NS_SWIFT_NAME(ComponentType)
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRCOMPONENTTYPE_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRHeartbeatLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef FIREBASECORE_FIRHEARTBEATLOGGER_H
#define FIREBASECORE_FIRHEARTBEATLOGGER_H

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -102,3 +105,5 @@ NSString *_Nullable FIRHeaderValueFromHeartbeatsPayload(FIRHeartbeatsPayload *he
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRHEARTBEATLOGGER_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRLIBRARY_H
#define FIREBASECORE_FIRLIBRARY_H

#ifndef FIRLibrary_h
#define FIRLibrary_h

Expand All @@ -37,3 +40,5 @@ NS_SWIFT_NAME(Library)
NS_ASSUME_NONNULL_END

#endif /* FIRLibrary_h */

#endif // FIREBASECORE_FIRLIBRARY_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FIRLogger.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* limitations under the License.
*/

#ifndef FIREBASECORE_FIRLOGGER_H
#define FIREBASECORE_FIRLOGGER_H

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, FIRLoggerLevel);
Expand Down Expand Up @@ -191,3 +194,5 @@ NS_SWIFT_NAME(FirebaseLogger)
@end

NS_ASSUME_NONNULL_END

#endif // FIREBASECORE_FIRLOGGER_H
5 changes: 5 additions & 0 deletions FirebaseCore/Extension/FirebaseCoreInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef FIREBASECORE_FIREBASECOREINTERNAL_H
#define FIREBASECORE_FIREBASECOREINTERNAL_H

@import FirebaseCore;

#import "FIRAppInternal.h"
Expand All @@ -21,3 +24,5 @@
#import "FIRHeartbeatLogger.h"
#import "FIRLibrary.h"
#import "FIRLogger.h"

#endif // FIREBASECORE_FIREBASECOREINTERNAL_H
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# To update, change version below, run bundle install, test,
# touch
ncooke3 marked this conversation as resolved.
Show resolved Hide resolved
# commit Gemfile and Gemfile.lock.
source 'https://rubygems.org'

Expand Down
Loading