toolkit/crashreporter/client/moz.build

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 if CONFIG['OS_TARGET'] != 'Android':
michael@0 8 PROGRAM = 'crashreporter'
michael@0 9 # The xpcshell test case here verifies that the CA certificate list
michael@0 10
michael@0 11 UNIFIED_SOURCES += [
michael@0 12 'crashreporter.cpp',
michael@0 13 ]
michael@0 14
michael@0 15 LOCAL_INCLUDES += [
michael@0 16 '../google-breakpad/src',
michael@0 17 ]
michael@0 18
michael@0 19 if CONFIG['OS_ARCH'] == 'WINNT':
michael@0 20 UNIFIED_SOURCES += [
michael@0 21 'crashreporter_win.cpp',
michael@0 22 ]
michael@0 23 DEFINES['UNICODE'] = True
michael@0 24 DEFINES['_UNICODE'] = True
michael@0 25 elif CONFIG['OS_ARCH'] == 'Darwin':
michael@0 26 UNIFIED_SOURCES += [
michael@0 27 'crashreporter_osx.mm',
michael@0 28 'crashreporter_unix_common.cpp',
michael@0 29 ]
michael@0 30 LOCAL_INCLUDES += [
michael@0 31 '../google-breakpad/src/common/mac',
michael@0 32 ]
michael@0 33 LDFLAGS += ['-framework Cocoa']
michael@0 34 elif CONFIG['OS_ARCH'] == 'SunOS':
michael@0 35 SOURCES += [
michael@0 36 'crashreporter_linux.cpp',
michael@0 37 'crashreporter_unix.cpp',
michael@0 38 ]
michael@0 39
michael@0 40 if CONFIG['MOZ_ENABLE_GTK']:
michael@0 41 UNIFIED_SOURCES += [
michael@0 42 'crashreporter_gtk_common.cpp',
michael@0 43 'crashreporter_linux.cpp',
michael@0 44 'crashreporter_unix_common.cpp'
michael@0 45 ]
michael@0 46
michael@0 47 RCINCLUDE = 'crashreporter.rc'
michael@0 48
michael@0 49 # Don't use the STL wrappers in the crashreporter clients; they don't
michael@0 50 # link with -lmozalloc, and it really doesn't matter here anyway.
michael@0 51 DISABLE_STL_WRAPPING = True

mercurial