moz.build (1159B)
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 XPIDL_SOURCES += [ 8 "nsIResProtocolHandler.idl", 9 "nsISubstitutingProtocolHandler.idl", 10 ] 11 12 XPIDL_MODULE = "necko_res" 13 14 EXPORTS.mozilla.net += [ 15 "ExtensionProtocolHandler.h", 16 "MozNewTabWallpaperProtocolHandler.h", 17 "MozSrcProtocolHandler.h", 18 "PageThumbProtocolHandler.h", 19 "RemoteStreamGetter.h", 20 "SubstitutingJARURI.h", 21 "SubstitutingProtocolHandler.h", 22 "SubstitutingURL.h", 23 ] 24 25 EXPORTS += [ 26 "nsResProtocolHandler.h", 27 ] 28 29 UNIFIED_SOURCES += [ 30 "ExtensionProtocolHandler.cpp", 31 "MozNewTabWallpaperProtocolHandler.cpp", 32 "MozSrcProtocolHandler.cpp", 33 "nsResProtocolHandler.cpp", 34 "PageThumbProtocolHandler.cpp", 35 "RemoteStreamGetter.cpp", 36 "SubstitutingProtocolHandler.cpp", 37 ] 38 39 include("/ipc/chromium/chromium-config.mozbuild") 40 41 FINAL_LIBRARY = "xul" 42 43 LOCAL_INCLUDES += [ 44 "/netwerk/base", 45 "/xpcom/base", 46 ]