xpcom/reflect/xptcall/src/md/win32/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 if CONFIG['TARGET_CPU'] == 'x86_64':
     8     if CONFIG['GNU_CXX']:
     9         SOURCES += [
    10             'xptcinvoke_x86_64.cpp',
    11             'xptcstubs_x86_64_gnu.cpp',
    12         ]
    13         SOURCES += [
    14             'xptcinvoke_asm_x86_64_gnu.s'
    15         ]
    16     else:
    17         SOURCES += [
    18             'xptcinvoke_x86_64.cpp',
    19             'xptcstubs_x86_64.cpp'
    20         ]
    21         SOURCES += [
    22             'xptcinvoke_asm_x86_64.asm',
    23             'xptcstubs_asm_x86_64.asm'
    24         ]
    25 else:
    26     if CONFIG['GNU_CXX']:
    27         SOURCES += [
    28             'xptcinvoke_x86_gnu.cpp',
    29             'xptcstubs.cpp',
    30         ]
    31     else:
    32         SOURCES += [
    33             'xptcinvoke.cpp',
    34             'xptcstubs.cpp',
    35         ]
    37 FINAL_LIBRARY = 'xpcom_core'
    39 LOCAL_INCLUDES += [
    40     '../..',
    41     '../../../../xptinfo/src',
    42 ]
    44 if CONFIG['TARGET_CPU'] != 'x86_64':
    45     if not CONFIG['GNU_CXX']:
    46         # FIXME: bug 413019
    47         NO_PGO = True

mercurial