mirror of
https://github.com/nodejs/node.git
synced 2025-05-03 03:56:02 +00:00

The convention for js-native-api/<test_name>: * <test_name>.c or <test_name>.cc has the entry point * The name of the target is <test_name> PR-URL: https://github.com/nodejs/node/pull/38692 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
13 lines
208 B
Python
13 lines
208 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'test_new_target',
|
|
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
|
|
'sources': [
|
|
'../entry_point.c',
|
|
'test_new_target.c'
|
|
]
|
|
}
|
|
]
|
|
}
|