File tree Expand file tree Collapse file tree 8 files changed +7
-16
lines changed Expand file tree Collapse file tree 8 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ option(FIREBASE_CPP_BUILD_TESTS
4444 "Enable the Firebase C++ Build Tests." OFF )
4545option (FIREBASE_FORCE_FAKE_SECURE_STORAGE
4646 "Disable use of platform secret store and use fake impl." OFF )
47- option (FIREBASE_INSTANCE_ID_DESKTOP
48- "Use the experimental Instance Id desktop implementation." OFF )
4947
5048if (WIN32 )
5149 # Turn on the use of the __cplusplus compiler define that is used to detect if
Original file line number Diff line number Diff line change @@ -382,9 +382,7 @@ endif()
382382if (NOT ANDROID AND NOT IOS)
383383 # Add the rest subdirectory, so that other libraries can access it
384384 add_subdirectory (rest)
385- if (FIREBASE_INSTANCE_ID_DESKTOP)
386- add_subdirectory (instance_id)
387- endif ()
385+ add_subdirectory (instance_id)
388386endif ()
389387
390388if (FIREBASE_CPP_BUILD_TESTS)
Original file line number Diff line number Diff line change 5656 "${desktop_SRCS} " )
5757endif ()
5858
59- if (ANDROID OR IOS OR use_stub OR NOT FIREBASE_INSTANCE_ID_DESKTOP )
59+ if (ANDROID OR IOS OR use_stub)
6060 set (additional_link_LIB)
6161else ()
6262 set (additional_link_LIB
Original file line number Diff line number Diff line change @@ -82,14 +82,9 @@ else()
8282 ${FLATBUFFERS_SOURCE_DIR} /include
8383 ${NANOPB_INCLUDE_DIRS}
8484 ${PROJECT_BINARY_DIR} /..)
85- if (FIREBASE_INSTANCE_ID_DESKTOP)
86- set (iid_desktop firebase_instance_id_desktop_impl)
87- else ()
88- set (iid_desktop)
89- endif ()
9085 set (additional_link_LIB
9186 firebase_rest_lib
92- ${iid_desktop}
87+ firebase_instance_id_desktop_impl
9388 flatbuffers)
9489endif ()
9590
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ cd linux_build
2727
2828# Configure cmake with tests enabled
2929# and disable use of libsecret due to not working on kokoro builders
30- cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_FORCE_FAKE_SECURE_STORAGE=ON -DFIREBASE_INSTANCE_ID_DESKTOP=ON
30+ cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_FORCE_FAKE_SECURE_STORAGE=ON
3131
3232# Build the SDK and the tests
3333cmake --build .
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ cd mac_x64_build
2727
2828# Configure cmake with tests enabled
2929# and disable use of libsecret due to not working on kokoro builders
30- cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_FORCE_FAKE_SECURE_STORAGE=ON -DFIREBASE_INSTANCE_ID_DESKTOP=ON
30+ cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_FORCE_FAKE_SECURE_STORAGE=ON
3131
3232# Build the SDK and the tests
3333cmake --build .
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ EXIT /B %status%
4747 mkdir windows_%~1
4848 pushd windows_%~1
4949
50- cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_INSTANCE_ID_DESKTOP=ON - DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER% -DOPENSSL_ROOT_DIR=" %~2 " %~3
50+ cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER% -DOPENSSL_ROOT_DIR=" %~2 " %~3
5151
5252 :: Check for errors, and return if there were any
5353 if %errorlevel% neq 0 (
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ EXIT /B %status%
4747 mkdir windows_%~1
4848 pushd windows_%~1
4949
50- cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DFIREBASE_INSTANCE_ID_DESKTOP=ON - DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER% -DOPENSSL_ROOT_DIR=" %~2 " %~3
50+ cmake .. -DFIREBASE_CPP_BUILD_TESTS=ON -DPROTOBUF_SRC_ROOT_FOLDER=%PROTOBUF_SRC_ROOT_FOLDER% -DOPENSSL_ROOT_DIR=" %~2 " %~3
5151
5252 :: Check for errors, and return if there were any
5353 if %errorlevel% neq 0 (
You can’t perform that action at this time.
0 commit comments