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

DIRS += ['build']
30
31

XPIDL_SOURCES += [
32
    'nsIAboutNewTabService.idl',
33
34
35
36
    'nsIBrowserGlue.idl',
    'nsIBrowserHandler.idl',
]

37
38
XPIDL_MODULE = 'browsercompsbase'

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

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

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

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

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

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

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

if CONFIG['MOZ_REQUIRE_SIGNING']:
    DEFINES['MOZ_REQUIRE_SIGNING'] = 1