toolkit/crashreporter/google-breakpad/src/common/linux/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.

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

mercurial