moz.build 1.23 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
    'customizableui',
10
11
12
    'dirprovider',
    'downloads',
    'feeds',
13
    'loop',
14
    'migration',
15
    'places',
16
    'pocket',
17
18
    'preferences',
    'privatebrowsing',
19
    'readinglist',
20
21
22
    'search',
    'sessionstore',
    'shell',
23
    'selfsupport',
24
    'tabview',
25
    'uitour',
26
    'translation',
27
28
29
]

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

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

36
37
XPIDL_MODULE = 'browsercompsbase'

38
EXTRA_PP_COMPONENTS += [
39
    'BrowserComponents.manifest',
40
41
42
    'nsBrowserContentHandler.js',
    'nsBrowserGlue.js',
]
43
44
45
46
47

EXTRA_JS_MODULES += [
    'distribution.js',
]

48
49
50
51
52
53
BROWSER_CHROME_MANIFESTS += [
    'test/browser.ini'
]

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

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

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