File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
crashlytics/src/cpp/android Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ if (FIREBASE_INCLUDE_MONO AND FIREBASE_INCLUDE_UNITY)
71
71
endif ()
72
72
73
73
# Darwin library for security
74
- if (APPLE AND NOT FIREBASE_IOS_BUILD )
74
+ if (APPLE AND NOT FIREBASE_IOS_BUILD AND NOT FIREBASE_ANDROID_BUILD )
75
75
set (FIREBASE_SYSTEM_DEPS
76
76
"-framework Foundation"
77
77
"-framework Security"
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ CMAKE_OPTIONS="${CMAKE_OPTIONS} -DUNITY_ROOT_DIR=${UNITY_ROOT_DIR}"
57
57
CMAKE_OPTIONS=" ${CMAKE_OPTIONS} -DANDROID_NDK=$ANDROID_NDK "
58
58
CMAKE_OPTIONS=" ${CMAKE_OPTIONS} -DCMAKE_TOOLCHAIN_FILE=${list[0]} "
59
59
CMAKE_OPTIONS=" ${CMAKE_OPTIONS} -DANDROID_ABI=armeabi-v7a"
60
+ CMAKE_OPTIONS=" ${CMAKE_OPTIONS} -DFIREBASE_ANDROID_BUILD=true"
61
+ CMAKE_OPTIONS=" ${CMAKE_OPTIONS} -DCMAKE_BUILD_TYPE=release"
60
62
61
63
# Display commands being run.
62
64
set -x
@@ -71,7 +73,7 @@ cmake .. ${CMAKE_OPTIONS} -DANDROID_ABI=armeabi-v7a
71
73
check_exit_code $?
72
74
73
75
# Build the SDK
74
- make -j 8
76
+ make # -j 8
75
77
check_exit_code $?
76
78
77
79
# Package build output into zip
Original file line number Diff line number Diff line change 14
14
15
15
#include " crashlytics/src/cpp/android/crashlytics_android.h"
16
16
17
+ #include < assert.h>
17
18
#include < jni.h>
18
19
19
20
#include " app/src/include/firebase/app.h"
You can’t perform that action at this time.
0 commit comments