2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:23 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-02-02 11:33:47 +00:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Networking: File')
|
|
|
|
|
2015-03-02 13:11:00 +00:00
|
|
|
EXPORTS.mozilla.net += [
|
2017-04-12 18:43:50 +00:00
|
|
|
'FileChannelParent.h',
|
2015-03-02 13:11:00 +00:00
|
|
|
'nsFileProtocolHandler.h',
|
|
|
|
]
|
|
|
|
|
2013-03-12 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIFileChannel.idl',
|
|
|
|
'nsIFileProtocolHandler.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'necko_file'
|
|
|
|
|
2013-11-13 02:50:41 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2017-04-12 18:43:50 +00:00
|
|
|
'FileChannelChild.cpp',
|
|
|
|
'FileChannelParent.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'nsFileChannel.cpp',
|
|
|
|
'nsFileProtocolHandler.cpp',
|
|
|
|
]
|
|
|
|
|
2017-04-12 18:43:50 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-28 14:25:39 +00:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
2015-01-16 10:11:06 +00:00
|
|
|
'/netwerk/base',
|
2013-11-28 14:25:39 +00:00
|
|
|
]
|
2016-05-11 07:00:01 +00:00
|
|
|
|
2017-12-07 21:09:15 +00:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 07:00:01 +00:00
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|