Skip to content

Commit

Permalink
Enable MALLOC_HEAP_BREAKDOWN in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 29, 2024
1 parent 769498b commit 09364e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Source/cmake/OptionsJSCOnly.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_

WEBKIT_OPTION_BEGIN()
WEBKIT_OPTION_DEFINE(USE_BUN_JSC_ADDITIONS "Whether to enable Bun's JSC additions" PUBLIC OFF)
if (USE_BUN_JSC_ADDITIONS)

if(USE_BUN_JSC_ADDITIONS)
SET_AND_EXPOSE_TO_BUILD(USE_BUN_JSC_ADDITIONS 1)

if (WIN32)
if(WIN32)
SET_AND_EXPOSE_TO_BUILD(JS_NO_EXPORT 1)
endif()
endif()

WEBKIT_OPTION_END()

WEBKIT_OPTION_BEGIN()
WEBKIT_OPTION_DEFINE(ENABLE_MALLOC_HEAP_BREAKDOWN "Whether to enable MALLOC_HEAP_BREAKDOWN" PUBLIC OFF)

Expand Down

0 comments on commit 09364e3

Please sign in to comment.