summaryrefslogtreecommitdiff
path: root/writerfilter/debug_setup.mk
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/debug_setup.mk')
-rw-r--r--writerfilter/debug_setup.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/writerfilter/debug_setup.mk b/writerfilter/debug_setup.mk
new file mode 100644
index 000000000000..800c55aa08d6
--- /dev/null
+++ b/writerfilter/debug_setup.mk
@@ -0,0 +1,12 @@
+define writerfilter_debug_flags
+$(if $(filter $(strip $(gb_DEBUG)),01),\
+ -DDEBUG_DOMAINMAPPER \
+ -DDEBUG_ELEMENT \
+ -DDEBUG_RESOLVE \
+ -DDEBUG_CONTEXT_STACK \
+ -DDEBUG_ATTRIBUTES \
+ -DDEBUG_PROPERTIES \
+ -DDEBUG_CONTEXT_HANDLER \
+ -DDEBUG_IMPORT \
+)
+endef