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 | UNIFIED_SOURCES += [ |
michael@0 | 8 | 'elfutils.cc', |
michael@0 | 9 | 'guid_creator.cc', |
michael@0 | 10 | 'linux_libc_support.cc', |
michael@0 | 11 | 'memory_mapped_file.cc', |
michael@0 | 12 | 'safe_readlink.cc', |
michael@0 | 13 | ] |
michael@0 | 14 | |
michael@0 | 15 | # file_id.cc cannot be built in unified mode because it uses a custom DISABLE_STL_WRAPPING |
michael@0 | 16 | SOURCES += [ |
michael@0 | 17 | 'file_id.cc', |
michael@0 | 18 | ] |
michael@0 | 19 | |
michael@0 | 20 | if CONFIG['OS_TARGET'] != 'Android': |
michael@0 | 21 | UNIFIED_SOURCES += [ |
michael@0 | 22 | 'http_upload.cc', |
michael@0 | 23 | ] |
michael@0 | 24 | |
michael@0 | 25 | if CONFIG['MOZ_CRASHREPORTER']: |
michael@0 | 26 | HOST_LIBRARY_NAME = 'host_breakpad_linux_common_s' |
michael@0 | 27 | HOST_SOURCES += [ |
michael@0 | 28 | 'dump_symbols.cc', |
michael@0 | 29 | 'elf_symbols_to_module.cc', |
michael@0 | 30 | 'elfutils.cc', |
michael@0 | 31 | 'file_id.cc', |
michael@0 | 32 | 'guid_creator.cc', |
michael@0 | 33 | 'linux_libc_support.cc', |
michael@0 | 34 | 'memory_mapped_file.cc', |
michael@0 | 35 | ] |
michael@0 | 36 | |
michael@0 | 37 | LIBRARY_NAME = 'breakpad_linux_common_s' |
michael@0 | 38 | |
michael@0 | 39 | FINAL_LIBRARY = 'xulapp_s' |
michael@0 | 40 | |
michael@0 | 41 | if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': |
michael@0 | 42 | DEFINES['ELFSIZE'] = 32 |
michael@0 | 43 | |
michael@0 | 44 | DEFINES['NO_STABS_SUPPORT'] = True |
michael@0 | 45 | |
michael@0 | 46 | LOCAL_INCLUDES += [ |
michael@0 | 47 | '/toolkit/crashreporter/google-breakpad/src', |
michael@0 | 48 | ] |
michael@0 | 49 |