summaryrefslogtreecommitdiff
path: root/dom/dom-config.mk
blob: feeb27793bfbdfb6bf579faa3d8845795e842848 (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
# 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/.

DOM_SRCDIRS = \
  dom/base \
  dom/battery \
  dom/encoding \
  dom/file \
  dom/power \
  dom/push \
  dom/quota \
  dom/media \
  dom/network/src \
  dom/phonenumberutils \
  dom/alarm \
  dom/src/events \
  dom/src/storage \
  dom/src/offline \
  dom/src/geolocation \
  dom/src/notification \
  dom/workers \
  dom/time \
  content/xbl/src \
  content/xul/document/src \
  content/events/src \
  content/base/src \
  content/html/content/src \
  content/html/document/src \
  content/media/webaudio \
  content/svg/content/src \
  layout/generic \
  layout/style \
  layout/xul/base/src \
  layout/xul/tree \
  dom/camera \
  $(NULL)

ifdef MOZ_B2G_RIL
DOM_SRCDIRS += \
  dom/system/gonk \
  dom/telephony \
  dom/wifi \
  dom/icc/src \
  $(NULL)
endif

ifdef MOZ_B2G_FM
DOM_SRCDIRS += \
  dom/fm \
  $(NULL)
endif

ifdef MOZ_B2G_BT
DOM_SRCDIRS += dom/bluetooth
endif

ifdef MOZ_WEBSPEECH
DOM_SRCDIRS += content/media/webspeech
endif

LOCAL_INCLUDES += $(DOM_SRCDIRS:%=-I$(topsrcdir)/%)
DEFINES += -D_IMPL_NS_LAYOUT