moz.build 1.9 KB
Newer Older
1
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2
3
4
5
6
# 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/.

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
with Files("tests/**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("tests/browser/browser_bug538331.js"):
    BUG_COMPONENT = ("Toolkit", "Application Update")

with Files("tests/browser/browser_contentpermissionprompt.js"):
    BUG_COMPONENT = ("Firefox", "Site Identity and Permission Panels")

with Files("tests/unit/test_browserGlue_migration_loop_cleanup.js"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("tests/unit/test_distribution.js"):
    BUG_COMPONENT = ("Firefox", "Distributions")

with Files("safebrowsing/**"):
    BUG_COMPONENT = ("Toolkit", "Safe Browsing")


26
DIRS += [
27
    'about',
28
    'contextualidentity',
29
    'customizableui',
30
31
    'dirprovider',
    'downloads',
32
    'extensions',
33
    'feeds',
34
    'migration',
35
    'newtab',
36
    'originattributes',
37
38
39
    'places',
    'preferences',
    'privatebrowsing',
40
    'resistfingerprinting',
41
42
43
    'search',
    'sessionstore',
    'shell',
44
    'selfsupport',
45
    'syncedtabs',
46
    'uitour',
47
    'translation',
48
49
50
]

DIRS += ['build']
51
52
53
54
55
56

XPIDL_SOURCES += [
    'nsIBrowserGlue.idl',
    'nsIBrowserHandler.idl',
]

57
58
XPIDL_MODULE = 'browsercompsbase'

59
EXTRA_PP_COMPONENTS += [
60
    'BrowserComponents.manifest',
61
]
62

63
64
EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
65
    'nsBrowserGlue.js',
66
67
]

68
69
70
71
EXTRA_JS_MODULES += [
    'distribution.js',
]

72
BROWSER_CHROME_MANIFESTS += [
73
    'safebrowsing/content/test/browser.ini',
74
75
76
77
78
    'tests/browser/browser.ini'
]

XPCSHELL_TESTS_MANIFESTS += [
    'tests/unit/xpcshell.ini'
79
80
]

81
82
with Files('safebrowsing/*'):
    BUG_COMPONENT = ('Toolkit', 'Phishing Protection')
83
84
85

with Files('controlcenter/**'):
    BUG_COMPONENT = ('Firefox', 'General')