2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +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/.
|
|
|
|
|
2019-06-07 07:26:42 +00:00
|
|
|
SPHINX_TREES['/toolkit'] = 'docs'
|
|
|
|
|
2019-06-08 04:37:31 +00:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'l10n-registry.manifest',
|
|
|
|
]
|
|
|
|
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += [
|
2018-07-30 04:27:32 +00:00
|
|
|
'actors',
|
2013-02-25 21:19:09 +00:00
|
|
|
'components',
|
|
|
|
'content',
|
2017-11-14 13:49:33 +00:00
|
|
|
'crashreporter',
|
2013-02-25 21:19:09 +00:00
|
|
|
'forgetaboutsite',
|
|
|
|
'locales',
|
|
|
|
'modules',
|
|
|
|
'mozapps/downloads',
|
|
|
|
'mozapps/extensions',
|
|
|
|
'mozapps/preferences',
|
2015-09-15 02:08:06 +00:00
|
|
|
'pluginproblem',
|
2013-02-25 21:19:09 +00:00
|
|
|
'profile',
|
|
|
|
'themes',
|
|
|
|
]
|
|
|
|
|
2020-03-16 20:16:25 +00:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT' and CONFIG['MOZ_DEFAULT_BROWSER_AGENT']:
|
|
|
|
DIRS += ['mozapps/defaultagent']
|
|
|
|
|
2015-04-15 00:00:02 +00:00
|
|
|
if CONFIG['MOZ_UPDATER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
|
|
|
DIRS += ['mozapps/update']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2017-12-06 01:47:15 +00:00
|
|
|
if CONFIG['MOZ_MAINTENANCE_SERVICE'] or CONFIG['MOZ_UPDATER']:
|
2015-04-15 00:00:02 +00:00
|
|
|
DIRS += [
|
2017-12-06 01:47:15 +00:00
|
|
|
'mozapps/update/common',
|
2015-04-16 19:14:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_MAINTENANCE_SERVICE']:
|
|
|
|
DIRS += [
|
2015-04-15 00:00:02 +00:00
|
|
|
'components/maintenanceservice'
|
|
|
|
]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2020-03-11 22:32:26 +00:00
|
|
|
if CONFIG['MOZ_UPDATE_AGENT']:
|
|
|
|
DIRS += [
|
|
|
|
'components/updateagent'
|
|
|
|
]
|
|
|
|
|
2013-02-25 21:19:09 +00:00
|
|
|
DIRS += ['xre']
|
|
|
|
|
2019-01-30 21:23:34 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
|
|
|
DIRS += ['mozapps/handling']
|
2019-08-21 12:25:42 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += ['system/unixproxy']
|
2013-02-25 21:19:09 +00:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += ['system/osxproxy']
|
2013-02-25 21:19:09 +00:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
Bug 356831 - Proxy autodiscovery doesn't check DHCP (option 252) r=bagder,valentin
This patch addresses an issue with Firefox's proxy detection on networks which
do not have their a proxy auto-configuration (PAC) file hosted at
http://wpad/wpad.dat, and instead make use of DHCP option 252 for broadcasting
the address of the PAC file. See https://findproxyforurl.com/wpad-introduction/
for an introduction to the protocol.
Prior to this patch, proxy auto-detect missed out the DHCP query stage, and just
looked for a PAC file at http://wpad/wpad.dat
This patch only addresses the issue for Firefox on Windows, although it defines a
DHCP client interface which could be implemented on other platforms.
The high-level components of this patch are:
* nsIDHCPClient.idl - this is an interface which has been defined for querying the
DHCP server.
* nsPACMan.cpp - where previously when the PAC URL was simply set to a constant of
http://wpad/wpad.dat, it now dispatches an asynchronous command to the proxy
thread. The class ExecutePACThreadAction has been augmented to include an
instruction to 'ConfigureWPAD' (Configure Web-proxy auto-detect), and a new class,
'ConfigureWPADComplete' has been created to relay the result (the URL of the PAC
file) back to the nsPACMan object.
* nsProtocolProxyService.cpp
Minor changes to reflect the fact that the PAC URL not being set does not always
mean there is no PAC to be used; instead it could be in the process of being
detected.
* TestPACMan.cpp
This is a new file, and tests only the DHCP auto-detect functionality.
Some tests use multiple threads, as they test the non-blocking proxy detection.
* DHCPUtils.cpp
A class containing the main logic for querying DHCP.
* WindowsNetworkFunctionsWrapper.cpp
A very thin wrapper around the Windows API calls needed by DHCPUtils.
This class was introduced so it could be mocked out in tests.
* nsWindowsDHCPClient.cpp
* An implementation of the interface defined in nsIDHCPClient.idl. Fairly thin:
most logic is implemented in DHCPUtils.
* TestDHCPUtils.cpp
Tests for DHCPUtils and nsWindowsDHCPClient
MozReview-Commit-ID: 4xFQz3tOLEx
--HG--
extra : rebase_source : dfd5c588406a8b0d92f91cc8a0038ca722b7140a
2018-06-07 22:07:28 +00:00
|
|
|
DIRS += ['system/windowsproxy',
|
|
|
|
'system/windowsDHCPClient']
|
2013-02-25 21:19:09 +00:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += ['system/androidproxy']
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2016-04-12 18:19:21 +00:00
|
|
|
TEST_HARNESS_FILES.testing.mochitest.browser.toolkit.crashreporter.test.browser += [
|
|
|
|
'crashreporter/test/browser/crashreport.sjs',
|
|
|
|
]
|
|
|
|
|
2019-06-07 07:26:42 +00:00
|
|
|
with Files('docs/**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'General')
|
|
|
|
|
2017-09-13 09:19:00 +00:00
|
|
|
with Files('moz.*'):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-09-13 09:19:00 +00:00
|
|
|
|
|
|
|
with Files('toolkit.mozbuild'):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-09-13 09:19:00 +00:00
|
|
|
|
|
|
|
with Files('library/**'):
|
2018-03-14 20:44:46 +00:00
|
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
2017-09-13 09:19:00 +00:00
|
|
|
|
|
|
|
with Files('mozapps/installer/windows/**'):
|
2015-03-15 18:36:24 +00:00
|
|
|
BUG_COMPONENT = ('Toolkit', 'NSIS Installer')
|
|
|
|
|
2017-09-13 09:19:00 +00:00
|
|
|
with Files('mozapps/preferences/**'):
|
|
|
|
BUG_COMPONENT = ('Toolkit', 'Preferences')
|
|
|
|
|
|
|
|
with Files('pluginproblem/**'):
|
2015-03-15 18:36:24 +00:00
|
|
|
BUG_COMPONENT = ('Core', 'Plug-ins')
|
2019-06-08 04:37:31 +00:00
|
|
|
|
|
|
|
with Files('l10n-registry.manifest'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Localization')
|