2014-11-24 15:18:53 +00:00
|
|
|
{
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
|
|
|
|
'target_name': 'mraa',
|
|
|
|
|
'sources': [
|
|
|
|
|
@mraa_LIB_SRCS_GYP@
|
|
|
|
|
'src/version.c',
|
|
|
|
|
'src/mraajsJAVASCRIPT_wrap.cxx' ],
|
|
|
|
|
'include_dirs': [
|
|
|
|
|
@mraa_LIB_INCLUDE_DIRS_GYP@
|
|
|
|
|
],
|
|
|
|
|
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
|
|
|
|
|
'cflags!': [ '-fno-exceptions' ],
|
|
|
|
|
'defines' : [ 'SWIG',
|
2015-02-18 14:27:50 +00:00
|
|
|
'SWIGJAVASCRIPT',
|
2014-12-01 13:59:47 +00:00
|
|
|
'BUILDING_NODE_EXTENSION=1' ],
|
2014-12-09 18:38:54 +00:00
|
|
|
'conditions' : [
|
|
|
|
|
[ 'target_arch=="x64"',
|
|
|
|
|
{ 'defines' : [ 'X86PLAT=ON' ], },
|
|
|
|
|
],
|
2014-12-10 14:52:23 +00:00
|
|
|
[ 'target_arch=="ia32"',
|
2014-12-09 18:38:54 +00:00
|
|
|
{ 'defines' : [ 'X86PLAT=ON' ], },
|
|
|
|
|
],
|
|
|
|
|
[ 'target_arch=="arm"',
|
|
|
|
|
{ 'defines' : [ 'ARMPLAT=ON' ], },
|
|
|
|
|
],
|
|
|
|
|
],
|
2014-11-24 15:18:53 +00:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|