moz.build (881B)
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 XPCOM_MANIFESTS += [ 8 "components.conf", 9 ] 10 11 EXPORTS += [ 12 "nsGIOProtocolHandler.h", 13 ] 14 15 EXPORTS.mozilla.net += [ 16 "GIOChannelChild.h", 17 "GIOChannelParent.h", 18 ] 19 20 UNIFIED_SOURCES += [ 21 "GIOChannelChild.cpp", 22 "GIOChannelParent.cpp", 23 "nsGIOProtocolHandler.cpp", 24 ] 25 26 IPDL_SOURCES = [ 27 "PGIOChannel.ipdl", 28 ] 29 30 include("/ipc/chromium/chromium-config.mozbuild") 31 32 LOCAL_INCLUDES += [ 33 "/netwerk/base", 34 ] 35 36 FINAL_LIBRARY = "xul" 37 38 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk": 39 CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"] 40 41 with Files("**"): 42 BUG_COMPONENT = ("Core", "Widget: Gtk")