Private
Public Access
2
0

binding.gyp.cmake: define *PLAT based on target_platform

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-12-09 18:38:54 +00:00
parent e9297d8283
commit 2c5e749c2c

View File

@@ -14,6 +14,17 @@
'defines' : [ 'SWIG',
'SWIGNODE',
'BUILDING_NODE_EXTENSION=1' ],
'conditions' : [
[ 'target_arch=="x64"',
{ 'defines' : [ 'X86PLAT=ON' ], },
],
[ 'target_arch=="x86"',
{ 'defines' : [ 'X86PLAT=ON' ], },
],
[ 'target_arch=="arm"',
{ 'defines' : [ 'ARMPLAT=ON' ], },
],
],
}
]
}