toolkit/identity/moz.build
author Nathan Froyd <froydnj@mozilla.com>
Fri, 25 Jul 2014 13:40:07 -0400
changeset 196842 b961ba8f089273cfd94d079ab88565efbb3edc11
parent 167658 637e219bdb5eb6ca15c74cfb9aa1f75eb972f4de
permissions -rw-r--r--
Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to TESTING_JS_MODULES: we indicate the path relative to $(FINAL_TARGET)/modules with an appropriate hierarchy of paths.

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

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

EXTRA_PP_JS_MODULES.identity += [
    'FirefoxAccounts.jsm',
]

FAIL_ON_WARNINGS = True

FINAL_LIBRARY = 'xul'