dom/webauthn/moz.build
author David Keeler <dkeeler@mozilla.com>
Tue, 23 May 2017 14:55:10 -0700
changeset 411409 3c876e859603f37750de4725546d2c1dddf05e31
parent 411408 3c0d57fec9e5bb5c6eb71389d62129d7f8a2baa8
child 416364 3984855684f9ffaa248725a84631d055a22404c7
permissions -rw-r--r--
bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot MozReview-Commit-ID: 13EqlQVQApx

# -*- Mode: python; 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/.

with Files("**"):
    BUG_COMPONENT = ("Core", "DOM: Device Interfaces")

IPDL_SOURCES += [
    'PWebAuthnTransaction.ipdl'
]

EXPORTS.mozilla.dom += [
    'AuthenticatorAssertionResponse.h',
    'AuthenticatorAttestationResponse.h',
    'AuthenticatorResponse.h',
    'NSSU2FTokenRemote.h',
    'PublicKeyCredential.h',
    'U2FSoftTokenManager.h',
    'U2FTokenManager.h',
    'U2FTokenTransport.h',
    'WebAuthnManager.h',
    'WebAuthnRequest.h',
    'WebAuthnTransactionChild.h',
    'WebAuthnTransactionParent.h',
    'WebAuthnUtil.h'
]

UNIFIED_SOURCES += [
    'AuthenticatorAssertionResponse.cpp',
    'AuthenticatorAttestationResponse.cpp',
    'AuthenticatorResponse.cpp',
    'NSSU2FTokenRemote.cpp',
    'PublicKeyCredential.cpp',
    'U2FSoftTokenManager.cpp',
    'U2FTokenManager.cpp',
    'WebAuthnManager.cpp',
    'WebAuthnTransactionChild.cpp',
    'WebAuthnTransactionParent.cpp',
    'WebAuthnUtil.cpp'
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'

LOCAL_INCLUDES += [
    '/dom/base',
    '/dom/crypto',
    '/security/manager/ssl',
    '/security/pkix/include',
    '/security/pkix/lib',
]

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