diff options
Diffstat (limited to 'xpcom/base/moz.build')
-rw-r--r-- | xpcom/base/moz.build | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/xpcom/base/moz.build b/xpcom/base/moz.build index 1ac409ed04..16870a9dbc 100644 --- a/xpcom/base/moz.build +++ b/xpcom/base/moz.build @@ -27,18 +27,24 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa": XPIDL_SOURCES += [ "nsIMacPreferencesReader.idl", ] + EXPORTS.mozilla += [ + "MacHelpers.h", + "nsMacPreferencesReader.h", + ] + UNIFIED_SOURCES += [ + "MacHelpers.mm", + "nsMacPreferencesReader.mm", + ] +if CONFIG["OS_ARCH"] == "Darwin": EXPORTS += [ + "CFTypeRefPtr.h", "nsObjCExceptions.h", ] EXPORTS.mozilla += [ - "MacHelpers.h", "MacStringHelpers.h", - "nsMacPreferencesReader.h", ] UNIFIED_SOURCES += [ - "MacHelpers.mm", "MacStringHelpers.mm", - "nsMacPreferencesReader.mm", "nsObjCExceptions.mm", ] |