File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,14 @@ set(app_ios_SRCS
156
156
src/invites/ios/invites_receiver_internal_ios.mm
157
157
src/invites/ios/invites_ios_startup.mm
158
158
src/uuid_ios_darwin.mm )
159
+ if (PLATFORM STREQUAL TVOS )
160
+ # TVOS does not have a web browser and does not support dynamic links.
161
+ # Remove these files if we are building for TVOS.
162
+ list (REMOVE_ITEM app_ios_SRCS
163
+ src/invites/ios/invites_receiver_internal_ios.mm
164
+ src/invites/ios/invites_ios_startup.mm )
165
+ endif ()
166
+
159
167
set (app_desktop_SRCS
160
168
src/app_desktop.cc
161
169
src/heartbeat_date_storage_desktop.cc
Original file line number Diff line number Diff line change 26
26
#include " app/src/reference_counted_future_impl.h"
27
27
#if FIREBASE_PLATFORM_ANDROID
28
28
#include " app/src/invites/android/invites_receiver_internal_android.h"
29
- #elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
29
+ #elif FIREBASE_PLATFORM_IOS
30
30
#include " app/src/invites/ios/invites_receiver_internal_ios.h"
31
31
#else
32
32
#include " app/src/invites/stub/invites_receiver_internal_stub.h"
33
- #endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, FIREBASE_PLATFORM_TVOS
33
+ #endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS
34
34
35
35
namespace firebase {
36
36
namespace invites {
@@ -55,11 +55,11 @@ InvitesReceiverInternal* InvitesReceiverInternal::CreateInstance(
55
55
if (!receiver) {
56
56
#if FIREBASE_PLATFORM_ANDROID
57
57
receiver = new InvitesReceiverInternalAndroid (app);
58
- #elif FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
58
+ #elif FIREBASE_PLATFORM_IOS
59
59
receiver = new InvitesReceiverInternalIos (app);
60
60
#else
61
61
receiver = new InvitesReceiverInternalStub (app);
62
- #endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS, FIREBASE_PLATFORM_TVOS
62
+ #endif // FIREBASE_PLATFORM_ANDROID, FIREBASE_PLATFORM_IOS
63
63
if (!receiver->initialized ()) {
64
64
delete receiver;
65
65
return nullptr ;
You can’t perform that action at this time.
0 commit comments