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.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | TEST_DIRS += ['test'] |
michael@0 | 8 | |
michael@0 | 9 | EXPORTS.mozilla += [ |
michael@0 | 10 | 'ErrorResult.h', |
michael@0 | 11 | ] |
michael@0 | 12 | |
michael@0 | 13 | EXPORTS.mozilla.dom += [ |
michael@0 | 14 | 'AtomList.h', |
michael@0 | 15 | 'BindingDeclarations.h', |
michael@0 | 16 | 'BindingUtils.h', |
michael@0 | 17 | 'CallbackFunction.h', |
michael@0 | 18 | 'CallbackInterface.h', |
michael@0 | 19 | 'CallbackObject.h', |
michael@0 | 20 | 'Date.h', |
michael@0 | 21 | 'DOMJSClass.h', |
michael@0 | 22 | 'DOMJSProxyHandler.h', |
michael@0 | 23 | 'DOMString.h', |
michael@0 | 24 | 'Errors.msg', |
michael@0 | 25 | 'Exceptions.h', |
michael@0 | 26 | 'JSSlots.h', |
michael@0 | 27 | 'MozMap.h', |
michael@0 | 28 | 'NonRefcountedDOMObject.h', |
michael@0 | 29 | 'Nullable.h', |
michael@0 | 30 | 'OwningNonNull.h', |
michael@0 | 31 | 'PrimitiveConversions.h', |
michael@0 | 32 | 'RootedDictionary.h', |
michael@0 | 33 | 'ToJSValue.h', |
michael@0 | 34 | 'TypedArray.h', |
michael@0 | 35 | 'UnionMember.h', |
michael@0 | 36 | ] |
michael@0 | 37 | |
michael@0 | 38 | FAIL_ON_WARNINGS = True |
michael@0 | 39 | |
michael@0 | 40 | MSVC_ENABLE_PGO = True |
michael@0 | 41 | |
michael@0 | 42 | LOCAL_INCLUDES += [ |
michael@0 | 43 | '/content/base/src', |
michael@0 | 44 | '/content/canvas/src', |
michael@0 | 45 | '/content/html/content/src', |
michael@0 | 46 | '/content/html/document/src', |
michael@0 | 47 | '/content/media/webaudio', |
michael@0 | 48 | '/content/media/webspeech/recognition', |
michael@0 | 49 | '/content/svg/content/src', |
michael@0 | 50 | '/content/xml/content/src', |
michael@0 | 51 | '/content/xul/content/src', |
michael@0 | 52 | '/content/xul/document/src', |
michael@0 | 53 | '/dom/base', |
michael@0 | 54 | '/dom/battery', |
michael@0 | 55 | '/dom/bluetooth', |
michael@0 | 56 | '/dom/camera', |
michael@0 | 57 | '/dom/file', |
michael@0 | 58 | '/dom/indexedDB', |
michael@0 | 59 | '/dom/src/geolocation', |
michael@0 | 60 | '/dom/workers', |
michael@0 | 61 | '/dom/xbl', |
michael@0 | 62 | '/dom/xslt/base', |
michael@0 | 63 | '/dom/xslt/xpath', |
michael@0 | 64 | '/js/ipc', |
michael@0 | 65 | '/js/xpconnect/src', |
michael@0 | 66 | '/js/xpconnect/wrappers', |
michael@0 | 67 | '/layout/style', |
michael@0 | 68 | '/layout/xul/tree', |
michael@0 | 69 | '/media/mtransport', |
michael@0 | 70 | '/media/webrtc/signaling/src/common/time_profiling', |
michael@0 | 71 | '/media/webrtc/signaling/src/peerconnection', |
michael@0 | 72 | ] |
michael@0 | 73 | |
michael@0 | 74 | UNIFIED_SOURCES += [ |
michael@0 | 75 | 'BindingUtils.cpp', |
michael@0 | 76 | 'CallbackInterface.cpp', |
michael@0 | 77 | 'CallbackObject.cpp', |
michael@0 | 78 | 'Date.cpp', |
michael@0 | 79 | 'DOMJSProxyHandler.cpp', |
michael@0 | 80 | 'Exceptions.cpp', |
michael@0 | 81 | 'ToJSValue.cpp', |
michael@0 | 82 | ] |
michael@0 | 83 | |
michael@0 | 84 | include('/ipc/chromium/chromium-config.mozbuild') |
michael@0 | 85 | |
michael@0 | 86 | if CONFIG['MOZ_AUDIO_CHANNEL_MANAGER']: |
michael@0 | 87 | LOCAL_INCLUDES += [ |
michael@0 | 88 | '/dom/system/gonk', |
michael@0 | 89 | ] |
michael@0 | 90 | |
michael@0 | 91 | FINAL_LIBRARY = 'xul' |
michael@0 | 92 | |
michael@0 | 93 | SPHINX_TREES['webidl'] = 'docs' |
michael@0 | 94 | SPHINX_PYTHON_PACKAGE_DIRS += ['mozwebidlcodegen'] |
michael@0 | 95 | |
michael@0 | 96 | if CONFIG['MOZ_BUILD_APP'] in ['browser', 'mobile/android', 'xulrunner']: |
michael@0 | 97 | # This is needed for Window.webidl |
michael@0 | 98 | DEFINES['HAVE_SIDEBAR'] = True |