browser/modules/moz.build
author David Rajchenbach-Teller <dteller@mozilla.com>
Fri, 17 Oct 2014 10:17:37 -0400
changeset 213384 09fbfd40895ad06d6168f1288dbb397969800f0d
parent 211210 eb1181e4493ca34484343d844d520d332ba6aa1b
child 214240 758d1cb4568b040fef053843c7afc23b418fa215
permissions -rw-r--r--
Bug 1083989 - Browser Chrome mochitests should not export Promise.jsm to the scope. r=ted

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

BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
MOCHITEST_CHROME_MANIFESTS += ['test/chrome/chrome.ini']
XPCSHELL_TESTS_MANIFESTS += [
    'test/unit/social/xpcshell.ini',
    'test/xpcshell/xpcshell.ini',
]

EXTRA_JS_MODULES += [
    'BrowserNewTabPreloader.jsm',
    'BrowserUITelemetry.jsm',
    'CastingApps.jsm',
    'Chat.jsm',
    'ContentClick.jsm',
    'ContentLinkHandler.jsm',
    'ContentSearch.jsm',
    'ContentWebRTC.jsm',
    'CustomizationTabPreloader.jsm',
    'DirectoryLinksProvider.jsm',
    'E10SUtils.jsm',
    'Feeds.jsm',
    'FormSubmitObserver.jsm',
    'FormValidationHandler.jsm',
    'NetworkPrioritizer.jsm',
    'offlineAppCache.jsm',
    'PanelFrame.jsm',
    'RemotePrompt.jsm',
    'SharedFrame.jsm',
    'SitePermissions.jsm',
    'Social.jsm',
    'TabCrashReporter.jsm',
    'WebappManager.jsm',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    EXTRA_JS_MODULES += [
        'Windows8WindowFrameColor.jsm',
        'WindowsJumpLists.jsm',
        'WindowsPreviewPerTab.jsm',
    ]

if CONFIG['NIGHTLY_BUILD']:
    EXTRA_JS_MODULES += [
        'SignInToWebsite.jsm',
    ]

EXTRA_PP_JS_MODULES += [
    'AboutHome.jsm',
    'PluginContent.jsm',
    'RecentWindow.jsm',
    'UITour.jsm',
    'webrtcUI.jsm',
]

if CONFIG['MOZILLA_OFFICIAL']:
    DEFINES['MOZILLA_OFFICIAL'] = 1