bug 870407: move CMMSRCS to mozbuild (file batch #3). r=mshal

This commit is contained in:
Joey Armstrong 2013-07-02 17:09:08 -04:00
parent 32245e61fa
commit b7ee853939
12 changed files with 41 additions and 7 deletions

View File

@ -13,7 +13,7 @@ LIBXUL_LIBRARY = 1
FAIL_ON_WARNINGS = 1
CMMSRCS = nsIconChannelCocoa.mm
DISABLED_CMMSRCS = nsIconChannelCocoa.mm
# we don't want the shared lib, but we want to force the creation of a static lib.
FORCE_STATIC_LIB = 1

View File

@ -8,3 +8,6 @@ MODULE = 'imgicon'
LIBRARY_NAME = 'imgiconmac_s'
CMMSRCS += [
'nsIconChannelCocoa.mm',
]

View File

@ -49,7 +49,7 @@ endif # } OS_POSIX
ifdef OS_MACOSX # {
CMMSRCS += \
DISABLED_CMMSRCS += \
base_paths_mac.mm \
file_util_mac.mm \
file_version_info_mac.mm \

View File

@ -166,6 +166,22 @@ if os_macosx:
'mach_message_source_mac.cc',
'transport_dib_mac.cc',
]
CMMSRCS += [
'base_paths_mac.mm',
'chrome_application_mac.mm',
'chrome_paths_mac.mm',
'file_util_mac.mm',
'file_version_info_mac.mm',
'mac_util.mm',
'mach_ipc_mac.mm',
'message_pump_mac.mm',
'platform_thread_mac.mm',
'platform_util_mac.mm',
'process_util_mac.mm',
'scoped_nsautorelease_pool.mm',
'sys_string_conversions_mac.mm',
'worker_pool_mac.mm',
]
if os_linux:
CPP_SOURCES += [

View File

@ -18,7 +18,7 @@ LOCAL_INCLUDES += \
$(NULL)
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS += xpcshellMacUtils.mm
DISABLED_CMMSRCS += xpcshellMacUtils.mm
endif
ifeq (windows,$(MOZ_WIDGET_TOOLKIT))

View File

@ -11,3 +11,8 @@ PROGRAM = 'xpcshell'
CPP_SOURCES += [
'xpcshell.cpp',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'xpcshellMacUtils.mm',
]

View File

@ -17,7 +17,7 @@ FAIL_ON_WARNINGS = 1
endif # !_MSC_VER
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS += \
DISABLED_CMMSRCS += \
nsPluginUtilsOSX.mm \
$(NULL)
endif

View File

@ -87,3 +87,8 @@ CPP_SOURCES += [
'nsVideoFrame.cpp',
'nsViewportFrame.cpp',
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'nsPluginUtilsOSX.mm',
]

View File

@ -15,7 +15,7 @@ LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
CMMSRCS += nsNetworkLinkService.mm
DISABLED_CMMSRCS += nsNetworkLinkService.mm
include $(topsrcdir)/config/rules.mk

View File

@ -8,3 +8,6 @@ MODULE = 'necko'
LIBRARY_NAME = 'neckosystem_s'
CMMSRCS += [
'nsNetworkLinkService.mm',
]

View File

@ -19,7 +19,7 @@ FAIL_ON_WARNINGS := 1
endif
ifeq ($(OS_ARCH),Darwin)
CMMSRCS = osx_corewlan.mm
DISABLED_CMMSRCS = osx_corewlan.mm
endif
ifeq ($(OS_ARCH),SunOS)

View File

@ -31,6 +31,9 @@ if CONFIG['OS_ARCH'] == 'Darwin':
CPP_SOURCES += [
'nsWifiScannerMac.cpp',
]
CMMSRCS += [
'osx_corewlan.mm',
]
elif CONFIG['OS_ARCH'] == 'WINNT':
CPP_SOURCES += [
'nsWifiScannerWin.cpp',
@ -46,4 +49,3 @@ if CONFIG['MOZ_ENABLE_DBUS']:
]
LIBRARY_NAME = 'neckowifi_s'