Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

binding.gyp 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. 'conditions': [
  3. # If we are on Mac OS X, FreeBSD, or a Solarish system, attempt
  4. # to build the DTrace provider extension.
  5. ['OS=="mac" or OS=="solaris" or OS=="freebsd"', {
  6. 'targets': [
  7. {
  8. 'target_name': 'ndtp',
  9. 'type': 'none',
  10. 'actions': [{
  11. 'inputs': [''],
  12. 'outputs': [''],
  13. 'action_name': 'build_ndtp',
  14. 'action': [
  15. 'bash', 'build.sh'
  16. ]
  17. }]
  18. }
  19. ]
  20. },
  21. # If we are on another system (like Windows or Linux), then DTrace is
  22. # unavailable. This target is necessary because GYP requires at least
  23. # one target to exist. We end up building nothing, and fall back to the
  24. # stub implementation when the package is loaded.
  25. {
  26. 'targets': [
  27. {
  28. 'target_name': 'DTraceProviderStub',
  29. 'type': 'none'
  30. }
  31. ]
  32. }]
  33. ]
  34. }