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 UNIFIED_SOURCES += [
8 'arch_utilities.cc',
9 'bootstrap_compat.cc',
10 'file_id.cc',
11 'macho_id.cc',
12 'macho_reader.cc',
13 'macho_utilities.cc',
14 'macho_walker.cc',
15 'string_utilities.cc',
16 ]
18 # This is a little weird, but we're building a host and a target lib here.
19 # The host lib is used for dump_syms, and the target lib for the
20 # crash reporter client. Therefore, we don't need all the srcs in both.
21 if CONFIG['MOZ_CRASHREPORTER']:
22 HOST_SOURCES += UNIFIED_SOURCES
23 HOST_SOURCES += [
24 'dump_syms.mm',
25 ]
26 HOST_LIBRARY_NAME = 'host_breakpad_mac_common_s'
28 SOURCES += [
29 'HTTPMultipartUpload.m',
30 'MachIPC.mm',
31 ]
33 LIBRARY_NAME = 'breakpad_mac_common_s'
35 FINAL_LIBRARY = 'xulapp_s'
37 LOCAL_INCLUDES += [
38 '../..',
39 ]
41 CMFLAGS += ['-std=c99']