Source code

Revision control

Other Tools

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/.
6
7
if CONFIG['MOZ_BUILD_APP'] == 'browser':
8
DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
9
10
MOCHITEST_MANIFESTS += ['test/mochitest/mochitest.ini']
11
BROWSER_CHROME_MANIFESTS += ['test/browser/browser.ini']
12
XPCSHELL_TESTS_MANIFESTS += ['test/unit/xpcshell.ini']
13
14
TESTING_JS_MODULES += [
15
'test/LoginTestUtils.jsm',
16
]
17
18
XPIDL_SOURCES += [
19
'nsILoginAutoCompleteSearch.idl',
20
'nsILoginInfo.idl',
21
'nsILoginManager.idl',
22
'nsILoginManagerAuthPrompter.idl',
23
'nsILoginManagerCrypto.idl',
24
'nsILoginManagerPrompter.idl',
25
'nsILoginManagerStorage.idl',
26
'nsILoginMetaInfo.idl',
27
]
28
29
XPIDL_MODULE = 'loginmgr'
30
31
EXTRA_JS_MODULES += [
32
'crypto-SDR.js',
33
'InsecurePasswordUtils.jsm',
34
'LoginAutoComplete.jsm',
35
'LoginFormFactory.jsm',
36
'LoginHelper.jsm',
37
'LoginInfo.jsm',
38
'LoginManager.jsm',
39
'LoginManagerAuthPrompter.jsm',
40
'LoginManagerChild.jsm',
41
'LoginManagerParent.jsm',
42
'LoginManagerPrompter.jsm',
43
'LoginRecipes.jsm',
44
'NewPasswordModel.jsm',
45
'OSCrypto.jsm',
46
'storage-json.js',
47
]
48
49
if CONFIG['OS_TARGET'] == 'Android':
50
EXTRA_JS_MODULES += [
51
'storage-geckoview.js',
52
]
53
else:
54
EXTRA_JS_MODULES += [
55
'LoginImport.jsm',
56
'LoginStore.jsm',
57
'PasswordGenerator.jsm',
58
]
59
60
if CONFIG['OS_TARGET'] == 'WINNT':
61
EXTRA_JS_MODULES += [
62
'OSCrypto_win.js',
63
]
64
65
if CONFIG['MOZ_BUILD_APP'] == 'browser' or CONFIG['MOZ_SUITE']:
66
EXTRA_JS_MODULES += [
67
'LoginManagerContextMenu.jsm',
68
]
69
70
XPCOM_MANIFESTS += [
71
'components.conf',
72
]
73
74
JAR_MANIFESTS += ['jar.mn']
75
76
with Files('**'):
77
BUG_COMPONENT = ('Toolkit', 'Password Manager')