mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 565191: Add --with-debug-label to js. r=ted
--HG-- extra : rebase_source : 7924c1d60929cd8a163052323927e7ca70de21d3
This commit is contained in:
parent
67dfc086ac
commit
26464d9284
@ -4147,6 +4147,14 @@ MOZ_ARG_ENABLE_STRING(debug,
|
||||
MOZ_DEBUG=)
|
||||
|
||||
MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING"
|
||||
MOZ_ARG_WITH_STRING(debug-label,
|
||||
[ --with-debug-label=LABELS
|
||||
Enabled the use of DEBUG_label ifdefs
|
||||
(comma separated)],
|
||||
[ for option in `echo $withval | sed 's/,/ /g'`; do
|
||||
MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DDEBUG_${option}"
|
||||
done])
|
||||
|
||||
|
||||
MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user