Bug 1867925 - Mark some storage-access-api tests as intermittent after wpt-sync....
[gecko.git] / widget / headless / moz.build
bloba46c3a10e39482c95757f4c84eed8b816f5bc6ee
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 with Files("**"):
8     BUG_COMPONENT = ("Firefox", "Headless")
10 DIRS += ["tests"]
12 LOCAL_INCLUDES += [
13     "/widget",
14     "/widget/headless",
17 widget_dir = CONFIG["MOZ_WIDGET_TOOLKIT"]
19 LOCAL_INCLUDES += [
20     "/widget/%s" % widget_dir,
23 UNIFIED_SOURCES += [
24     "HeadlessClipboard.cpp",
25     "HeadlessClipboardData.cpp",
26     "HeadlessCompositorWidget.cpp",
27     "HeadlessScreenHelper.cpp",
28     "HeadlessSound.cpp",
29     "HeadlessWidget.cpp",
32 if widget_dir == "gtk":
33     UNIFIED_SOURCES += [
34         "HeadlessLookAndFeelGTK.cpp",
35     ]
37 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
38     UNIFIED_SOURCES += [
39         "HeadlessKeyBindingsCocoa.mm",
40     ]
41 else:
42     UNIFIED_SOURCES += [
43         "HeadlessKeyBindings.cpp",
44     ]
46 include("/ipc/chromium/chromium-config.mozbuild")
48 FINAL_LIBRARY = "xul"