diff --git a/toolkit/components/moz.build b/toolkit/components/moz.build index a9325294e69..2d6d28d316a 100644 --- a/toolkit/components/moz.build +++ b/toolkit/components/moz.build @@ -51,12 +51,17 @@ DIRS += [ 'typeaheadfind', 'urlformatter', 'viewconfig', - 'viewsource', 'workerloader', 'workerlz4', 'xulstore' ] +if CONFIG['MOZ_BUILD_APP'] != 'mobile/android': + DIRS += ['viewsource']; + + if CONFIG['NS_PRINTING']: + DIRS += ['printing'] + if CONFIG['MOZ_CRASHREPORTER']: DIRS += ['crashes'] @@ -72,9 +77,6 @@ if CONFIG['MOZ_FEEDS']: if CONFIG['MOZ_HELP_VIEWER']: DIRS += ['help'] -if CONFIG['NS_PRINTING']: - DIRS += ['printing'] - if CONFIG['MOZ_XUL']: DIRS += ['autocomplete', 'satchel']