moz.build (681B)
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 "nsIViewSourceChannel.idl", 9 ] 10 11 XPIDL_MODULE = "necko_viewsource" 12 13 UNIFIED_SOURCES += [ 14 "nsViewSourceChannel.cpp", 15 "nsViewSourceHandler.cpp", 16 ] 17 18 EXPORTS += [ 19 "nsViewSourceHandler.h", 20 ] 21 22 FINAL_LIBRARY = "xul" 23 LOCAL_INCLUDES += [ 24 "/netwerk/base", 25 # For nsHttpChannel.h 26 "/netwerk/protocol/http", 27 ] 28 29 include("/ipc/chromium/chromium-config.mozbuild")