dom/camera/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['MOZ_WIDGET_TOOLKIT'] == 'gonk':
     8     TEST_DIRS += ['test']
    10 EXPORTS += [
    11     'CameraCommon.h',
    12     'CameraPreviewMediaStream.h',
    13     'DOMCameraManager.h',
    14     'GonkCameraControl.h',
    15 ]
    17 SOURCES += [
    18     'CameraControlImpl.cpp',
    19     'CameraPreviewMediaStream.cpp',
    20     'CameraRecorderProfiles.cpp',
    21     'DOMCameraCapabilities.cpp',
    22     'DOMCameraControl.cpp',
    23     'DOMCameraControlListener.cpp',
    24     'DOMCameraDetectedFace.cpp',
    25     'DOMCameraManager.cpp',
    26 ]
    28 if CONFIG['MOZ_B2G_CAMERA']:
    29     SOURCES += [
    30         'GonkCameraControl.cpp',
    31         'GonkCameraHwMgr.cpp',
    32         'GonkCameraManager.cpp',
    33         'GonkCameraParameters.cpp',
    34         'GonkCameraSource.cpp',
    35         'GonkRecorder.cpp',
    36         'GonkRecorderProfiles.cpp',
    37         'TestGonkCameraHardware.cpp',
    38     ]
    39 else:
    40     SOURCES += [
    41         'FallbackCameraControl.cpp',
    42         'FallbackCameraManager.cpp',
    43     ]
    45 FAIL_ON_WARNINGS = True
    47 LOCAL_INCLUDES += [
    48     '../base',
    49 ]
    51 include('/ipc/chromium/chromium-config.mozbuild')
    53 FINAL_LIBRARY = 'gklayout'

mercurial