old_contents: {
  	'targets': [
  		{
  			'target_name': 'mkfifo',
  			'sources': ['src/mkfifo.cpp'],
  			'include_dirs': ["<!@(node -p \"require('node-addon-api').include\")"],
  			'dependencies': ["<!(node -p \"require('node-addon-api').gyp\")"],
  			'conditions': [
  				['OS=="mac"', {
  					'cflags+': ['-fvisibility=hidden'],
  					'xcode_settings': {
  					  'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
  					}
  				}]
  			],
  		 	'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
  		}
  	]
  }
  
new_contents: {
  	'targets': [
  		{
  			'target_name': 'mkfifo',
  			'sources': ['src/mkfifo.cpp'],
  			'include_dirs': ["<!@(node --no-warnings -p \"require('node-addon-api').include\")"],
  			'dependencies': ["<!(node --no-warnings -p \"require('node-addon-api').gyp\")"],
  			'conditions': [
  				['OS=="mac"', {
  					'cflags+': ['-fvisibility=hidden'],
  					'xcode_settings': {
  					  'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
  					}
  				}]
  			],
  		 	'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
  		}
  	]
  }
  
subject: Allow successful build despite node warnings