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

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

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
    'aboutlogins',
32
    'attribution',
33
    'contextualidentity',
34
    'customizableui',
35
36
    'dirprovider',
    'downloads',
37
    'enterprisepolicies',
38
    'extensions',
39
    'library',
40
    'migration',
41
    'newtab',
42
    'originattributes',
43
    'places',
44
    'pocket',
45
46
    'preferences',
    'privatebrowsing',
47
    'protections',
48
    'protocolhandler',
49
    'resistfingerprinting',
50
51
52
    'search',
    'sessionstore',
    'shell',
53
    'syncedtabs',
54
    'uitour',
55
    'urlbar',
56
    'translation',
57
58
59
]

DIRS += ['build']
60

61
if CONFIG['NIGHTLY_BUILD']:
62
    DIRS += [
63
        'aboutconfig',
64
65
        'payments',
    ]
66

67
68
69
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    DIRS += ['touchbar']

70
71
72
73
XPIDL_SOURCES += [
    'nsIBrowserHandler.idl',
]

74
75
XPIDL_MODULE = 'browsercompsbase'

76
77
78
79
XPCOM_MANIFESTS += [
    'components.conf',
]

80
EXTRA_COMPONENTS += [
81
    'BrowserComponents.manifest',
82
83
    'tests/startupRecorder.js',
    'tests/testComponents.manifest',
84
85
]

86
EXTRA_JS_MODULES += [
87
88
    'BrowserContentHandler.jsm',
    'BrowserGlue.jsm',
89
90
91
    'distribution.js',
]

92
BROWSER_CHROME_MANIFESTS += [
93
    'safebrowsing/content/test/browser.ini',
94
    'tests/browser/browser.ini',
95
96
]

97
98
99
100
101
if CONFIG['MOZ_UPDATER']:
    BROWSER_CHROME_MANIFESTS += [
        'tests/browser/whats_new_page/browser.ini',
    ]

102
103
XPCSHELL_TESTS_MANIFESTS += [
    'tests/unit/xpcshell.ini'
104
]