Skip to content

Commit 031814c

Browse files
authored
Crashlytics - Repo-relative imports and SwiftPM (#5931)
1 parent 52d1707 commit 031814c

File tree

202 files changed

+699
-667
lines changed

Some content is hidden

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

202 files changed

+699
-667
lines changed

Crashlytics/Crashlytics/Components/FIRCLSApplication.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "FIRCLSApplication.h"
15+
#import "Crashlytics/Crashlytics/Components/FIRCLSApplication.h"
1616

17-
#import "FIRCLSHost.h"
18-
#import "FIRCLSUtility.h"
17+
#import "Crashlytics/Crashlytics/Components/FIRCLSHost.h"
18+
#import "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
1919

2020
#if CLS_TARGET_OS_OSX
2121
#import <AppKit/AppKit.h>

Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
#include <stdbool.h>
1818
#include <stdint.h>
1919

20-
#include "FIRCLSFeatures.h"
21-
#include "FIRCLSFile.h"
22-
#include "FIRCLSMachO.h"
20+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFeatures.h"
21+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFile.h"
22+
#include "Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.h"
2323

2424
__BEGIN_DECLS
2525

Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "FIRCLSBinaryImage.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.h"
1616

1717
#include <libkern/OSAtomic.h>
1818
#include <mach-o/dyld.h>
@@ -21,13 +21,13 @@
2121

2222
#include <stdatomic.h>
2323

24-
#include "FIRCLSByteUtility.h"
25-
#include "FIRCLSFeatures.h"
26-
#include "FIRCLSFile.h"
27-
#include "FIRCLSGlobals.h"
28-
#include "FIRCLSHost.h"
29-
#include "FIRCLSMachO.h"
30-
#include "FIRCLSUtility.h"
24+
#include "Crashlytics/Crashlytics/Components/FIRCLSGlobals.h"
25+
#include "Crashlytics/Crashlytics/Components/FIRCLSHost.h"
26+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFeatures.h"
27+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFile.h"
28+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
29+
#include "Crashlytics/Shared/FIRCLSByteUtility.h"
30+
#include "Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.h"
3131

3232
#include <dispatch/dispatch.h>
3333

Crashlytics/Crashlytics/Components/FIRCLSContext.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
#pragma once
1616

17-
#include "FIRCLSAllocate.h"
18-
#include "FIRCLSBinaryImage.h"
19-
#include "FIRCLSException.h"
20-
#include "FIRCLSFeatures.h"
21-
#include "FIRCLSHost.h"
22-
#include "FIRCLSInternalLogging.h"
23-
#include "FIRCLSMachException.h"
24-
#include "FIRCLSSignal.h"
25-
#include "FIRCLSUserLogging.h"
17+
#include "Crashlytics/Crashlytics/Components/FIRCLSBinaryImage.h"
18+
#include "Crashlytics/Crashlytics/Components/FIRCLSHost.h"
19+
#include "Crashlytics/Crashlytics/Components/FIRCLSUserLogging.h"
20+
#include "Crashlytics/Crashlytics/Handlers/FIRCLSException.h"
21+
#include "Crashlytics/Crashlytics/Handlers/FIRCLSMachException.h"
22+
#include "Crashlytics/Crashlytics/Handlers/FIRCLSSignal.h"
23+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSAllocate.h"
24+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFeatures.h"
25+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSInternalLogging.h"
2626

2727
#include <dispatch/dispatch.h>
2828
#include <stdbool.h>

Crashlytics/Crashlytics/Components/FIRCLSContext.m

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "FIRCLSContext.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSContext.h"
1616

1717
#include <stdlib.h>
1818
#include <string.h>
1919

20-
#import "FIRCLSFileManager.h"
21-
#import "FIRCLSInstallIdentifierModel.h"
22-
#import "FIRCLSInternalReport.h"
23-
#import "FIRCLSSettings.h"
24-
25-
#include "FIRCLSApplication.h"
26-
#include "FIRCLSCrashedMarkerFile.h"
27-
#include "FIRCLSDefines.h"
28-
#include "FIRCLSFeatures.h"
29-
#include "FIRCLSGlobals.h"
30-
#include "FIRCLSProcess.h"
31-
#include "FIRCLSUtility.h"
20+
#import "Crashlytics/Crashlytics/Models/FIRCLSFileManager.h"
21+
#import "Crashlytics/Crashlytics/Models/FIRCLSInstallIdentifierModel.h"
22+
#import "Crashlytics/Crashlytics/Models/FIRCLSInternalReport.h"
23+
#import "Crashlytics/Crashlytics/Models/FIRCLSSettings.h"
24+
25+
#include "Crashlytics/Crashlytics/Components/FIRCLSApplication.h"
26+
#include "Crashlytics/Crashlytics/Components/FIRCLSCrashedMarkerFile.h"
27+
#include "Crashlytics/Crashlytics/Components/FIRCLSGlobals.h"
28+
#include "Crashlytics/Crashlytics/Components/FIRCLSProcess.h"
29+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSDefines.h"
30+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFeatures.h"
31+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
3232

3333
// The writable size is our handler stack plus whatever scratch we need. We have to use this space
3434
// extremely carefully, however, because thread stacks always needs to be page-aligned. Only the

Crashlytics/Crashlytics/Components/FIRCLSCrashedMarkerFile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "FIRCLSCrashedMarkerFile.h"
16-
#include "FIRCLSFile.h"
17-
#include "FIRCLSUtility.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSCrashedMarkerFile.h"
16+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFile.h"
17+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
1818

1919
const char *FIRCLSCrashedMarkerFileName = "previously-crashed";
2020

Crashlytics/Crashlytics/Components/FIRCLSGlobals.h

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

15-
#include "FIRCLSContext.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSContext.h"
1616

1717
__BEGIN_DECLS
1818

Crashlytics/Crashlytics/Components/FIRCLSHost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <mach/vm_types.h>
1818
#include <sys/cdefs.h>
1919

20-
#include "FIRCLSFile.h"
20+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFile.h"
2121

2222
typedef struct {
2323
const char* documentDirectoryPath;

Crashlytics/Crashlytics/Components/FIRCLSHost.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "FIRCLSHost.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSHost.h"
1616

1717
#include <mach/mach.h>
1818
#include <sys/mount.h>
1919
#include <sys/sysctl.h>
2020

21-
#import "FIRCLSApplication.h"
22-
#include "FIRCLSDefines.h"
23-
#import "FIRCLSFABHost.h"
24-
#include "FIRCLSFile.h"
25-
#include "FIRCLSGlobals.h"
26-
#include "FIRCLSUtility.h"
21+
#import "Crashlytics/Crashlytics/Components/FIRCLSApplication.h"
22+
#include "Crashlytics/Crashlytics/Components/FIRCLSGlobals.h"
23+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSDefines.h"
24+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFile.h"
25+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
26+
#import "Crashlytics/Shared/FIRCLSFABHost.h"
2727

2828
#if TARGET_OS_IPHONE
2929
#import <UIKit/UIKit.h>

Crashlytics/Crashlytics/Components/FIRCLSProcess.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#include "FIRCLSProcess.h"
16-
#include "FIRCLSDefines.h"
17-
#include "FIRCLSFeatures.h"
18-
#include "FIRCLSGlobals.h"
19-
#include "FIRCLSProfiling.h"
20-
#include "FIRCLSThreadState.h"
21-
#include "FIRCLSUnwind.h"
22-
#include "FIRCLSUtility.h"
15+
#include "Crashlytics/Crashlytics/Components/FIRCLSProcess.h"
16+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSDefines.h"
17+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSFeatures.h"
18+
#include "Crashlytics/Crashlytics/Components/FIRCLSGlobals.h"
19+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSProfiling.h"
20+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSThreadState.h"
21+
#include "Crashlytics/Crashlytics/Unwind/FIRCLSUnwind.h"
22+
#include "Crashlytics/Crashlytics/Helpers/FIRCLSUtility.h"
2323

2424
#include <dispatch/dispatch.h>
2525
#include <objc/message.h>

0 commit comments

Comments
 (0)