From ee6595e6deca4bb6d9008fb1495c5da7692a2b33 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 20 Feb 2020 11:08:15 -0500 Subject: Issue #439 - Remove tests from widget/ --- widget/moz.build | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'widget/moz.build') diff --git a/widget/moz.build b/widget/moz.build index b156346eb..3ca4c9785 100644 --- a/widget/moz.build +++ b/widget/moz.build @@ -6,9 +6,10 @@ toolkit = CONFIG['MOZ_WIDGET_TOOLKIT'] -if toolkit in ('cocoa', 'android', 'uikit'): +if toolkit in ('cocoa', 'uikit'): DIRS += [toolkit] -if toolkit in ('android', 'gtk2', 'gtk3'): + +if toolkit in ('gtk2', 'gtk3'): EXPORTS += ['nsIPrintDialogService.h'] if toolkit == 'windows': @@ -41,8 +42,6 @@ elif toolkit == 'cocoa': 'nsIPrintDialogService.h', ] -TEST_DIRS += ['tests'] - # Don't build the DSO under the 'build' directory as windows does. # # The DSOs get built in the toolkit dir itself. Do this so that @@ -221,20 +220,14 @@ if toolkit in ('cocoa', 'windows'): 'nsBaseClipboard.cpp', ] -if toolkit in {'gtk2', 'gtk3', 'cocoa', 'windows', - 'android', 'uikit'}: - UNIFIED_SOURCES += [ - 'nsBaseFilePicker.cpp', - ] +if toolkit in {'gtk2', 'gtk3', 'cocoa', 'windows', 'uikit'}: + UNIFIED_SOURCES += ['nsBaseFilePicker.cpp'] if toolkit in ('gtk2', 'gtk3', 'windows', 'cocoa'): - UNIFIED_SOURCES += [ - 'nsNativeTheme.cpp', - ] + UNIFIED_SOURCES += ['nsNativeTheme.cpp'] + if toolkit == 'gtk3': - XPIDL_SOURCES += [ - 'nsIApplicationChooser.idl', - ] + XPIDL_SOURCES += ['nsIApplicationChooser.idl'] DEFINES['MOZ_CROSS_PROCESS_IME'] = True -- cgit v1.2.3