moz.build 2.18 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
8
9
10
11
12
with Files("**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("distribution.js"):
    BUG_COMPONENT = ("Firefox", "Distributions")

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
with Files("tests/**"):
    BUG_COMPONENT = ("Firefox", "General")

with Files("tests/browser/browser_bug538331.js"):
    BUG_COMPONENT = ("Toolkit", "Application Update")

with Files("tests/browser/browser_contentpermissionprompt.js"):
    BUG_COMPONENT = ("Firefox", "Site Identity and Permission Panels")

with Files("tests/unit/test_distribution.js"):
    BUG_COMPONENT = ("Firefox", "Distributions")

with Files("safebrowsing/**"):
    BUG_COMPONENT = ("Toolkit", "Safe Browsing")

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

31

32
DIRS += [
33
    'about',
34
    'aboutlogins',
35
    'attribution',
36
    'contextualidentity',
37
    'customizableui',
38
39
    'dirprovider',
    'downloads',
40
    'enterprisepolicies',
41
    'extensions',
42
    'library',
43
    'migration',
44
    'newtab',
45
    'originattributes',
46
    'places',
47
    'pocket',
48
49
    'preferences',
    'privatebrowsing',
50
    'protections',
51
    'protocolhandler',
52
    'resistfingerprinting',
53
54
55
    'search',
    'sessionstore',
    'shell',
56
    'syncedtabs',
57
    'uitour',
58
    'urlbar',
59
    'translation',
60
61
62
]

DIRS += ['build']
63

64
if CONFIG['NIGHTLY_BUILD']:
65
    DIRS += [
66
        'aboutconfig',
67
68
        'payments',
    ]
69

70
71
72
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    DIRS += ['touchbar']

73
74
75
76
XPIDL_SOURCES += [
    'nsIBrowserHandler.idl',
]

77
78
XPIDL_MODULE = 'browsercompsbase'

79
80
81
82
XPCOM_MANIFESTS += [
    'components.conf',
]

83
EXTRA_COMPONENTS += [
84
    'BrowserComponents.manifest',
85
86
    'tests/startupRecorder.js',
    'tests/testComponents.manifest',
87
88
]

89
EXTRA_JS_MODULES += [
90
91
    'BrowserContentHandler.jsm',
    'BrowserGlue.jsm',
92
93
94
    'distribution.js',
]

95
BROWSER_CHROME_MANIFESTS += [
96
    'safebrowsing/content/test/browser.ini',
97
98
99
100
101
    'tests/browser/browser.ini'
]

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