Index: build/common.gypi |
=================================================================== |
--- build/common.gypi (revision 44555) |
+++ build/common.gypi (working copy) |
@@ -226,6 +226,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.*. |
@@ -1227,6 +1230,13 @@ |
}, |
}, |
}], |
+ ['enable_new_npdevice_api==1', { |
+ 'target_defaults': { |
+ 'defines': [ |
+ 'ENABLE_NEW_NPDEVICE_API', |
+ ], |
+ }, |
+ }], |
], |
'scons_settings': { |
'sconsbuild_dir': '<(DEPTH)/sconsbuild', |