Revision 35a1421e configure
configure | ||
---|---|---|
115 | 115 |
dest="without_dtrace", |
116 | 116 |
help="Build without DTrace") |
117 | 117 |
|
118 |
parser.add_option("--with-etw", |
|
119 |
action="store_true", |
|
120 |
dest="with_etw", |
|
121 |
help="Build with ETW (default is true on Windows)") |
|
122 |
|
|
123 |
parser.add_option("--without-etw", |
|
124 |
action="store_true", |
|
125 |
dest="without_etw", |
|
126 |
help="Build without ETW") |
|
127 |
|
|
118 | 128 |
# CHECKME does this still work with recent releases of V8? |
119 | 129 |
parser.add_option("--gdb", |
120 | 130 |
action="store_true", |
... | ... | |
273 | 283 |
o['variables']['node_use_dtrace'] = 'false' |
274 | 284 |
|
275 | 285 |
|
286 |
# By default, enable ETW on Windows. |
|
287 |
if sys.platform.startswith('win32'): |
|
288 |
o['variables']['node_use_etw'] = b(not options.without_etw); |
|
289 |
elif b(options.with_etw) == 'true': |
|
290 |
raise Exception('ETW is only supported on Windows.') |
|
291 |
else: |
|
292 |
o['variables']['node_use_etw'] = 'false' |
|
293 |
|
|
294 |
|
|
276 | 295 |
def configure_libz(o): |
277 | 296 |
o['variables']['node_shared_zlib'] = b(options.shared_zlib) |
278 | 297 |
|
Also available in: Unified diff