diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-10-26 22:31:12 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-10-26 22:36:21 +0400 |
commit | b3ddb895d2e3dc983d6f40dc95179dc7eda3440e (patch) | |
tree | 49ad9df2518c2f7bc632c77329f98d2d63784274 /node.gyp | |
parent | 3961b5a13131c473047ed2826653934d541a089d (diff) |
Don't compile in node_dtrace.cc when not supported
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -74,7 +74,6 @@ 'src/node.cc', 'src/node_buffer.cc', 'src/node_constants.cc', - 'src/node_dtrace.cc', 'src/node_extensions.cc', 'src/node_file.cc', 'src/node_http_parser.cc', @@ -98,7 +97,6 @@ 'src/node_buffer.h', 'src/node_constants.h', 'src/node_crypto.h', - 'src/node_dtrace.h', 'src/node_extensions.h', 'src/node_file.h', 'src/node_http_parser.h', @@ -142,7 +140,11 @@ [ 'node_use_dtrace=="true"', { 'sources': [ - 'src/node_provider.h', # why does this get generated into src and not SHARED_INTERMEDIATE_DIR? + 'src/node_dtrace.cc', + 'src/node_dtrace.h', + # why does node_provider.h get generated into src and not + # SHARED_INTERMEDIATE_DIR? + 'src/node_provider.h', ], }], |