Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 # -*- Mode: python; c-basic-offset: 4; 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/.
7 # These component dirs are built for all apps (including suite)
8 if CONFIG['MOZ_ENABLE_XREMOTE']:
9 PARALLEL_DIRS += ['remote']
11 PARALLEL_DIRS += [
12 'aboutmemory',
13 'alerts',
14 'apppicker',
15 'commandlines',
16 'console',
17 'contentprefs',
18 'cookie',
19 'crashmonitor',
20 'diskspacewatcher',
21 'downloads',
22 'exthelper',
23 'filepicker',
24 'finalizationwitness',
25 'find',
26 'intl',
27 'jsdownloads',
28 'mediasniffer',
29 'microformats',
30 'osfile',
31 'parentalcontrols',
32 'passwordmgr',
33 'perf',
34 'places',
35 'prompts',
36 'protobuf',
37 'reflect',
38 'sqlite',
39 'startup',
40 'statusfilter',
41 'telemetry',
42 'thumbnails',
43 'typeaheadfind',
44 'urlformatter',
45 'viewconfig',
46 'viewsource',
47 'workerloader',
48 'workerlz4',
49 ]
51 if CONFIG['MOZ_CRASHREPORTER']:
52 PARALLEL_DIRS += ['crashes']
54 if CONFIG['MOZ_SOCIAL']:
55 PARALLEL_DIRS += ['social']
57 if CONFIG['BUILD_CTYPES']:
58 PARALLEL_DIRS += ['ctypes']
60 if CONFIG['MOZ_FEEDS']:
61 PARALLEL_DIRS += ['feeds']
63 if CONFIG['MOZ_HELP_VIEWER']:
64 PARALLEL_DIRS += ['help']
66 if CONFIG['NS_PRINTING']:
67 PARALLEL_DIRS += ['printing']
69 if CONFIG['MOZ_XUL']:
70 PARALLEL_DIRS += ['autocomplete', 'satchel']
72 if CONFIG['MOZ_TOOLKIT_SEARCH']:
73 PARALLEL_DIRS += ['search']
75 if CONFIG['MOZ_URL_CLASSIFIER']:
76 PARALLEL_DIRS += ['url-classifier']
78 if CONFIG['MOZ_CAPTIVEDETECT']:
79 PARALLEL_DIRS += ['captivedetect']
81 DIRS += ['build']
83 EXTRA_COMPONENTS += [
84 'nsDefaultCLH.js',
85 'nsDefaultCLH.manifest',
86 ]