node/test/js-native-api/test_cannot_run_js/binding.gyp
legendecas 178dff255f test: avoid copying test source files
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: https://github.com/nodejs/node/pull/49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
2023-09-10 06:11:36 +00:00

19 lines
337 B
Python

{
"targets": [
{
"target_name": "test_cannot_run_js",
"sources": [
"test_cannot_run_js.c"
],
"defines": [ "NAPI_EXPERIMENTAL" ],
},
{
"target_name": "test_pending_exception",
"sources": [
"test_cannot_run_js.c"
],
"defines": [ "NAPI_VERSION=8" ],
}
]
}