File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,13 @@ function build_host_hermesc {
42
42
43
43
# Utility function to configure an Apple framework
44
44
function configure_apple_framework {
45
- local build_cli_tools
45
+ local build_cli_tools enable_debugger xcode_15_flags xcode_major_version
46
+
47
+ if [[ $BUILD_TYPE == " Debug" ]]; then
48
+ enable_debugger=" true"
49
+ else
50
+ enable_debugger=" false"
51
+ fi
46
52
47
53
if [[ $1 == macosx ]]; then
48
54
build_cli_tools=" true"
@@ -62,7 +68,7 @@ function configure_apple_framework {
62
68
-DHERMES_APPLE_TARGET_PLATFORM:STRING=" $1 " \
63
69
-DCMAKE_OSX_ARCHITECTURES:STRING=" $2 " \
64
70
-DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=" $3 " \
65
- -DHERMES_ENABLE_DEBUGGER:BOOLEAN=true \
71
+ -DHERMES_ENABLE_DEBUGGER:BOOLEAN=" $enable_debugger " \
66
72
-DHERMES_ENABLE_INTL:BOOLEAN=true \
67
73
-DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
68
74
-DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \
You can’t perform that action at this time.
0 commit comments