Signed-off-by: Nad Alaba <37968805+nadalaba@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/63117 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
42 lines
969 B
Python
42 lines
969 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/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)',
|
|
],
|
|
},
|
|
]
|
|
}
|