b2g/components/moz.build
author Ehsan Akhgari <ehsan@mozilla.com>
Wed, 16 Nov 2016 21:19:43 -0500
changeset 323139 1fdb5a1b0d86d274c23f5d4232432c13dc42df79
parent 317885 144625d6fafa6bd2870f9d886245e878e591b2e1
child 323337 1a66e7113e83e8dbb93bfb00eb5187a76feaaf6d
permissions -rw-r--r--
Bug 1318210 - Remove nsIAppsService; r=baku

# -*- 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',
    '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'