diff --git a/mobile/build.mk b/mobile/build.mk index f418804be4b4..2b1c976e0093 100644 --- a/mobile/build.mk +++ b/mobile/build.mk @@ -37,6 +37,12 @@ ifndef LIBXUL_SDK include $(topsrcdir)/toolkit/toolkit-tiers.mk +else +ifdef ENABLE_TESTS +tier_testharness_dirs += \ + testing/mochitest \ + $(NULL) +endif endif TIERS += app @@ -50,11 +56,6 @@ tier_app_dirs += \ mobile \ $(NULL) -ifdef ENABLE_TESTS -tier_testharness_dirs += \ - testing/mochitest \ - $(NULL) -endif installer: @$(MAKE) -C mobile/installer installer