summaryrefslogtreecommitdiff
path: root/system/toolkit.mozbuild
blob: 837b1b2e92a8c06e8c41fd27ea16de33c20aa473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

DIRS += ['/libs']

DIRS += [
  '/config/external/freetype2',
  '/xpcom',
  '/intl',
]

if CONFIG['MOZ_AUTH_EXTENSION']:
  DIRS += ['/extensions/auth']

# Gecko/Core components.

DIRS += [
  '/ipc',
  '/js/ipc',
  '/js/xpconnect',
  '/libs/libyuv',
]

DIRS += [
  '/components',
  '/modules',
  '/system'
]

if CONFIG['MOZ_MAILNEWS']:
  DIRS += ['/mailnews']

if CONFIG['ENABLE_TESTS']:
  DIRS += ['/testing/specialpowers']

DIRS += [
  '/testing/gtest',
  '/dom',
  '/editor',
  '/layout',
  '/embedding',
]

if CONFIG['ACCESSIBILITY']:
  DIRS += ['/accessible']
else:
  DIRS += ['/accessible/ipc']

# toolkit

DIRS += [
  '/tools/power',
  '/tools/profiler',
  '/tools/memory-profiler',
]

if CONFIG['MOZ_SPELLCHECK']:
  DIRS += ['/extensions/spellcheck']

DIRS += ['/toolkit']

DIRS += ['/services']

DIRS += [
  '/system/evil/StaticXULComponentsEnd',
  '/system/evil',
]

if CONFIG['ENABLE_MARIONETTE'] or True:
  DIRS += [
    '/testing/firefox-ui',
    '/testing/marionette',
  ]

if CONFIG['ENABLE_TESTS']:
  DIRS += [
    '/testing/mochitest',
    '/testing/xpcshell',
    '/testing/tools/minidumpwriter',
    '/testing/tools/screenshot',
    '/testing/profiles',
    '/testing/mozbase',
    '/testing/modules',
    '/testing/runtimes',
    '/testing/web-platform',
  ]

  if CONFIG['MOZ_MEMORY']:
    DIRS += ['/memory/gtest']

if CONFIG['FUZZING']:
  DIRS += ['/tools/fuzzing']