Bug 1883902 [wpt PR 44951] - Update wpt metadata, a=testonly
[gecko.git] / chrome / moz.build
blobddca6edbe4d627d47e1313c44e2a53626716c0bf
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 TEST_DIRS += ["test"]
9 XPIDL_SOURCES += [
10     "nsIChromeRegistry.idl",
11     "nsIToolkitChromeRegistry.idl",
14 XPIDL_MODULE = "chrome"
16 EXPORTS += [
17     "nsChromeProtocolHandler.h",
20 EXPORTS.mozilla.chrome += [
21     "RegistryMessageUtils.h",
24 UNIFIED_SOURCES += [
25     "nsChromeProtocolHandler.cpp",
26     "nsChromeRegistry.cpp",
27     "nsChromeRegistryChrome.cpp",
28     "nsChromeRegistryContent.cpp",
31 include("/ipc/chromium/chromium-config.mozbuild")
33 FINAL_LIBRARY = "xul"
35 LOCAL_INCLUDES += [
36     "!/xpcom",
37     "/dom/base",
38     "/netwerk/base",
39     "/netwerk/protocol/res",
40     "/xpcom/components",
43 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
44     CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
46 with Files("**"):
47     BUG_COMPONENT = ("Toolkit", "Startup and Profile System")