diff --git a/Makefile.in b/Makefile.in index 0eb210c3cc7..dc20351f7d8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,10 +61,15 @@ TIERS += base tier_base_dirs = \ config \ build \ - memory \ probes \ $(NULL) +ifndef LIBXUL_SDK +tier_base_dirs += \ + memory \ + $(NULL) +endif + ifdef COMPILE_ENVIRONMENT include $(topsrcdir)/$(MOZ_BUILD_APP)/build.mk endif diff --git a/allmakefiles.sh b/allmakefiles.sh index 11723715b33..89bd0ef034b 100755 --- a/allmakefiles.sh +++ b/allmakefiles.sh @@ -85,7 +85,7 @@ if [ "$WINCE" ]; then " fi -if [ "$MOZ_MEMORY" ]; then +if [ "$MOZ_MEMORY" -a "$LIBXUL_SDK" -eq ""]; then add_makefiles " memory/jemalloc/Makefile "