Bug 932197 - Put QT generated files in GENERATED_SOURCES. r=gps

This commit is contained in:
Mike Hommey 2013-11-01 10:30:45 +09:00
parent 84fe98b48f
commit 5e41d2d75c
7 changed files with 36 additions and 10 deletions

View File

@ -61,8 +61,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
]
if CONFIG['MOZ_ENABLE_QT']:
SOURCES += [
GENERATED_SOURCES += [
'moc_NestedLoopTimer.cpp',
]
SOURCES += [
'NestedLoopTimer.cpp',
]

View File

@ -7,8 +7,10 @@
MODULE = 'dom'
if CONFIG['MOZ_ENABLE_QTMOBILITY']:
SOURCES += [
GENERATED_SOURCES += [
'moc_QTMLocationProvider.cpp',
]
SOURCES += [
'QTMLocationProvider.cpp',
]

View File

@ -223,6 +223,8 @@ if os_linux:
if CONFIG['MOZ_ENABLE_QT']:
SOURCES += [
'src/base/message_pump_qt.cc',
]
GENERATED_SOURCES += [
'src/base/moc_message_pump_qt.cc',
]
if CONFIG['OS_TARGET'] != 'Android':
@ -253,6 +255,8 @@ if os_bsd:
if CONFIG['MOZ_ENABLE_QT']:
SOURCES += [
'src/base/message_pump_qt.cc',
]
GENERATED_SOURCES += [
'src/base/moc_message_pump_qt.cc',
]
SOURCES += [

View File

@ -7,11 +7,14 @@
MODULE = 'necko'
SOURCES += [
'moc_nsQtNetworkManager.cpp',
'nsQtNetworkLinkService.cpp',
'nsQtNetworkManager.cpp',
]
GENERATED_SOURCES += [
'moc_nsQtNetworkManager.cpp',
]
LIBRARY_NAME = 'neckosystem_s'
FAIL_ON_WARNINGS = True

View File

@ -39,8 +39,10 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
]
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
EXPORTS += ['nsQAppInstance.h']
SOURCES += [
GENERATED_SOURCES += [
'moc_nsNativeAppSupportQt.cpp',
]
SOURCES += [
'nsNativeAppSupportQt.cpp',
'nsQAppInstance.cpp',
]

View File

@ -6,13 +6,19 @@
MODULE = 'faststartupqt'
SOURCES += [
GENERATED_SOURCES += [
'moc_moziqwidget.cpp',
'moc_nsFastStartupQt.cpp',
'mozqglwidgetwrapper.cpp',
'mozqwidgetfast.cpp',
]
SOURCES += [
TOPSRCDIR + '/toolkit/xre/nsQAppInstance.cpp',
TOPSRCDIR + '/widget/qt/mozqglwidgetwrapper.cpp',
]
SOURCES += [
'nsFastStartupQt.cpp',
'nsQAppInstance.cpp',
]
LIBRARY_NAME = 'faststartupqt'

View File

@ -12,10 +12,13 @@ EXPORTS += [
'nsQtKeyUtils.h',
]
SOURCES += [
GENERATED_SOURCES += [
'moc_moziqwidget.cpp',
'moc_mozqwidget.cpp',
'moc_nsAppShell.cpp',
]
SOURCES += [
'mozqglwidgetwrapper.cpp',
'mozqwidget.cpp',
'mozSwipeGesture.cpp',
@ -41,15 +44,19 @@ SOURCES += [
if CONFIG['MOZ_ENABLE_CONTENTMANAGER']:
SOURCES += [
'moc_nsMFilePicker.cpp',
'nsMFilePicker.cpp',
]
GENERATED_SOURCES += [
'moc_nsMFilePicker.cpp',
]
if CONFIG[' MOZ_ENABLE_QTMOBILITY']:
SOURCES += [
'moc_mozqorientationsensorfilter.cpp',
'mozqorientationsensorfilter.cpp',
]
GENERATED_SOURCES += [
'moc_mozqorientationsensorfilter.cpp',
]
LIBXUL_LIBRARY = True