moz.build (1059B)
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/. 6 7 TEST_DIRS += ["test"] 8 9 XPIDL_SOURCES += [ 10 "nsIChromeRegistry.idl", 11 "nsIToolkitChromeRegistry.idl", 12 ] 13 14 XPIDL_MODULE = "chrome" 15 16 EXPORTS += [ 17 "nsChromeProtocolHandler.h", 18 ] 19 20 EXPORTS.mozilla.chrome += [ 21 "RegistryMessageUtils.h", 22 ] 23 24 UNIFIED_SOURCES += [ 25 "nsChromeProtocolHandler.cpp", 26 "nsChromeRegistry.cpp", 27 "nsChromeRegistryChrome.cpp", 28 "nsChromeRegistryContent.cpp", 29 ] 30 31 include("/ipc/chromium/chromium-config.mozbuild") 32 33 FINAL_LIBRARY = "xul" 34 35 LOCAL_INCLUDES += [ 36 "!/xpcom", 37 "/dom/base", 38 "/netwerk/base", 39 "/netwerk/protocol/res", 40 "/xpcom/components", 41 ] 42 43 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 44 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] 45 46 with Files("**"): 47 BUG_COMPONENT = ("Toolkit", "Startup and Profile System")