dom/bindings/test/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 DEFINES.update({
     8     'IMPL_LIBXUL': True,
     9     'MOZILLA_INTERNAL_API': True,
    10 })
    12 # Do NOT export this library.  We don't actually want our test code
    13 # being added to libxul or anything.
    15 LIBRARY_NAME = 'dombindings_test_s'
    17 EXTRA_COMPONENTS += [
    18     'TestInterfaceJS.js',
    19     'TestInterfaceJS.manifest',
    20 ]
    22 MOCHITEST_MANIFESTS += ['mochitest.ini']
    24 MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
    26 TEST_WEBIDL_FILES += [
    27     'TestDictionary.webidl',
    28     'TestJSImplInheritanceGen.webidl',
    29     'TestTypedef.webidl',
    30 ]
    32 PREPROCESSED_TEST_WEBIDL_FILES += [
    33     'TestCodeGen.webidl',
    34     'TestExampleGen.webidl',
    35     'TestJSImplGen.webidl',
    36 ]
    38 WEBIDL_EXAMPLE_INTERFACES += [
    39     'TestExampleInterface',
    40     'TestExampleProxyInterface',
    41 ]
    43 GENERATED_INCLUDES += ['..']
    44 LOCAL_INCLUDES += [
    45     '/dom/bindings',
    46     '/js/xpconnect/src',
    47     '/js/xpconnect/wrappers',
    48 ]

mercurial