Skip to content

Commit

Permalink
build cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 9, 2025
1 parent 223d949 commit a561357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 69 deletions.
69 changes: 1 addition & 68 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -199,51 +199,8 @@
'src/common/callbackhelper.cpp',
'src/common/edge.cpp'
]
},
{
'conditions': [
[
'"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"',
{
'conditions': [
[
'"<!((pkg-config mono-2 --libs 2>/dev/null) || echo not_found)"!="not_found"',
{
'sources+': [
'src/mono/clractioncontext.cpp',
'src/mono/clrfunc.cpp',
'src/mono/clrfuncinvokecontext.cpp',
'src/mono/monoembedding.cpp',
'src/mono/task.cpp',
'src/mono/dictionary.cpp',
'src/mono/nodejsfunc.cpp',
'src/mono/nodejsfuncinvokecontext.cpp',
'src/mono/utils.cpp',
'src/common/utils.cpp',
'src/common/v8synchronizationcontext.cpp',
'src/common/callbackhelper.cpp',
'src/common/edge.cpp'
],

'include_dirs': [
'<!@(pkg-config mono-2 --cflags-only-I | sed s/-I//g)',
'<!@(pkg-config glib-2.0 --cflags-only-I | sed s/-I//g)',
],
'link_settings': {
'libraries': [
'<!@(pkg-config mono-2 --libs)'
]
}
}
]
],
},
{
'type': 'none'
}
]
]
}

]
],
'configurations': {
Expand Down Expand Up @@ -313,30 +270,6 @@
},
{
'conditions': [
[
'"<!((which mono 2>/dev/null) || echo not_found)"!="not_found"',
{
'actions+': [
{
'action_name': 'compile_mono_embed',
'inputs': [
'src/mono/*.cs'
],
'outputs': [
'build/$(BUILDTYPE)/monoembedding.exe'
],
'action': [
'mcs',
'-sdk:4.5',
'-target:exe',
'-out:build/$(BUILDTYPE)/MonoEmbedding.exe',
'src/mono/*.cs',
'src/common/*.cs'
]
}
]
}
],
[
'"<!((which dotnet 2>/dev/null) || echo not_found)"!="not_found"',
{
Expand Down
2 changes: 1 addition & 1 deletion tools/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ call :node_version
pushd %SELF%\..

if %MAJORVERSION% LSS 23 (
call :build ia32 x86 %VERSION%
call :build ia32 ia32 %VERSION%
call :stamp_version
call :copy
if %ERRORLEVEL% neq 0 exit /b -1
Expand Down

0 comments on commit a561357

Please sign in to comment.