summaryrefslogtreecommitdiffstats
path: root/widget/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'widget/moz.build')
-rw-r--r--widget/moz.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/widget/moz.build b/widget/moz.build
index 3ca4c9785..3a52805b0 100644
--- a/widget/moz.build
+++ b/widget/moz.build
@@ -38,10 +38,12 @@ elif toolkit == 'cocoa':
'nsITaskbarProgress.idl',
]
EXPORTS += [
- 'nsINativeMenuService.h',
'nsIPrintDialogService.h',
]
+if toolkit in ('cocoa', 'gtk2', 'gtk3'):
+ EXPORTS += ['nsINativeMenuService.h']
+
# 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