dom/apps/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 25 Mar 2016 15:48:21 +0900
changeset 290912 f97bcb2eaf41b62bb7d222f8a627a45e17fbbf54
parent 289606 a85b572e0d8cb461253363dc8ac9bfc2f60d953d
child 296250 463356a9c910747d1b2dc941daa887d23578d95f
permissions -rw-r--r--
Bug 1257516 - Rename error() to die() and make it take arguments like the logging module. 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/.

XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']

MOCHITEST_MANIFESTS += ['tests/mochitest.ini']

MOCHITEST_CHROME_MANIFESTS += [
    'tests/b2g_chrome.ini',
    'tests/chrome.ini'
]

EXPORTS.mozilla.dom += [
    'InterAppComm.h',
]

SOURCES += [
    'InterAppComm.cpp',
]

EXTRA_COMPONENTS += [
    'AppsService.js',
    'AppsService.manifest',
    'InterAppComm.manifest',
    'InterAppCommService.js',
    'InterAppConnection.js',
    'InterAppMessagePort.js',
    'Webapps.js',
    'Webapps.manifest',
]

EXTRA_JS_MODULES += [
    'AppDownloadManager.jsm',
    'AppsServiceChild.jsm',
    'FreeSpaceWatcher.jsm',
    'Langpacks.jsm',
    'MessageBroadcaster.jsm',
    'OfflineCacheInstaller.jsm',
    'PermissionsInstaller.jsm',
    'PermissionsTable.jsm',
    'StoreTrustAnchor.jsm',
    'UserCustomizations.jsm',
]

EXTRA_PP_JS_MODULES += [
    'AppsUtils.jsm',
    'ImportExport.jsm',
    'InterAppCommService.jsm',
    'OperatorApps.jsm',
    'ScriptPreloader.jsm',
    'Webapps.jsm',
]

if CONFIG['GNU_CXX']:
    CXXFLAGS += ['-Wshadow']

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/js/xpconnect/wrappers',
]