2023-01-28 04:49:13 +08:00
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
'v8_enable_i18n_support%': 1,
|
2023-03-04 19:59:55 +08:00
|
|
|
'ada_sources': [ 'ada.cpp' ],
|
2023-01-28 04:49:13 +08:00
|
|
|
},
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'ada',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs': ['.'],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': ['.'],
|
|
|
|
},
|
2023-03-04 19:59:55 +08:00
|
|
|
'sources': [ '<@(ada_sources)' ],
|
2023-01-28 04:49:13 +08:00
|
|
|
'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',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
]
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|