moz.build 1.25 KB
Newer Older
1
# -*- Mode: python; c-basic-offset: 4; 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
18
19
20
21
22
    'places',
    'preferences',
    'privatebrowsing',
    'search',
    'sessionstore',
    'shell',
23
    'selfsupport',
24
    'uitour',
25
    'translation',
26
27
28
]

DIRS += ['build']
29
30
31
32
33
34

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

35
36
XPIDL_MODULE = 'browsercompsbase'

37
EXTRA_PP_COMPONENTS += [
38
    'BrowserComponents.manifest',
39
]
40

41
42
EXTRA_COMPONENTS += [
    'nsBrowserContentHandler.js',
43
    'nsBrowserGlue.js',
44
45
]

46
47
48
49
EXTRA_JS_MODULES += [
    'distribution.js',
]

50
51
52
53
54
55
BROWSER_CHROME_MANIFESTS += [
    'test/browser.ini'
]

if CONFIG['MOZ_SAFE_BROWSING']:
    BROWSER_CHROME_MANIFESTS += ['safebrowsing/content/test/browser.ini']
56
57
58

with Files('safebrowsing/*'):
    BUG_COMPONENT = ('Toolkit', 'Phishing Protection')
59
60
61

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