summaryrefslogtreecommitdiffstats
path: root/b2g/components/moz.build
blob: 9290c5e2a04c3228d282ae3f91cf5be68569adb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# -*- Mode: python; 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/.

DIRS += ['test']

EXTRA_COMPONENTS += [
    'AlertsService.js',
    'B2GAboutRedirector.js',
    'B2GAppMigrator.js',
    'B2GPresentationDevicePrompt.js',
    'BootstrapCommandLine.js',
    'ContentPermissionPrompt.js',
    'FilePicker.js',
    'FxAccountsUIGlue.js',
    'HelperAppDialog.js',
    'MailtoProtocolHandler.js',
    'OMAContentHandler.js',
    'PresentationRequestUIGlue.js',
    'ProcessGlobal.js',
    'SmsProtocolHandler.js',
    'SystemMessageInternal.js',
    'TelProtocolHandler.js',
]

if CONFIG['OS_TARGET'] != 'Android':
    EXTRA_COMPONENTS += [
      'CommandLine.js',
      'OopCommandLine.js',
      'SimulatorScreen.js'
    ]

EXTRA_PP_COMPONENTS += [
    'B2GComponents.manifest',
]

if CONFIG['MOZ_B2G']:
    EXTRA_COMPONENTS += [
        'DirectoryProvider.js',
        'RecoveryService.js',
    ]

if CONFIG['MOZ_UPDATER']:
    EXTRA_COMPONENTS += [
        'UpdatePrompt.js',
    ]

EXTRA_JS_MODULES += [
    'AboutServiceWorkers.jsm',
    'ActivityChannel.jsm',
    'AlertsHelper.jsm',
    'Bootstraper.jsm',
    'ContentRequestHelper.jsm',
    'DebuggerActors.js',
    'ErrorPage.jsm',
    'Frames.jsm',
    'FxAccountsMgmtService.jsm',
    'LogCapture.jsm',
    'LogParser.jsm',
    'LogShake.jsm',
    'OrientationChangeHandler.jsm',
    'SafeMode.jsm',
    'Screenshot.jsm',
    'SignInToWebsite.jsm',
    'SystemAppProxy.jsm',
    'TelURIParser.jsm',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk':
    EXTRA_JS_MODULES += [
      'GlobalSimulatorScreen.jsm'
    ]

XPIDL_SOURCES += [
    'nsIGaiaChrome.idl',
    'nsISystemMessagesInternal.idl'
]

XPIDL_MODULE = 'gaia_chrome'

UNIFIED_SOURCES += [
    'GaiaChrome.cpp'
]

LOCAL_INCLUDES += [
    '/chrome'
]

FINAL_LIBRARY = 'xul'