File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,10 @@ function(build_firebase_shared LIBRARY_NAME ARTIFACT_NAME OUTPUT_NAME)
88
88
# Link against the static libc++, which is the default done by Gradle.
89
89
"-static-libstdc++"
90
90
)
91
+ add_custom_command (TARGET ${shared_target} POST_BUILD
92
+ COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
93
+ "lib${OUTPUT_NAME} .so"
94
+ COMMENT "Strip debug symbols done on final binary. lib${OUTPUT_NAME} .so" )
91
95
endif ()
92
96
93
97
unity_pack_native(${shared_target} )
Original file line number Diff line number Diff line change @@ -87,6 +87,10 @@ function(build_uni TARGET_LINK_LIB_NAMES PROJECT_LIST_HEADER_VARIABLE)
87
87
# Link against the static libc++, which is the default done by Gradle.
88
88
"-static-libstdc++"
89
89
)
90
+ add_custom_command (TARGET firebase_app_uni POST_BUILD
91
+ COMMAND "${ANDROID_TOOLCHAIN_PREFIX} strip" -g -S -d --strip-debug --verbose
92
+ "lib${FIREBASE_APP_UNI_VERSIONED} .so"
93
+ COMMENT "Strip debug symbols done on final binary. lib${FIREBASE_APP_UNI_VERSIONED} .so" )
90
94
endif ()
91
95
92
96
unity_pack_native(firebase_app_uni)
You can’t perform that action at this time.
0 commit comments