Skip to content

Commit

Permalink
bug 870407: move CMMSRCS to mozbuild (file batch #2) r=mshal
Browse files Browse the repository at this point in the history
  • Loading branch information
Joey Armstrong committed Jul 1, 2013
1 parent 703184d commit 03706f3
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 10 deletions.
2 changes: 1 addition & 1 deletion accessible/src/mac/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include $(DEPTH)/config/autoconf.mk
EXPORT_LIBRARY = ..
LIBXUL_LIBRARY = 1

CMMSRCS = \
DISABLED_CMMSRCS = \
AccessibleWrap.mm \
DocAccessibleWrap.mm \
mozAccessible.mm \
Expand Down
12 changes: 12 additions & 0 deletions accessible/src/mac/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ EXPORTS.mozilla.a11y += [

LIBRARY_NAME = 'accessibility_toolkit_s'

CMMSRCS += [
'AccessibleWrap.mm',
'DocAccessibleWrap.mm',
'MacUtils.mm',
'Platform.mm',
'RootAccessibleWrap.mm',
'mozAccessible.mm',
'mozActionElements.mm',
'mozDocAccessible.mm',
'mozHTMLAccessible.mm',
'mozTextAccessible.mm',
]
2 changes: 1 addition & 1 deletion dom/plugins/ipc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ DEFINES += \
endif

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS += \
DISABLED_CMMSRCS += \
PluginUtilsOSX.mm \
PluginInterposeOSX.mm \
$(NULL)
Expand Down
2 changes: 1 addition & 1 deletion dom/plugins/ipc/interpose/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include $(DEPTH)/config/autoconf.mk
FORCE_SHARED_LIB = 1
DIST_INSTALL = 1

CMMSRCS = $(LIBRARY_NAME).mm plugin_child_quirks.mm
DISABLED_CMMSRCS = $(LIBRARY_NAME).mm plugin_child_quirks.mm

EXTRA_DSO_LDOPTS += \
-framework Carbon \
Expand Down
4 changes: 4 additions & 0 deletions dom/plugins/ipc/interpose/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@

LIBRARY_NAME = 'plugin_child_interpose'

CMMSRCS += [
"%s.mm" % (LIBRARY_NAME),
'plugin_child_quirks.mm',
]
6 changes: 6 additions & 0 deletions dom/plugins/ipc/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,9 @@ CPP_SOURCES += [
'PluginStreamParent.cpp',
]


if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'PluginInterposeOSX.mm',
'PluginUtilsOSX.mm',
]
2 changes: 1 addition & 1 deletion embedding/components/printingui/src/mac/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LIBXUL_LIBRARY = 1



CMMSRCS = nsPrintingPromptServiceX.mm
DISABLED_CMMSRCS = nsPrintingPromptServiceX.mm

LOCAL_INCLUDES = \
$(NULL)
Expand Down
3 changes: 3 additions & 0 deletions embedding/components/printingui/src/mac/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ CPP_SOURCES += [

LIBRARY_NAME = 'printingui_s'

CMMSRCS += [
'nsPrintingPromptServiceX.mm',
]
2 changes: 1 addition & 1 deletion gfx/2d/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LIBXUL_LIBRARY = 1
EXPORT_LIBRARY = 1

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS = \
DISABLED_CMMSRCS = \
QuartzSupport.mm \
$(NULL)
endif
Expand Down
5 changes: 5 additions & 0 deletions gfx/2d/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,8 @@ CPP_SOURCES += [
'SourceSurfaceRawData.cpp',
]


if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'QuartzSupport.mm',
]
2 changes: 1 addition & 1 deletion gfx/gl/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ endif

# Mac is a special snowflake
ifeq ($(GL_PROVIDER),CGL)
CMMSRCS += GLContextProvider$(GL_PROVIDER).mm
DISABLED_CMMSRCS += GLContextProvider$(GL_PROVIDER).mm
endif

ifdef MOZ_ANDROID_OMTC
Expand Down
5 changes: 3 additions & 2 deletions gfx/gl/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
EXPORTS += ['SharedSurfaceGralloc.h']

if gl_provider == 'CGL':
# TODO: CMMSRCS
pass
CMMSRCS += [
"GLContextProvider%s.mm" % (gl_provider),
]
else:
CPP_SOURCES += [
'GLContextProvider%s.cpp' % gl_provider,
Expand Down
2 changes: 1 addition & 1 deletion gfx/thebes/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ifeq ($(MOZ_WIDGET_TOOLKIT),qt)
endif

ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
CMMSRCS = \
DISABLED_CMMSRCS = \
gfxMacPlatformFontList.mm \
$(NULL)
endif
Expand Down
5 changes: 5 additions & 0 deletions gfx/thebes/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,8 @@ CPP_SOURCES += [
'nsSurfaceTexture.cpp',
]


if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'gfxMacPlatformFontList.mm',
]
2 changes: 1 addition & 1 deletion hal/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MOCHITEST_BROWSER_FILES += \
$(NULL)

ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
CMMSRCS += \
DISABLED_CMMSRCS += \
CocoaSensor.mm \
smslib.mm \
$(NULL)
Expand Down
6 changes: 6 additions & 0 deletions hal/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,9 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
CPP_SOURCES += [
'FallbackNetwork.cpp'
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
CMMSRCS += [
'CocoaSensor.mm',
'smslib.mm',
]

0 comments on commit 03706f3

Please sign in to comment.