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