toolkit/identity/moz.build
author Gregory Szorc <gps@mozilla.com>
Thu, 06 Feb 2014 13:00:20 -0800
changeset 167658 637e219bdb5eb6ca15c74cfb9aa1f75eb972f4de
parent 166023 9ed86b468f73de63f402a350017d567232ccd3e9
child 196842 b961ba8f089273cfd94d079ab88565efbb3edc11
permissions -rw-r--r--
Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted Many moz.build files define things that could be defined in parent moz.build files. Keeping the number of moz.build files low helps with build times due to less I/O and fewer directories traversed. This patch eliminates a lot of moz.build files by moving their content into parent moz.build files.

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

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

XPIDL_SOURCES += [
    'nsIIdentityCryptoService.idl',
]

XPIDL_MODULE = 'identity'

SOURCES += [
    'IdentityCryptoService.cpp',
]

JS_MODULES_PATH = 'modules/identity'

EXTRA_JS_MODULES += [
    'Identity.jsm',
    'IdentityProvider.jsm',
    'IdentityStore.jsm',
    'IdentityUtils.jsm',
    'jwcrypto.jsm',
    'LogUtils.jsm',
    'MinimalIdentity.jsm',
    'RelyingParty.jsm',
    'Sandbox.jsm',
]

EXTRA_PP_JS_MODULES += [
    'FirefoxAccounts.jsm',
]

FAIL_ON_WARNINGS = True

FINAL_LIBRARY = 'xul'