File tree Expand file tree Collapse file tree 5 files changed +12
-11
lines changed Expand file tree Collapse file tree 5 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ namespace internal {
55
55
class AppInternal;
56
56
} // namespace internal
57
57
58
- #ifdef _STLPORT_VERSION
59
- #warning "Firebase support for STLPort is deprecated and will be removed in \
60
- the next major release. Please use libc++ instead."
58
+ #if FIREBASE_PLATFORM_ANDROID && defined(__GLIBCXX__)
59
+ #warning "Firebase support for gnustl is deprecated and will be removed in \
60
+ the next major release. Please use libc++ instead."
61
61
#endif
62
62
63
63
/// @brief Reports whether a Firebase module initialized successfully.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ sourcepath=$2
5
5
stl=$3
6
6
7
7
if [[ -z " ${buildpath} " || -z " ${sourcepath} " ]]; then
8
- echo " Usage: $0 <build path> <source path> [c++|gnustl|stlport ]"
8
+ echo " Usage: $0 <build path> <source path> [c++|gnustl]"
9
9
exit 1
10
10
fi
11
11
@@ -14,11 +14,11 @@ if [[ ! -d "${sourcepath}" ]]; then
14
14
exit 2
15
15
fi
16
16
17
- if [[ " ${stl} " == " c++" || " ${stl} " == " gnustl" || " ${stl} " == " stlport " ]]; then
17
+ if [[ " ${stl} " == " c++" || " ${stl} " == " gnustl" ]]; then
18
18
export FIREBASE_ANDROID_STL=" ${stl} " _static
19
19
elif [[ ! -z " ${stl} " ]]; then
20
20
echo " Invalid STL specified."
21
- echo " Valid STLs are: 'c++' (default), 'gnustl', or 'stlport '"
21
+ echo " Valid STLs are: 'c++' (default) or 'gnustl '"
22
22
exit 2
23
23
fi
24
24
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -e
2
2
3
- readonly -a allowed_stl_variants=(" c++" " gnustl" " stlport " )
3
+ readonly -a allowed_stl_variants=(" c++" " gnustl" )
4
4
builtpath=$1
5
5
packagepath=$2
6
6
stl=$3
Original file line number Diff line number Diff line change @@ -125,9 +125,6 @@ for c in $(echo "${filename}" | tr "[:upper:]" "[:lower:]" | tr "_.-" "\n\n\n");
125
125
gnustl)
126
126
stl=gnustl
127
127
;;
128
- stlport)
129
- stl=stlport
130
- ;;
131
128
cxx11)
132
129
linux_abi=cxx11
133
130
;;
Original file line number Diff line number Diff line change @@ -363,8 +363,12 @@ code.
363
363
## Release Notes
364
364
365
365
### 8.0.0
366
-
367
366
- Changes
367
+ - General (Android): Firebase no longer supports STLPort. Please
368
+ [ use libc++ instead] ( https://developer.android.com/ndk/guides/cpp-support#cs ) .
369
+ - General (Android): Firebase support for gnustl (also known as libstdc++)
370
+ is deprecated and will be removed in the next major release. Please use
371
+ libc++ instead.
368
372
- Instance Id: Removed support for the previously-deprecated Instance ID SDK.
369
373
- Remote Config: The previously-deprecated static methods have been removed.
370
374
Please use the new instance-based ` firebase::remote_config::RemoteConfig `
You can’t perform that action at this time.
0 commit comments