mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
(from mypal68) Full webRequest support
This commit is contained in:
parent
d90e52fac4
commit
ea6b948f3b
28 changed files with 6431 additions and 13 deletions
52
toolkit/components/webextensions/webrequest/moz.build
Normal file
52
toolkit/components/webextensions/webrequest/moz.build
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# 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/.
|
||||
|
||||
EXTRA_JS_MODULES += [
|
||||
'SecurityInfo.jsm',
|
||||
'WebRequest.jsm',
|
||||
'WebRequestUpload.jsm',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'ChannelWrapper.cpp',
|
||||
'StreamFilter.cpp',
|
||||
'StreamFilterChild.cpp',
|
||||
'StreamFilterEvents.cpp',
|
||||
'StreamFilterParent.cpp',
|
||||
'WebRequestService.cpp',
|
||||
]
|
||||
|
||||
IPDL_SOURCES += [
|
||||
'PStreamFilter.ipdl',
|
||||
]
|
||||
|
||||
EXPORTS.mozilla += [
|
||||
'WebRequestService.h',
|
||||
]
|
||||
|
||||
EXPORTS.mozilla.extensions += [
|
||||
'ChannelWrapper.h',
|
||||
'StreamFilter.h',
|
||||
'StreamFilterBase.h',
|
||||
'StreamFilterChild.h',
|
||||
'StreamFilterEvents.h',
|
||||
'StreamFilterParent.h',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'/caps',
|
||||
]
|
||||
|
||||
include('/ipc/chromium/chromium-config.mozbuild')
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
# For nsHttpChannel.h
|
||||
'/netwerk/base',
|
||||
'/netwerk/protocol/http',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("WebExtensions", "Request Handling")
|
||||
Loading…
Add table
Add a link
Reference in a new issue