moz.build 1.88 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
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")

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

28

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

DIRS += ['build']
54
55
56
57
58
59

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

60
61
XPIDL_MODULE = 'browsercompsbase'

62
EXTRA_PP_COMPONENTS += [
63
    'BrowserComponents.manifest',
64
]
65

66
67
EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
68
    'nsBrowserGlue.js',
69
70
    'tests/startupRecorder.js',
    'tests/testComponents.manifest',
71
72
]

73
74
75
76
EXTRA_JS_MODULES += [
    'distribution.js',
]

77
BROWSER_CHROME_MANIFESTS += [
78
    'safebrowsing/content/test/browser.ini',
79
80
81
82
83
    'tests/browser/browser.ini'
]

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