dom/telephony/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 XPIDL_SOURCES += [
     8     'nsITelephonyProvider.idl',
     9 ]
    11 XPIDL_MODULE = 'dom_telephony'
    13 EXPORTS.mozilla.dom += [
    14     'CallEvent.h',
    15     'CallsList.h',
    16     'Telephony.h',
    17     'TelephonyCall.h',
    18     'TelephonyCallGroup.h',
    19 ]
    21 EXPORTS.mozilla.dom.telephony += [
    22     'ipc/TelephonyChild.h',
    23     'ipc/TelephonyParent.h',
    24     'TelephonyCommon.h',
    25     'TelephonyFactory.h',
    26 ]
    28 UNIFIED_SOURCES += [
    29     'CallEvent.cpp',
    30     'CallsList.cpp',
    31     'ipc/TelephonyChild.cpp',
    32     'ipc/TelephonyIPCProvider.cpp',
    33     'ipc/TelephonyParent.cpp',
    34     'Telephony.cpp',
    35     'TelephonyCall.cpp',
    36     'TelephonyCallGroup.cpp',
    37     'TelephonyFactory.cpp',
    38 ]
    40 IPDL_SOURCES += [
    41     'ipc/PTelephony.ipdl',
    42     'ipc/PTelephonyRequest.ipdl',
    43     'ipc/TelephonyTypes.ipdlh'
    44 ]
    46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
    47     XPIDL_SOURCES += [
    48         'nsIGonkTelephonyProvider.idl',
    49     ]
    50     EXTRA_COMPONENTS += [
    51         'gonk/TelephonyProvider.js',
    52         'gonk/TelephonyProvider.manifest',
    53     ]
    55 FAIL_ON_WARNINGS = True
    56 include('/ipc/chromium/chromium-config.mozbuild')
    58 FINAL_LIBRARY = 'gklayout'

mercurial