root / HServer / 00.Server / 00.Program / node_modules / dtrace-provider / binding.gyp
이력 | 보기 | 이력해설 | 다운로드 (1.13 KB)
| 1 | 39 | HKM | {
 | 
|---|---|---|---|
| 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 | |||
| 22 | # If we are on another system (like Windows or Linux), then DTrace is | ||
| 23 | # unavailable. This target is necessary because GYP requires at least | ||
| 24 | # one target to exist. We end up building nothing, and fall back to the | ||
| 25 | # stub implementation when the package is loaded. | ||
| 26 |         {
 | ||
| 27 | 'targets': [ | ||
| 28 |                 {
 | ||
| 29 | 'target_name': 'DTraceProviderStub', | ||
| 30 | 'type': 'none' | ||
| 31 | } | ||
| 32 | ] | ||
| 33 | }] | ||
| 34 | ] | ||
| 35 | } |