PR-URL: https://github.com/nodejs/node/pull/46410 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Robert Nagy <ronagy@icloud.com>
32 lines
725 B
Python
32 lines
725 B
Python
{
|
|
'variables': {
|
|
'v8_enable_i18n_support%': 1,
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'ada',
|
|
'type': 'static_library',
|
|
'include_dirs': ['.'],
|
|
'direct_dependent_settings': {
|
|
'include_dirs': ['.'],
|
|
},
|
|
'sources': ['ada.cpp'],
|
|
'conditions': [
|
|
['v8_enable_i18n_support==0', {
|
|
'defines': ['ADA_HAS_ICU=0'],
|
|
}],
|
|
['v8_enable_i18n_support==1', {
|
|
'dependencies': [
|
|
'<(icu_gyp_path):icui18n',
|
|
'<(icu_gyp_path):icuuc',
|
|
],
|
|
}],
|
|
['OS=="win" and v8_enable_i18n_support==1', {
|
|
'dependencies': [
|
|
'<(icu_gyp_path):icudata',
|
|
],
|
|
}],
|
|
]
|
|
},
|
|
]
|
|
}
|