File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
packages/react-native/ReactAndroid Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -583,7 +583,8 @@ android {
583583 " -DANDROID_STL=c++_shared" ,
584584 " -DANDROID_TOOLCHAIN=clang" ,
585585 " -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" ,
586- " -DCMAKE_POLICY_DEFAULT_CMP0069=NEW" )
586+ " -DCMAKE_POLICY_DEFAULT_CMP0069=NEW" ,
587+ " -DRN_SERIALIZABLE_STATE=ON" )
587588 cppFlags + = " -flto"
588589 cFlags + = " -flto"
589590
Original file line number Diff line number Diff line change @@ -32,6 +32,13 @@ endif(CCACHE_FOUND)
3232# Make sure every shared lib includes a .note.gnu.build-id header
3333add_link_options (-Wl,--build -id)
3434
35+ # Message whether RN_SERIALIZABLE_STATE is on
36+ if (RN_SERIALIZABLE_STATE)
37+ message (STATUS "RN_SERIALIZABLE_STATE is on" )
38+ else ()
39+ message (STATUS "RN_SERIALIZABLE_STATE is off" )
40+ endif ()
41+
3542function (add_react_android_subdir relative_path)
3643 add_subdirectory (${REACT_ANDROID_DIR} /${relative_path} ReactAndroid/${relative_path} )
3744endfunction ()
You can’t perform that action at this time.
0 commit comments