Bug 1704628 Part 5: Avoid use of ESC to close context menu in browser_toolbox_textbox...
[gecko.git] / layout / build / moz.build
blob448a2404a73bf1b466dc68817ed9fad17372005e
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8     "nsContentDLF.h",
9     "nsLayoutCID.h",
10     "nsLayoutStatics.h",
13 UNIFIED_SOURCES += [
14     "nsContentDLF.cpp",
15     "nsLayoutModule.cpp",
16     "nsLayoutStatics.cpp",
19 include("/ipc/chromium/chromium-config.mozbuild")
21 LOCAL_INCLUDES += [
22     "../base",
23     "../forms",
24     "../generic",
25     "../inspector",
26     "../mathml",
27     "../painting",
28     "../style",
29     "../tables",
30     "../xul",
31     "/caps",
32     "/docshell/base",
33     "/dom/audiochannel",
34     "/dom/base",
35     "/dom/bindings",
36     "/dom/canvas",
37     "/dom/filesystem",
38     "/dom/geolocation",
39     "/dom/html",
40     "/dom/jsurl",
41     "/dom/media",
42     "/dom/offline",
43     "/dom/storage",
44     "/dom/xslt/base",
45     "/dom/xslt/xml",
46     "/dom/xslt/xpath",
47     "/dom/xslt/xslt",
48     "/dom/xul",
49     "/editor/composer",
50     "/js/xpconnect/loader",
51     "/js/xpconnect/src",
52     "/netwerk/base",
53     "/netwerk/cookie",
54     "/toolkit/components/sessionstore",
55     "/view",
58 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
59     LOCAL_INCLUDES += [
60         "/dom/system/windows",
61     ]
62 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
63     LOCAL_INCLUDES += [
64         "/dom/system/mac",
65     ]
66 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
67     LOCAL_INCLUDES += [
68         "/dom/system",
69         "/dom/system/android",
70     ]
72 XPCOM_MANIFESTS += [
73     "components.conf",
76 FINAL_LIBRARY = "xul"
78 if CONFIG["CC_TYPE"] in ("clang", "gcc"):
79     CXXFLAGS += ["-Wno-error=shadow"]