moz.build 1.31 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
DIRS += [
8
    'about',
9
    'contextualidentity',
10
    'customizableui',
11
12
    'dirprovider',
    'downloads',
13
    'extensions',
14
    'feeds',
15
    'migration',
16
    'newtab',
17
    'originattributes',
18
19
20
    'places',
    'preferences',
    'privatebrowsing',
21
    'resistfingerprinting',
22
23
24
    'search',
    'sessionstore',
    'shell',
25
    'selfsupport',
26
    'syncedtabs',
27
    'uitour',
28
    'translation',
29
30
31
]

DIRS += ['build']
32
33
34
35
36
37

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

38
39
XPIDL_MODULE = 'browsercompsbase'

40
EXTRA_PP_COMPONENTS += [
41
    'BrowserComponents.manifest',
42
]
43

44
45
EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
46
    'nsBrowserGlue.js',
47
48
]

49
50
51
52
EXTRA_JS_MODULES += [
    'distribution.js',
]

53
BROWSER_CHROME_MANIFESTS += [
54
    'safebrowsing/content/test/browser.ini',
55
56
57
58
59
    'tests/browser/browser.ini'
]

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

62
63
with Files('safebrowsing/*'):
    BUG_COMPONENT = ('Toolkit', 'Phishing Protection')
64
65
66

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