mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
87cfbc1b65
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled. MozReview-Commit-ID: 54xs3Hf1r4P --HG-- extra : rebase_source : dfaf13fb4c2185985f4f074c338ccf1fef8f3c94
38 lines
756 B
Plaintext
38 lines
756 B
Plaintext
FINAL_LIBRARY = 'mozglue'
|
|
|
|
EXPORTS.mozilla += [
|
|
'StackWalk.h',
|
|
'TimeStamp.h',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
EXPORTS.mozilla += [
|
|
'StackWalk_windows.h',
|
|
'TimeStamp_windows.h',
|
|
]
|
|
|
|
SOURCES += [
|
|
'StackWalk.cpp',
|
|
'TimeStamp.cpp',
|
|
]
|
|
|
|
OS_LIBS += CONFIG['REALTIME_LIBS']
|
|
|
|
DEFINES['IMPL_MFBT'] = True
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
SOURCES += [
|
|
'TimeStamp_windows.cpp',
|
|
]
|
|
OS_LIBS += ['dbghelp']
|
|
elif CONFIG['HAVE_CLOCK_MONOTONIC']:
|
|
SOURCES += [
|
|
'TimeStamp_posix.cpp',
|
|
]
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
SOURCES += [
|
|
'TimeStamp_darwin.cpp',
|
|
]
|
|
elif CONFIG['COMPILE_ENVIRONMENT']:
|
|
error('No TimeStamp implementation on this platform. Build will not succeed')
|