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
# Make this file available from the "resource:" URI of the test environment.
16
'test/browser/form_basic.html',
17
'test/LoginTestUtils.jsm',
18
]
19
20
XPIDL_SOURCES += [
21
'nsILoginAutoCompleteSearch.idl',
22
'nsILoginInfo.idl',
23
'nsILoginManager.idl',
24
'nsILoginManagerCrypto.idl',
25
'nsILoginManagerPrompter.idl',
26
'nsILoginManagerStorage.idl',
27
'nsILoginMetaInfo.idl',
28
]
29
30
XPIDL_MODULE = 'loginmgr'
31
32
EXTRA_JS_MODULES += [
33
'crypto-SDR.js',
34
'InsecurePasswordUtils.jsm',
35
'LoginAutoCompleteResult.jsm',
36
'LoginFormFactory.jsm',
37
'LoginHelper.jsm',
38
'LoginInfo.jsm',
39
'LoginManager.jsm',
40
'LoginManagerChild.jsm',
41
'LoginManagerParent.jsm',
42
'LoginManagerPrompter.jsm',
43
'LoginRecipes.jsm',
44
'OSCrypto.jsm',
45
]
46
47
if CONFIG['OS_TARGET'] == 'Android':
48
EXTRA_JS_MODULES += [
49
'storage-mozStorage.js',
50
]
51
else:
52
EXTRA_JS_MODULES += [
53
'LoginImport.jsm',
54
'LoginStore.jsm',
55
'PasswordGenerator.jsm',
56
'storage-json.js',
57
]
58
59
if CONFIG['OS_TARGET'] == 'WINNT':
60
EXTRA_JS_MODULES += [
61
'OSCrypto_win.js',
62
]
63
64
if CONFIG['MOZ_BUILD_APP'] == 'browser' or CONFIG['MOZ_SUITE']:
65
EXTRA_JS_MODULES += [
66
'LoginManagerContextMenu.jsm',
67
]
68
69
XPCOM_MANIFESTS += [
70
'components.conf',
71
]
72
73
JAR_MANIFESTS += ['jar.mn']
74
75
with Files('**'):
76
BUG_COMPONENT = ('Toolkit', 'Password Manager')