dom/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 interfaces = [
     8     'base',
     9     'canvas',
    10     'core',
    11     'html',
    12     'events',
    13     'devicestorage',
    14     'settings',
    15     'stylesheets',
    16     'sidebar',
    17     'css',
    18     'traversal',
    19     'range',
    20     'xbl',
    21     'xpath',
    22     'xul',
    23     'storage',
    24     'json',
    25     'offline',
    26     'geolocation',
    27     'notification',
    28     'permission',
    29     'svg',
    30     'smil',
    31     'apps',
    32     'gamepad',
    33 ]
    35 PARALLEL_DIRS += ['interfaces/' + i for i in interfaces]
    37 PARALLEL_DIRS += [
    38     'apps',
    39     'base',
    40     'activities',
    41     'bindings',
    42     'battery',
    43     'bluetooth',
    44     'browser-element',
    45     'contacts',
    46     'phonenumberutils',
    47     'alarm',
    48     'datastore',
    49     'devicestorage',
    50     'encoding',
    51     'events',
    52     'file',
    53     'filesystem',
    54     'fmradio',
    55     'asmjscache',
    56     'media',
    57     'messages',
    58     'power',
    59     'push',
    60     'quota',
    61     'settings',
    62     'mobilemessage',
    63     'src',
    64     'time',
    65     'locales',
    66     'network',
    67     'permission',
    68     'plugins/base',
    69     'plugins/ipc',
    70     'indexedDB',
    71     'system',
    72     'ipc',
    73     'identity',
    74     'workers',
    75     'camera',
    76     'audiochannel',
    77     'promise',
    78     'smil',
    79     'telephony',
    80     'inputmethod',
    81     'webidl',
    82     'xbl',
    83     'xslt',
    84 ]
    86 if CONFIG['OS_ARCH'] == 'WINNT':
    87     PARALLEL_DIRS += ['plugins/ipc/hangui']
    89 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    90     PARALLEL_DIRS += [
    91         'speakermanager',
    92         'wifi',
    93     ]
    95 if CONFIG['MOZ_B2G_RIL']:
    96     PARALLEL_DIRS += [
    97         'icc',
    98         'cellbroadcast',
    99         'mobileconnection',
   100         'voicemail',
   101         'wappush',
   102     ]
   104 if CONFIG['MOZ_PAY']:
   105     PARALLEL_DIRS += ['payment']
   107 if CONFIG['MOZ_GAMEPAD']:
   108     PARALLEL_DIRS += ['gamepad']
   110 if CONFIG['MOZ_NFC']:
   111     PARALLEL_DIRS += ['nfc']
   113 if CONFIG['MOZ_B2G']:
   114     PARALLEL_DIRS += ['downloads']
   116 TEST_DIRS += [
   117     'tests',
   118     'imptests',
   119 ]
   121 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'cocoa', 'windows', 'android', 'qt'):
   122     TEST_DIRS += ['plugins/test']

mercurial