2017-01-11 23:38:08 +03:00
|
|
|
# -*- 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/.
|
|
|
|
|
2017-02-06 17:45:55 +03:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "DOM: Device Interfaces")
|
|
|
|
|
2017-04-20 02:19:28 +03:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'PWebAuthnTransaction.ipdl'
|
|
|
|
]
|
|
|
|
|
2017-01-11 23:38:08 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
2017-05-22 23:03:58 +03:00
|
|
|
'AuthenticatorAssertionResponse.h',
|
2017-05-17 03:07:01 +03:00
|
|
|
'AuthenticatorAttestationResponse.h',
|
|
|
|
'AuthenticatorResponse.h',
|
|
|
|
'PublicKeyCredential.h',
|
2017-06-23 16:48:50 +03:00
|
|
|
'U2FHIDTokenManager.h',
|
2017-05-05 03:48:34 +03:00
|
|
|
'U2FSoftTokenManager.h',
|
|
|
|
'U2FTokenManager.h',
|
|
|
|
'U2FTokenTransport.h',
|
2017-07-14 04:12:50 +03:00
|
|
|
'WebAuthnCBORUtil.h',
|
2017-04-20 03:46:08 +03:00
|
|
|
'WebAuthnManager.h',
|
2017-12-05 21:05:06 +03:00
|
|
|
'WebAuthnManagerBase.h',
|
2017-04-20 03:46:08 +03:00
|
|
|
'WebAuthnTransactionChild.h',
|
2017-05-05 03:48:34 +03:00
|
|
|
'WebAuthnTransactionParent.h',
|
2017-07-14 04:12:57 +03:00
|
|
|
'WebAuthnUtil.h',
|
2017-01-11 23:38:08 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
2017-05-22 23:03:58 +03:00
|
|
|
'AuthenticatorAssertionResponse.cpp',
|
2017-05-17 03:07:01 +03:00
|
|
|
'AuthenticatorAttestationResponse.cpp',
|
|
|
|
'AuthenticatorResponse.cpp',
|
2017-07-14 04:12:57 +03:00
|
|
|
'cbor-cpp/src/encoder.cpp',
|
|
|
|
'cbor-cpp/src/output_dynamic.cpp',
|
2017-05-17 03:07:01 +03:00
|
|
|
'PublicKeyCredential.cpp',
|
2017-06-23 16:48:50 +03:00
|
|
|
'U2FHIDTokenManager.cpp',
|
2017-05-05 03:48:34 +03:00
|
|
|
'U2FSoftTokenManager.cpp',
|
|
|
|
'U2FTokenManager.cpp',
|
2017-07-14 04:12:50 +03:00
|
|
|
'WebAuthnCBORUtil.cpp',
|
2017-04-20 03:46:08 +03:00
|
|
|
'WebAuthnManager.cpp',
|
2017-12-06 20:41:58 +03:00
|
|
|
'WebAuthnManagerBase.cpp',
|
2017-04-20 03:46:08 +03:00
|
|
|
'WebAuthnTransactionChild.cpp',
|
2017-05-05 03:48:34 +03:00
|
|
|
'WebAuthnTransactionParent.cpp',
|
2017-07-14 04:12:57 +03:00
|
|
|
'WebAuthnUtil.cpp',
|
2017-01-11 23:38:08 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/crypto',
|
|
|
|
'/security/manager/ssl',
|
|
|
|
'/security/pkix/include',
|
|
|
|
'/security/pkix/lib',
|
|
|
|
]
|
|
|
|
|
2017-08-09 22:24:50 +03:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
OS_LIBS += [
|
|
|
|
'hid',
|
|
|
|
]
|
|
|
|
|
2017-01-11 23:38:08 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
2017-08-09 22:22:48 +03:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['tests/browser/browser.ini']
|