File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed
GoogleDataTransport/GDTCCTLibrary Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 27
27
#import " GoogleDataTransport/GDTCORLibrary/Public/GDTCOREvent.h"
28
28
#import " GoogleDataTransport/GDTCORLibrary/Public/GDTCORPlatform.h"
29
29
30
+ #if SWIFT_PACKAGE
31
+ #import " nanopb.h"
32
+ #else
30
33
#import < nanopb/pb.h>
31
34
#import < nanopb/pb_decode.h>
32
35
#import < nanopb/pb_encode.h>
36
+ #endif
33
37
34
38
#import " GoogleDataTransport/GDTCCTLibrary/Public/GDTCOREvent+GDTCCTSupport.h"
35
39
Original file line number Diff line number Diff line change 22
22
#import " GoogleDataTransport/GDTCORLibrary/Public/GDTCORRegistrar.h"
23
23
#import " GoogleDataTransport/GDTCORLibrary/Public/GDTCORStorageProtocol.h"
24
24
25
+ #if SWIFT_PACKAGE
26
+ #import " nanopb.h"
27
+ #else
25
28
#import < nanopb/pb.h>
26
29
#import < nanopb/pb_decode.h>
27
30
#import < nanopb/pb_encode.h>
31
+ #endif
28
32
29
33
#import " GoogleDataTransport/GDTCCTLibrary/Private/GDTCCTCompressionHelper.h"
30
34
#import " GoogleDataTransport/GDTCCTLibrary/Private/GDTCCTNanopbHelpers.h"
Original file line number Diff line number Diff line change 19
19
20
20
#ifndef PB_GDT_CCT_CCT_NANOPB_H_INCLUDED
21
21
#define PB_GDT_CCT_CCT_NANOPB_H_INCLUDED
22
+ #if SWIFT_PACKAGE
23
+ #include "nanopb.h"
24
+ #else
22
25
#include <nanopb/pb.h>
26
+ #endif
23
27
24
28
/* @@protoc_insertion_point(includes) */
25
29
#if PB_PROTO_HEADER_VERSION != 30
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ let package = Package(
268
268
path: " . " ,
269
269
sources: [
270
270
" GoogleDataTransport/GDTCORLibrary " ,
271
- " GoogleDataTransportCCTSupport /GDTCCTLibrary" ,
271
+ " GoogleDataTransport /GDTCCTLibrary" ,
272
272
] ,
273
273
publicHeadersPath: " GoogleDataTransport/GDTCORLibrary/Public " ,
274
274
cSettings: [
You can’t perform that action at this time.
0 commit comments