File tree Expand file tree Collapse file tree 3 files changed +3
-23
lines changed Expand file tree Collapse file tree 3 files changed +3
-23
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ set(PROJECT_LIST_HEADER "#define PROJECT_LIST(X)")
247
247
list (APPEND PROJECT_LIST_HEADER " X(App)" )
248
248
249
249
# Include Firebase editor tools.
250
- if (DESKTOP AND FIREBASE_INCLUDE_EDITOR_TOOL )
250
+ if (DESKTOP AND APPLE AND FIREBASE_INCLUDE_EDITOR_TOOL )
251
251
add_subdirectory (editor )
252
252
endif ()
253
253
Original file line number Diff line number Diff line change @@ -138,27 +138,7 @@ if(FIREBASE_INCLUDE_UNITY)
138
138
"${UNITY_CSHARP_BUILD_EXE} " NAME
139
139
)
140
140
141
- # On Linux, Unity's mono distribution can fail to execute build tools in a
142
- # non-clean environment so wrap in a script that clears the environment.
143
- if (CMAKE_HOST_UNIX AND NOT CMAKE_HOST_APPLE )
144
- set (UNITY_CSHARP_BUILD_WRAPPER_DIR
145
- "${CMAKE_CURRENT_BINARY_DIR} /unity_csharp_build_wrapper"
146
- )
147
- set (UNITY_CSHARP_BUILD_WRAPPER
148
- "${UNITY_CSHARP_BUILD_WRAPPER_DIR} /${UNITY_CSHARP_BUILD_EXE_NAME} "
149
- )
150
- file (MAKE_DIRECTORY "${UNITY_CSHARP_BUILD_WRAPPER_DIR} " )
151
- # Copy the build script to preserve the executable bit.
152
- file (COPY "${UNITY_CSHARP_BUILD_EXE} "
153
- DESTINATION "${UNITY_CSHARP_BUILD_WRAPPER_DIR} "
154
- )
155
- file (WRITE "${UNITY_CSHARP_BUILD_WRAPPER} "
156
- "#!/bin/sh\n env -i ${UNITY_CSHARP_BUILD_EXE} \$ @\n "
157
- )
158
- set (UNITY_CSHARP_BUILD_EXE "${UNITY_CSHARP_BUILD_WRAPPER} "
159
- CACHE STRING "" FORCE
160
- )
161
- elseif (CMAKE_HOST_WIN32 )
141
+ if (CMAKE_HOST_WIN32 )
162
142
# Mono that is packaged with unity has a bug in resgen.bat where it
163
143
# incorrectly forwards arguments. Resgen.bat gets passed an argument
164
144
# like 'a,b' and incorrectly forwards it as 'a b'. Copy the mono folder
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ set(firebase_firestore_src
66
66
src/ListenerRegistration.cs
67
67
src/ListenerRegistrationMap.cs
68
68
src/LoadBundleTaskProgress.cs
69
- src/Metadatachanges .cs
69
+ src/MetadataChanges .cs
70
70
src/MonoPInvokeCallbackAttribute.cs
71
71
src/Query.cs
72
72
src/QuerySnapshot.cs
You can’t perform that action at this time.
0 commit comments