node/deps/histogram/histogram.gyp
Cheng Zhao 0d575fe61a
gyp: put filenames in variables
PR-URL: https://github.com/nodejs/node/pull/46965
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2023-03-18 10:24:38 +01:00

24 lines
500 B
Python

{
'variables': {
'histogram_sources': [
'src/hdr_histogram.c',
]
},
'targets': [
{
'target_name': 'histogram',
'type': 'static_library',
'cflags': ['-fvisibility=hidden'],
'xcode_settings': {
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
},
'include_dirs': ['src'],
'direct_dependent_settings': {
'include_dirs': [ 'src' ]
},
'sources': [
'<@(histogram_sources)',
]
}
]
}