Skip to content

Commit de4c258

Browse files
committed
cmake fixes
1 parent 068b5b9 commit de4c258

File tree

30 files changed

+50
-30
lines changed

30 files changed

+50
-30
lines changed

FirebaseCombineSwift/Tests/Unit/FirebaseCombine-unit-Bridging-Header.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
#import "SharedTestUtilities/FIROptionsMock.h"
1717

1818
// Firebase Core
19-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
19+
#import "FirebaseCore/Extension/FirebaseCoreExtension.h"

FirebaseCore/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ endif()
1919
# GoogleUtilities is an external dependency without its own cmake configuration.
2020
include(GoogleUtilities)
2121

22-
file(GLOB headers Sources/Private/*.h Sources/Public/FirebaseCore/*.h)
23-
file(GLOB sources Sources/*.m)
22+
file(GLOB headers Sources/Private/*.h Sources/Public/FirebaseCore/*.h Sources/InternalObjC/*.h)
23+
file(GLOB sources Sources/*.m Sources/InternalObjC/*.m)
2424

2525
podspec_version(version ${PROJECT_SOURCE_DIR}/FirebaseCore.podspec)
2626
firebase_version(firebase_version ${PROJECT_SOURCE_DIR}/FirebaseCore.podspec)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Copyright 2020 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
@import FirebaseCore;
16+
17+
#import "FIRAppInternal.h"
18+
#import "FIRComponent.h"
19+
#import "FIRComponentContainer.h"
20+
#import "FIRComponentType.h"
21+
#import "FIRHeartbeatLogger.h"
22+
#import "FIRLibrary.h"
23+
#import "FIRLogger.h"

FirebaseCore/Sources/FIROptions.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
// limitations under the License.
1414

1515
#import "FirebaseCore/Extension/FIRAppInternal.h"
16-
@import FirebaseCoreInternal;
16+
17+
#import "FirebaseCore/InternalObjC/FirebaseCoreInternal.h"
1718
#if SWIFT_PACKAGE
1819
@import FirebaseCoreInternalObjC;
1920
#endif

FirebaseCore/Tests/SwiftUnit/FirebaseCore-unit-Bridging-Header.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
15+
#import "FirebaseCore/Extension/FirebaseCoreExtension.h"
1616
#import "SharedTestUtilities/ExceptionCatcher.h"
1717
#import "SharedTestUtilities/FIROptionsMock.h"

FirebaseFunctions/Tests/ObjCIntegration/FIRIntegrationTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#import <XCTest/XCTest.h>
1616

17-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
17+
#import "FirebaseCore/Extension/FirebaseCoreExtension.h"
1818
#import "FirebaseFunctions/Tests/ObjCIntegration/FIRFunctions+Internal.h"
1919

2020
@import FirebaseFunctions;

FirebaseInAppMessaging/Sources/DefaultUI/FIRCore+InAppMessagingDisplay.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
18-
1917
// This file contains declarations that should go into FirebaseCore when
2018
// Firebase InAppMessagingDisplay is merged into main. Keep them separate now to help
2119
// with build from development folder and avoid merge conflicts.

FirebaseInAppMessaging/Sources/FIRInAppMessaging.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
#import <Foundation/Foundation.h>
2323

24-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
2524
#import "FirebaseInstallations/Source/Library/Private/FirebaseInstallationsInternal.h"
2625
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"
2726

FirebaseInAppMessaging/Sources/Flows/FIRIAMDisplayCheckOnAnalyticEventsFlow.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#import <TargetConditionals.h>
1818
#if TARGET_OS_IOS || TARGET_OS_TV || TARGET_OS_VISION
1919

20-
#import "FirebaseCore/Extension/FirebaseCoreInternal.h"
2120
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"
2221
#import "Interop/Analytics/Public/FIRAnalyticsInteropListener.h"
2322

0 commit comments

Comments
 (0)