diff --git a/js/src/xpconnect/tests/mochitest/Makefile.in b/js/src/xpconnect/tests/mochitest/Makefile.in index 690bcf9898dc..d3ede465a781 100644 --- a/js/src/xpconnect/tests/mochitest/Makefile.in +++ b/js/src/xpconnect/tests/mochitest/Makefile.in @@ -94,7 +94,7 @@ _TEST_FILES = bug500931_helper.html \ file_bug658560.html \ $(NULL) -ifndef ANDROID +ifneq ($(OS_TARGET),Android) ifndef MOZ_PLATFORM_MAEMO _TEST_FILES += test_bug657267.html \ bug657267.jar diff --git a/mobile/chrome/tests/Makefile.in b/mobile/chrome/tests/Makefile.in index 812fc5404fa2..0acee381d1a3 100644 --- a/mobile/chrome/tests/Makefile.in +++ b/mobile/chrome/tests/Makefile.in @@ -103,7 +103,7 @@ _BROWSER_FILES = \ mock_autocomplete.json\ $(NULL) -ifndef ANDROID +ifneq ($(OS_TARGET),Android) ifndef MOZ_PLATFORM_MAEMO _BROWSER_FILES += browser_sidebars.js endif