The `crdtp` library in the inspector_protocol is compiled as a library and linked to the node executable. PR-URL: https://github.com/nodejs/node/pull/56649 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
44 lines
992 B
Python
44 lines
992 B
Python
{
|
|
'variables': {
|
|
'crdtp_sources': [
|
|
'crdtp/cbor.cc',
|
|
'crdtp/cbor.h',
|
|
'crdtp/dispatch.cc',
|
|
'crdtp/dispatch.h',
|
|
'crdtp/error_support.cc',
|
|
'crdtp/error_support.h',
|
|
'crdtp/export.h',
|
|
'crdtp/find_by_first.h',
|
|
'crdtp/frontend_channel.h',
|
|
'crdtp/json.cc',
|
|
'crdtp/json.h',
|
|
'crdtp/json_platform.cc',
|
|
'crdtp/json_platform.h',
|
|
'crdtp/maybe.h',
|
|
'crdtp/parser_handler.h',
|
|
'crdtp/protocol_core.cc',
|
|
'crdtp/protocol_core.h',
|
|
'crdtp/serializable.cc',
|
|
'crdtp/serializable.h',
|
|
'crdtp/span.cc',
|
|
'crdtp/span.h',
|
|
'crdtp/status.cc',
|
|
'crdtp/status.h',
|
|
]
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'crdtp',
|
|
'type': 'static_library',
|
|
'include_dirs': [ '.' ],
|
|
'direct_dependent_settings': {
|
|
# Use like `#include "crdtp/json.h"`
|
|
'include_dirs': [ '.' ],
|
|
},
|
|
'sources': [
|
|
'<@(crdtp_sources)',
|
|
],
|
|
},
|
|
]
|
|
}
|