use c++_shared as default for Android

This commit is contained in:
shuxin   zheng 2020-03-23 22:35:37 +08:00
parent 15ba8bf57e
commit ad3e645c81

View File

@ -28,8 +28,8 @@ android {
externalNativeBuild {
cmake {
//arguments "-DANDROID_STL=stl_shared"
arguments "-DANDROID_STL=gnustl_shared"
//arguments "-DANDROID_STL=c++_shared"
//arguments "-DANDROID_STL=gnustl_shared"
arguments "-DANDROID_STL=c++_shared"
arguments "-DCMAKE_BUILD_TYPE=RELEASE"
arguments "-DCMAKE_CXX_FLAGS_RELEASE=-O3"
arguments "-DCMAKE_C_FLAGS_RELEASE=-O3"