source: node_modules/node-addon-api/common.gypi@ 81bc7da

finki-main main
Last change on this file since 81bc7da was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 724 bytes
RevLine 
[81bc7da]1{
2 'variables': {
3 'NAPI_VERSION%': "<!(node -p \"process.env.NAPI_VERSION || process.versions.napi\")",
4 'disable_deprecated': "<!(node -p \"process.env['npm_config_disable_deprecated']\")"
5 },
6 'conditions': [
7 ['NAPI_VERSION!=""', { 'defines': ['NAPI_VERSION=<@(NAPI_VERSION)'] } ],
8 ['disable_deprecated=="true"', {
9 'defines': ['NODE_ADDON_API_DISABLE_DEPRECATED']
10 }],
11 ['OS=="mac"', {
12 'cflags+': ['-fvisibility=hidden'],
13 'xcode_settings': {
14 'OTHER_CFLAGS': ['-fvisibility=hidden']
15 }
16 }]
17 ],
18 'cflags': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ],
19 'cflags_cc': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ]
20}
Note: See TracBrowser for help on using the repository browser.