moz.build 2.02 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
with Files("**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("distribution.js"):
    BUG_COMPONENT = ("Firefox", "Distributions")

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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")

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

34

35
DIRS += [
36
    'about',
37
    'contextualidentity',
38
    'customizableui',
39
40
    'dirprovider',
    'downloads',
41
    'enterprisepolicies',
42
    'extensions',
43
    'feeds',
44
    'library',
45
    'migration',
46
    'newtab',
47
    'originattributes',
48
49
50
    'places',
    'preferences',
    'privatebrowsing',
51
    'resistfingerprinting',
52
53
54
    'search',
    'sessionstore',
    'shell',
55
    'syncedtabs',
56
    'uitour',
57
    'translation',
58
59
60
]

DIRS += ['build']
61
62
63
64
65

XPIDL_SOURCES += [
    'nsIBrowserHandler.idl',
]

66
67
XPIDL_MODULE = 'browsercompsbase'

68
EXTRA_PP_COMPONENTS += [
69
    'BrowserComponents.manifest',
70
]
71

72
73
EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
74
    'nsBrowserGlue.js',
75
76
    'tests/startupRecorder.js',
    'tests/testComponents.manifest',
77
78
]

79
80
81
82
EXTRA_JS_MODULES += [
    'distribution.js',
]

83
BROWSER_CHROME_MANIFESTS += [
84
    'safebrowsing/content/test/browser.ini',
85
86
87
88
89
    'tests/browser/browser.ini'
]

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