Guard files with the FB_SONARKIT_ENABLED macro
Summary: Guard code with FB_SONARKIT_ENABLED Reviewed By: fabiomassimo Differential Revision: D30576765 fbshipit-source-id: b51d7367c5482add27a5cb18453aedf03001bdc7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9e8ec02bf7
commit
672979b5f8
@@ -5,6 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef FB_SONARKIT_ENABLED
|
||||
|
||||
#import <Flipper/FlipperTransportTypes.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@@ -47,3 +49,5 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef FB_SONARKIT_ENABLED
|
||||
|
||||
#import "FlipperPlatformWebSocket.h"
|
||||
#import <Flipper/Log.h>
|
||||
#import <SocketRocket/SocketRocket.h>
|
||||
@@ -213,3 +215,5 @@ static constexpr int connectionKeepaliveSeconds = 10;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef FB_SONARKIT_ENABLED
|
||||
|
||||
#pragma once
|
||||
|
||||
#import <Flipper/FlipperSocket.h>
|
||||
@@ -87,3 +89,5 @@ class FlipperWebSocketProvider : public FlipperSocketProvider {
|
||||
|
||||
} // namespace flipper
|
||||
} // namespace facebook
|
||||
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef FB_SONARKIT_ENABLED
|
||||
|
||||
#import "FlipperWebSocket.h"
|
||||
#import <Flipper/ConnectionContextStore.h>
|
||||
#import <Flipper/FlipperTransportTypes.h>
|
||||
@@ -240,3 +242,5 @@ void FlipperWebSocket::sendExpectResponse(
|
||||
|
||||
} // namespace flipper
|
||||
} // namespace facebook
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user