moz.build 1.35 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
21
22
23
    'places',
    'preferences',
    'privatebrowsing',
    'search',
    'sessionstore',
    'shell',
24
    'selfsupport',
25
    'syncedtabs',
26
    'uitour',
27
    'translation',
28
29
30
]

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

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

37
38
XPIDL_MODULE = 'browsercompsbase'

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

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

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

52
BROWSER_CHROME_MANIFESTS += [
53
54
55
56
57
    'tests/browser/browser.ini'
]

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

if CONFIG['MOZ_SAFE_BROWSING']:
    BROWSER_CHROME_MANIFESTS += ['safebrowsing/content/test/browser.ini']
62
63
64

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

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