File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ rn_package = parse_rn_package_json()
66rn_version = get_rn_version ( rn_package )
77is_hermes_default = is_hermes_default ( rn_version )
88is_profiling_supported = is_profiling_supported ( rn_version )
9+ is_new_hermes_runtime = is_new_hermes_runtime ( rn_version )
910
1011# Use different Folly configuration for RN 0.80.0+
1112if should_use_folly_flags ( rn_version )
1920
2021is_new_arch_enabled = ENV [ "RCT_NEW_ARCH_ENABLED" ] == "1"
2122is_using_hermes = ( ENV [ 'USE_HERMES' ] == nil && is_hermes_default ) || ENV [ 'USE_HERMES' ] == '1'
22- new_arch_enabled_flag = ( is_new_arch_enabled ? folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED" : "" )
23+ new_arch_enabled_flag = ( is_new_arch_enabled ? " -DRCT_NEW_ARCH_ENABLED" : "" )
2324sentry_profiling_supported_flag = ( is_profiling_supported ? " -DSENTRY_PROFILING_SUPPORTED=1" : "" )
24- other_cflags = "$(inherited)" + new_arch_enabled_flag + sentry_profiling_supported_flag
25+ new_hermes_runtime_flag = ( is_new_hermes_runtime ? " -DNEW_HERMES_RUNTIME" : "" )
26+ other_cflags = "$(inherited)" + folly_compiler_flags + new_arch_enabled_flag + sentry_profiling_supported_flag + new_hermes_runtime_flag
2527
2628Pod ::Spec . new do |s |
2729 s . name = 'RNSentry'
You can’t perform that action at this time.
0 commit comments