b2g/components/moz.build
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 29 Dec 2015 22:57:38 +0900
changeset 315134 4cd8ab65dd297c2730b7237690eebd5d6a66cf69
parent 314086 ad9a8dfbf99ed97c0e79094cedd8561d1ef79207
child 316509 78922c4c6206cc791d0383cf3040dbf444725197
permissions -rw-r--r--
Bug 1208944 - Part 2-b. Workaround for OSX. r=masayuki

# -*- 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/.

DIRS += ['test']

EXTRA_COMPONENTS += [
    'ActivitiesGlue.js',
    'AlertsService.js',
    'B2GAboutRedirector.js',
    'B2GAppMigrator.js',
    'B2GPresentationDevicePrompt.js',
    'BootstrapCommandLine.js',
    'ContentPermissionPrompt.js',
    'FilePicker.js',
    'FxAccountsUIGlue.js',
    'HelperAppDialog.js',
    'InterAppCommUIGlue.js',
    'KillSwitch.js',
    'MailtoProtocolHandler.js',
    'MobileIdentityUIGlue.js',
    'OMAContentHandler.js',
    'PaymentGlue.js',
    'PaymentProviderStrategy.js',
    'PresentationRequestUIGlue.js',
    'ProcessGlobal.js',
    'SmsProtocolHandler.js',
    'SystemMessageGlue.js',
    'TelProtocolHandler.js',
    'WebappsUpdateTimer.js',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'gonk' and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
    EXTRA_COMPONENTS += [
      'CommandLine.js',
      'OopCommandLine.js',
      'SimulatorScreen.js'
    ]

EXTRA_PP_COMPONENTS += [
    'B2GComponents.manifest',
]

if CONFIG['MOZ_B2G'] and not CONFIG['MOZ_B2GDROID']:
    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',
    'KillSwitchMain.jsm',
    'LogCapture.jsm',
    'LogParser.jsm',
    'LogShake.jsm',
    'MultiscreenHandler.jsm',
    'OrientationChangeHandler.jsm',
    'SafeMode.jsm',
    'Screenshot.jsm',
    'SignInToWebsite.jsm',
    'SystemAppProxy.jsm',
    'TelURIParser.jsm',
    'WebappsUpdater.jsm',
]

EXTRA_PP_JS_MODULES += [
    'PersistentDataBlock.jsm'
]

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