Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | EXPORTS.mozilla.dom.mobilemessage += [ |
michael@0 | 8 | 'Constants.h', # Required by almost all cpp files |
michael@0 | 9 | 'ipc/SmsChild.h', |
michael@0 | 10 | 'ipc/SmsParent.h', |
michael@0 | 11 | 'MobileMessageService.h', # Required by nsLayoutModule.cpp |
michael@0 | 12 | 'SmsServicesFactory.h', # Required by nsLayoutModule.cpp |
michael@0 | 13 | 'Types.h', # Required by IPDL SmsTypes.h |
michael@0 | 14 | ] |
michael@0 | 15 | |
michael@0 | 16 | if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': |
michael@0 | 17 | SOURCES += [ |
michael@0 | 18 | 'android/MobileMessageDatabaseService.cpp', |
michael@0 | 19 | 'android/SmsService.cpp', |
michael@0 | 20 | ] |
michael@0 | 21 | elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']: |
michael@0 | 22 | EXTRA_JS_MODULES = [ |
michael@0 | 23 | 'gonk/mms_consts.js', |
michael@0 | 24 | 'gonk/MmsPduHelper.jsm', |
michael@0 | 25 | 'gonk/MobileMessageDB.jsm', |
michael@0 | 26 | 'gonk/wap_consts.js', |
michael@0 | 27 | 'gonk/WspPduHelper.jsm', |
michael@0 | 28 | ] |
michael@0 | 29 | EXTRA_COMPONENTS += [ |
michael@0 | 30 | 'gonk/MmsService.js', |
michael@0 | 31 | 'gonk/MmsService.manifest', |
michael@0 | 32 | 'gonk/MobileMessageDatabaseService.js', |
michael@0 | 33 | 'gonk/MobileMessageDatabaseService.manifest', |
michael@0 | 34 | ] |
michael@0 | 35 | SOURCES += [ |
michael@0 | 36 | 'gonk/SmsService.cpp', |
michael@0 | 37 | ] |
michael@0 | 38 | |
michael@0 | 39 | EXPORTS.mozilla.dom += [ |
michael@0 | 40 | 'MmsMessage.h', |
michael@0 | 41 | 'MobileMessageManager.h', |
michael@0 | 42 | 'SmsFilter.h', |
michael@0 | 43 | 'SmsMessage.h', |
michael@0 | 44 | 'SmsSegmentInfo.h', |
michael@0 | 45 | ] |
michael@0 | 46 | |
michael@0 | 47 | UNIFIED_SOURCES += [ |
michael@0 | 48 | 'Constants.cpp', |
michael@0 | 49 | 'ipc/SmsChild.cpp', |
michael@0 | 50 | 'ipc/SmsIPCService.cpp', |
michael@0 | 51 | 'ipc/SmsParent.cpp', |
michael@0 | 52 | 'MmsMessage.cpp', |
michael@0 | 53 | 'MobileMessageCallback.cpp', |
michael@0 | 54 | 'MobileMessageCursorCallback.cpp', |
michael@0 | 55 | 'MobileMessageManager.cpp', |
michael@0 | 56 | 'MobileMessageService.cpp', |
michael@0 | 57 | 'MobileMessageThread.cpp', |
michael@0 | 58 | 'SmsFilter.cpp', |
michael@0 | 59 | 'SmsMessage.cpp', |
michael@0 | 60 | 'SmsSegmentInfo.cpp', |
michael@0 | 61 | 'SmsServicesFactory.cpp', |
michael@0 | 62 | ] |
michael@0 | 63 | |
michael@0 | 64 | IPDL_SOURCES += [ |
michael@0 | 65 | 'ipc/PMobileMessageCursor.ipdl', |
michael@0 | 66 | 'ipc/PSms.ipdl', |
michael@0 | 67 | 'ipc/PSmsRequest.ipdl', |
michael@0 | 68 | 'ipc/SmsTypes.ipdlh', |
michael@0 | 69 | ] |
michael@0 | 70 | |
michael@0 | 71 | FAIL_ON_WARNINGS = True |
michael@0 | 72 | |
michael@0 | 73 | MSVC_ENABLE_PGO = True |
michael@0 | 74 | |
michael@0 | 75 | LOCAL_INCLUDES += [ |
michael@0 | 76 | '/dom/base', |
michael@0 | 77 | ] |
michael@0 | 78 | |
michael@0 | 79 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 80 | |
michael@0 | 81 | FINAL_LIBRARY = 'gklayout' |