diff -r 000000000000 -r 6474c204b198 dom/mobilemessage/src/moz.build --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/mobilemessage/src/moz.build Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,81 @@ +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +EXPORTS.mozilla.dom.mobilemessage += [ + 'Constants.h', # Required by almost all cpp files + 'ipc/SmsChild.h', + 'ipc/SmsParent.h', + 'MobileMessageService.h', # Required by nsLayoutModule.cpp + 'SmsServicesFactory.h', # Required by nsLayoutModule.cpp + 'Types.h', # Required by IPDL SmsTypes.h +] + +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': + SOURCES += [ + 'android/MobileMessageDatabaseService.cpp', + 'android/SmsService.cpp', + ] +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']: + EXTRA_JS_MODULES = [ + 'gonk/mms_consts.js', + 'gonk/MmsPduHelper.jsm', + 'gonk/MobileMessageDB.jsm', + 'gonk/wap_consts.js', + 'gonk/WspPduHelper.jsm', + ] + EXTRA_COMPONENTS += [ + 'gonk/MmsService.js', + 'gonk/MmsService.manifest', + 'gonk/MobileMessageDatabaseService.js', + 'gonk/MobileMessageDatabaseService.manifest', + ] + SOURCES += [ + 'gonk/SmsService.cpp', + ] + +EXPORTS.mozilla.dom += [ + 'MmsMessage.h', + 'MobileMessageManager.h', + 'SmsFilter.h', + 'SmsMessage.h', + 'SmsSegmentInfo.h', +] + +UNIFIED_SOURCES += [ + 'Constants.cpp', + 'ipc/SmsChild.cpp', + 'ipc/SmsIPCService.cpp', + 'ipc/SmsParent.cpp', + 'MmsMessage.cpp', + 'MobileMessageCallback.cpp', + 'MobileMessageCursorCallback.cpp', + 'MobileMessageManager.cpp', + 'MobileMessageService.cpp', + 'MobileMessageThread.cpp', + 'SmsFilter.cpp', + 'SmsMessage.cpp', + 'SmsSegmentInfo.cpp', + 'SmsServicesFactory.cpp', +] + +IPDL_SOURCES += [ + 'ipc/PMobileMessageCursor.ipdl', + 'ipc/PSms.ipdl', + 'ipc/PSmsRequest.ipdl', + 'ipc/SmsTypes.ipdlh', +] + +FAIL_ON_WARNINGS = True + +MSVC_ENABLE_PGO = True + +LOCAL_INCLUDES += [ + '/dom/base', +] + +include('/ipc/chromium/chromium-config.mozbuild') + +FINAL_LIBRARY = 'gklayout'