1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "DOM: Web Authentication")
10 IPDL_SOURCES += ["PWebAuthnTransaction.ipdl"]
17 "nsIWebAuthnArgs.idl",
18 "nsIWebAuthnAttObj.idl",
19 "nsIWebAuthnPromise.idl",
20 "nsIWebAuthnResult.idl",
21 "nsIWebAuthnService.idl",
24 XPIDL_MODULE = "dom_webauthn"
26 EXPORTS.mozilla.dom += [
27 "AuthenticatorAssertionResponse.h",
28 "AuthenticatorAttestationResponse.h",
29 "AuthenticatorResponse.h",
30 "PublicKeyCredential.h",
32 "WebAuthnManagerBase.h",
33 "WebAuthnPromiseHolder.h",
34 "WebAuthnTransactionChild.h",
35 "WebAuthnTransactionParent.h",
37 "winwebauthn/webauthn.h",
41 "AuthenticatorAssertionResponse.cpp",
42 "AuthenticatorAttestationResponse.cpp",
43 "AuthenticatorResponse.cpp",
44 "PublicKeyCredential.cpp",
46 "WebAuthnAutoFillEntry.cpp",
47 "WebAuthnManager.cpp",
48 "WebAuthnManagerBase.cpp",
49 "WebAuthnPromiseHolder.cpp",
51 "WebAuthnService.cpp",
52 "WebAuthnTransactionChild.cpp",
53 "WebAuthnTransactionParent.cpp",
57 include("/ipc/chromium/chromium-config.mozbuild")
64 "/security/manager/ssl",
68 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
70 "AndroidWebAuthnService.cpp",
73 if CONFIG["TARGET_OS"] == "OSX":
75 "MacOSWebAuthnService.mm",
78 "-framework AuthenticationServices",
81 if CONFIG["OS_ARCH"] == "WINNT":
86 if CONFIG["OS_TARGET"] == "WINNT":
87 EXPORTS.mozilla.dom += [
88 "WinWebAuthnService.h",
91 "WinWebAuthnService.cpp",
94 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"]
95 BROWSER_CHROME_MANIFESTS += [
96 "tests/browser/browser.toml",