mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 870407: move CMMSRCS to mozbuild (file batch #4). r=mshal
This commit is contained in:
parent
53ffaaba26
commit
12b62814d7
@ -37,16 +37,9 @@ endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE
|
||||
else
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
CMMSRCS = nsNativeAppSupportCocoa.mm
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
CMMSRCS += MacLaunchHelper.mm
|
||||
CMMSRCS += MacApplicationDelegate.mm
|
||||
CMMSRCS += MacAutoreleasePool.mm
|
||||
ENABLE_CXX_EXCEPTIONS = 1
|
||||
endif
|
||||
|
||||
|
@ -87,3 +87,11 @@ if CONFIG['MOZ_UPDATER']:
|
||||
CPP_SOURCES += [
|
||||
'nsUpdateDriver.cpp',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
CMMSRCS += [
|
||||
'MacApplicationDelegate.mm',
|
||||
'MacAutoreleasePool.mm',
|
||||
'MacLaunchHelper.mm',
|
||||
'nsNativeAppSupportCocoa.mm',
|
||||
]
|
||||
|
@ -32,11 +32,6 @@ endif # !_MSC_VER
|
||||
# Uncomment for better debugging in opt builds
|
||||
#MOZ_OPTIMIZE_FLAGS += -O0 -g
|
||||
|
||||
ifeq ($(OS_TARGET),Darwin)
|
||||
CMMSRCS += \
|
||||
shim_mac_dump_syms.mm
|
||||
endif
|
||||
|
||||
endif
|
||||
endif # MOZ_ENABLE_PROFILER_SPS
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -64,3 +64,8 @@ EXPORTS.mozilla += [
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
|
||||
|
||||
if CONFIG['MOZ_ENABLE_PROFILER_SPS'] and CONFIG['OS_TARGET'] == 'Darwin':
|
||||
CMMSRCS += [
|
||||
'shim_mac_dump_syms.mm',
|
||||
]
|
||||
|
@ -37,15 +37,6 @@ LIBRARY_NAME = exthandler_s
|
||||
LIBXUL_LIBRARY = 1
|
||||
FAIL_ON_WARNINGS = 1
|
||||
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
|
||||
CMMSRCS = nsOSHelperAppService.mm \
|
||||
nsMIMEInfoMac.mm \
|
||||
nsLocalHandlerAppMac.mm \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)
|
||||
|
||||
LOCAL_INCLUDES += -I$(topsrcdir)/dom/base \
|
||||
|
@ -64,8 +64,11 @@ CPP_SOURCES += [
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
||||
# TODO: CMMSRCS go here
|
||||
pass
|
||||
CMMSRCS = [
|
||||
'nsLocalHandlerAppMac.mm',
|
||||
'nsMIMEInfoMac.mm',
|
||||
'nsOSHelperAppService.mm',
|
||||
]
|
||||
else:
|
||||
CPP_SOURCES += [
|
||||
'nsOSHelperAppService.cpp',
|
||||
|
@ -13,8 +13,6 @@ include $(DEPTH)/config/autoconf.mk
|
||||
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
|
||||
NSDISTMODE = copy
|
||||
|
||||
CMMSRCS = webapprt.mm
|
||||
|
||||
# Don't create a dependency on mozglue, which is impossible (difficult?)
|
||||
# to dynamically link into our executable, as we copy it to arbitrary locations.
|
||||
MOZ_GLUE_LDFLAGS =
|
||||
|
@ -6,3 +6,6 @@
|
||||
|
||||
PROGRAM = 'webapprt-stub'
|
||||
|
||||
CMMSRCS += [
|
||||
'webapprt.mm',
|
||||
]
|
||||
|
@ -13,52 +13,6 @@ include $(DEPTH)/config/autoconf.mk
|
||||
EXPORT_LIBRARY = 1
|
||||
LIBXUL_LIBRARY = 1
|
||||
|
||||
|
||||
|
||||
CMMSRCS = \
|
||||
nsBidiKeyboard.mm \
|
||||
nsClipboard.mm \
|
||||
nsMenuX.mm \
|
||||
nsMenuBarX.mm \
|
||||
nsMenuItemX.mm \
|
||||
nsMenuItemIconX.mm \
|
||||
nsMenuUtilsX.mm \
|
||||
nsMenuGroupOwnerX.mm \
|
||||
nsFilePicker.mm \
|
||||
nsDragService.mm \
|
||||
nsToolkit.mm \
|
||||
nsAppShell.mm \
|
||||
nsCocoaFeatures.mm \
|
||||
nsCocoaUtils.mm \
|
||||
nsCocoaWindow.mm \
|
||||
nsChildView.mm \
|
||||
nsWindowMap.mm \
|
||||
nsWidgetFactory.mm \
|
||||
nsCursorManager.mm \
|
||||
nsMacCursor.mm \
|
||||
nsScreenCocoa.mm \
|
||||
nsScreenManagerCocoa.mm \
|
||||
nsSound.mm \
|
||||
nsLookAndFeel.mm \
|
||||
nsNativeThemeCocoa.mm \
|
||||
nsDeviceContextSpecX.mm \
|
||||
nsPrintDialogX.mm \
|
||||
nsPrintOptionsX.mm \
|
||||
nsPrintSettingsX.mm \
|
||||
nsIdleServiceX.mm \
|
||||
TextInputHandler.mm \
|
||||
nsMacDockSupport.mm \
|
||||
nsStandaloneNativeMenu.mm \
|
||||
nsMacWebAppUtils.mm \
|
||||
GfxInfo.mm \
|
||||
WidgetTraceEvent.mm \
|
||||
NativeKeyBindings.mm \
|
||||
$(NULL)
|
||||
|
||||
ifeq (x86_64,$(TARGET_CPU))
|
||||
CMMSRCS += ComplexTextInputPanel.mm
|
||||
endif
|
||||
|
||||
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
@ -21,3 +21,46 @@ EXPORTS += [
|
||||
|
||||
LIBRARY_NAME = 'widget_mac'
|
||||
|
||||
CMMSRCS += [
|
||||
'GfxInfo.mm',
|
||||
'TextInputHandler.mm',
|
||||
'WidgetTraceEvent.mm',
|
||||
'nsAppShell.mm',
|
||||
'nsBidiKeyboard.mm',
|
||||
'nsChildView.mm',
|
||||
'nsClipboard.mm',
|
||||
'nsCocoaFeatures.mm',
|
||||
'nsCocoaUtils.mm',
|
||||
'nsCocoaWindow.mm',
|
||||
'nsCursorManager.mm',
|
||||
'nsDeviceContextSpecX.mm',
|
||||
'nsDragService.mm',
|
||||
'nsFilePicker.mm',
|
||||
'nsIdleServiceX.mm',
|
||||
'nsLookAndFeel.mm',
|
||||
'nsMacCursor.mm',
|
||||
'nsMacDockSupport.mm',
|
||||
'nsMacWebAppUtils.mm',
|
||||
'nsMenuBarX.mm',
|
||||
'nsMenuGroupOwnerX.mm',
|
||||
'nsMenuItemIconX.mm',
|
||||
'nsMenuItemX.mm',
|
||||
'nsMenuUtilsX.mm',
|
||||
'nsMenuX.mm',
|
||||
'nsNativeThemeCocoa.mm',
|
||||
'nsPrintDialogX.mm',
|
||||
'nsPrintOptionsX.mm',
|
||||
'nsPrintSettingsX.mm',
|
||||
'nsScreenCocoa.mm',
|
||||
'nsScreenManagerCocoa.mm',
|
||||
'nsSound.mm',
|
||||
'nsStandaloneNativeMenu.mm',
|
||||
'nsToolkit.mm',
|
||||
'nsWidgetFactory.mm',
|
||||
'nsWindowMap.mm',
|
||||
]
|
||||
|
||||
if CONFIG['TARGET_CPU'] == 'x86_64':
|
||||
CMMSRCS += [
|
||||
'ComplexTextInputPanel.mm',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user