File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.8 )
1+ cmake_minimum_required (VERSION 3.22.1 )
22project (HermesWorker)
33
44set (CMAKE_VERBOSE_MAKEFILE ON )
@@ -46,6 +46,12 @@ target_include_directories(
4646# build shared lib
4747set_target_properties (${PACKAGE_NAME} PROPERTIES LINKER_LANGUAGE CXX)
4848
49+ # Ensure the shared object is linked with the 16 KB page alignment
50+ # required for new Android devices while keeping 4 KB compatibility.
51+ target_link_options (${PACKAGE_NAME} PRIVATE
52+ "-Wl,-z,common-page-size=4096"
53+ "-Wl,-z,max-page-size=16384" )
54+
4955target_link_libraries (
5056 ${PACKAGE_NAME}
5157 log
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-hermes-worker" ,
3- "version" : " 0.5.1 " ,
3+ "version" : " 0.6.0 " ,
44 "description" : " A react-native js woker using hermes runtime" ,
55 "source" : " ./src/index.tsx" ,
66 "main" : " ./lib/commonjs/index.js" ,
You can’t perform that action at this time.
0 commit comments