@@ -55,34 +55,23 @@ set(android_SRCS
55
55
set (ios_SRCS
56
56
src/ios/remote_config_ios.mm)
57
57
58
- if (NOT PROTOBUF_FOUND)
59
- # Only log a message if building for Desktop, since mobile doesn't care.
60
- if (NOT ANDROID AND NOT IOS)
61
- message (FATAL_ERROR "Unable to find Protobuf, which is needed for Remote \
62
- Configs's desktop implementation. Install Protobuf and add it to \
63
- your PATH, or set the CMake option FIREBASE_INCLUDE_REMOTE_CONFIG \
64
- to OFF to disable the firebase_remote_config build target." )
65
- endif ()
66
- else ()
67
- set (desktop_SRCS
68
- ${PROTO_SRCS}
69
- ${PROTO_HDRS}
70
- ${request_resource_source}
71
- ${request_resource_header}
72
- ${response_resource_source}
73
- ${response_resource_header}
74
- ${FIREBASE_GEN_FILE_DIR} /remote_config/request_generated.h
75
- ${FIREBASE_GEN_FILE_DIR} /remote_config/response_generated.h
76
- src/desktop/rest.cc
77
- src/desktop/config_data.cc
78
- src/desktop/file_manager.cc
79
- src/desktop/metadata.cc
80
- src/desktop/notification_channel.cc
81
- src/desktop/remote_config_desktop.cc
82
- src/desktop/remote_config_request.cc
83
- src/desktop/remote_config_response.cc
84
- )
85
- endif ()
58
+ # Source files used by the desktop implementation.
59
+ set (desktop_SRCS
60
+ ${request_resource_source}
61
+ ${request_resource_header}
62
+ ${response_resource_source}
63
+ ${response_resource_header}
64
+ ${FIREBASE_GEN_FILE_DIR} /remote_config/request_generated.h
65
+ ${FIREBASE_GEN_FILE_DIR} /remote_config/response_generated.h
66
+ src/desktop/rest.cc
67
+ src/desktop/config_data.cc
68
+ src/desktop/file_manager.cc
69
+ src/desktop/metadata.cc
70
+ src/desktop/notification_channel.cc
71
+ src/desktop/remote_config_desktop.cc
72
+ src/desktop/remote_config_request.cc
73
+ src/desktop/remote_config_response.cc
74
+ )
86
75
87
76
if (ANDROID)
88
77
set (remote_config_platform_SRCS
0 commit comments