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 TEST_DIRS += ['test']
9 EXPORTS.mozilla += [
10 'ErrorResult.h',
11 ]
13 EXPORTS.mozilla.dom += [
14 'AtomList.h',
15 'BindingDeclarations.h',
16 'BindingUtils.h',
17 'CallbackFunction.h',
18 'CallbackInterface.h',
19 'CallbackObject.h',
20 'Date.h',
21 'DOMJSClass.h',
22 'DOMJSProxyHandler.h',
23 'DOMString.h',
24 'Errors.msg',
25 'Exceptions.h',
26 'JSSlots.h',
27 'MozMap.h',
28 'NonRefcountedDOMObject.h',
29 'Nullable.h',
30 'OwningNonNull.h',
31 'PrimitiveConversions.h',
32 'RootedDictionary.h',
33 'ToJSValue.h',
34 'TypedArray.h',
35 'UnionMember.h',
36 ]
38 FAIL_ON_WARNINGS = True
40 MSVC_ENABLE_PGO = True
42 LOCAL_INCLUDES += [
43 '/content/base/src',
44 '/content/canvas/src',
45 '/content/html/content/src',
46 '/content/html/document/src',
47 '/content/media/webaudio',
48 '/content/media/webspeech/recognition',
49 '/content/svg/content/src',
50 '/content/xml/content/src',
51 '/content/xul/content/src',
52 '/content/xul/document/src',
53 '/dom/base',
54 '/dom/battery',
55 '/dom/bluetooth',
56 '/dom/camera',
57 '/dom/file',
58 '/dom/indexedDB',
59 '/dom/src/geolocation',
60 '/dom/workers',
61 '/dom/xbl',
62 '/dom/xslt/base',
63 '/dom/xslt/xpath',
64 '/js/ipc',
65 '/js/xpconnect/src',
66 '/js/xpconnect/wrappers',
67 '/layout/style',
68 '/layout/xul/tree',
69 '/media/mtransport',
70 '/media/webrtc/signaling/src/common/time_profiling',
71 '/media/webrtc/signaling/src/peerconnection',
72 ]
74 UNIFIED_SOURCES += [
75 'BindingUtils.cpp',
76 'CallbackInterface.cpp',
77 'CallbackObject.cpp',
78 'Date.cpp',
79 'DOMJSProxyHandler.cpp',
80 'Exceptions.cpp',
81 'ToJSValue.cpp',
82 ]
84 include('/ipc/chromium/chromium-config.mozbuild')
86 if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']:
87 LOCAL_INCLUDES += [
88 '/dom/system/gonk',
89 ]
91 FINAL_LIBRARY = 'xul'
93 SPHINX_TREES['webidl'] = 'docs'
94 SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen']
96 if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']:
97 # This is needed for Window.webidl
98 DEFINES['HAVE_SIDEBAR'] = True