gfx/angle/src/libEGL/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 # Target: 'libEGL'
     8 #   Requires: 'libGLESv2'
     9 # src/common:
    10 SOURCES += ['../common/' + src for src in [
    11     'debug.cpp',
    12     'RefCountObject.cpp',
    13 ]]
    15 # src/libEGL
    16 SOURCES += [
    17     'Config.cpp',
    18     'Display.cpp',
    19     'libEGL.cpp',
    20     'main.cpp',
    21     'Surface.cpp',
    22 ]
    24 # On Windows, we don't automatically get "lib" prepended, but we need it.
    25 LIBRARY_NAME = 'libEGL'
    27 FORCE_SHARED_LIB = True
    29 LOCAL_INCLUDES += [
    30     '..',
    31     '../../include',
    32     '../../include/KHR',
    33     '../libGLESv2',
    34 ]
    37 for var in ('LIBEGL_EXPORTS', 'ANGLE_BUILD', 'NOMINMAX',
    38             '_CRT_SECURE_NO_DEPRECATE', 'ANGLE_DISABLE_TRACE'):
    39     DEFINES[var] = True
    41 if not CONFIG['MOZ_DEBUG']:
    42     DEFINES['_SECURE_SCL'] = 0
    44 DEFINES['ANGLE_COMPILE_OPTIMIZATION_LEVEL'] = 'D3DCOMPILE_OPTIMIZATION_LEVEL1'
    46 RCFILE = SRCDIR + '/libEGL.rc'
    47 DEFFILE = SRCDIR + '/libEGL.def'
    49 # ANGLE uses the STL, so we can't use our derpy STL wrappers.
    50 DISABLE_STL_WRAPPING = True

mercurial