diff options
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 19de56c..ca1bc7f 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -229,6 +229,9 @@ # arm_neon==0). 'arm_fpu%': 'vfpv3', + # Enable new NPDevice API. + 'enable_new_npdevice_api%': 0, + 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { # This will set gcc_version to XY if you are running gcc X.Y.*. @@ -1239,6 +1242,13 @@ }, }, }], + ['enable_new_npdevice_api==1', { + 'target_defaults': { + 'defines': [ + 'ENABLE_NEW_NPDEVICE_API', + ], + }, + }], ], 'scons_settings': { 'sconsbuild_dir': '<(DEPTH)/sconsbuild', |