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.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 # Target: 'libEGL'
michael@0 8 # Requires: 'libGLESv2'
michael@0 9 # src/common:
michael@0 10 SOURCES += ['../common/' + src for src in [
michael@0 11 'debug.cpp',
michael@0 12 'RefCountObject.cpp',
michael@0 13 ]]
michael@0 14
michael@0 15 # src/libEGL
michael@0 16 SOURCES += [
michael@0 17 'Config.cpp',
michael@0 18 'Display.cpp',
michael@0 19 'libEGL.cpp',
michael@0 20 'main.cpp',
michael@0 21 'Surface.cpp',
michael@0 22 ]
michael@0 23
michael@0 24 # On Windows, we don't automatically get "lib" prepended, but we need it.
michael@0 25 LIBRARY_NAME = 'libEGL'
michael@0 26
michael@0 27 FORCE_SHARED_LIB = True
michael@0 28
michael@0 29 LOCAL_INCLUDES += [
michael@0 30 '..',
michael@0 31 '../../include',
michael@0 32 '../../include/KHR',
michael@0 33 '../libGLESv2',
michael@0 34 ]
michael@0 35
michael@0 36
michael@0 37 for var in ('LIBEGL_EXPORTS', 'ANGLE_BUILD', 'NOMINMAX',
michael@0 38 '_CRT_SECURE_NO_DEPRECATE', 'ANGLE_DISABLE_TRACE'):
michael@0 39 DEFINES[var] = True
michael@0 40
michael@0 41 if not CONFIG['MOZ_DEBUG']:
michael@0 42 DEFINES['_SECURE_SCL'] = 0
michael@0 43
michael@0 44 DEFINES['ANGLE_COMPILE_OPTIMIZATION_LEVEL'] = 'D3DCOMPILE_OPTIMIZATION_LEVEL1'
michael@0 45
michael@0 46 RCFILE = SRCDIR + '/libEGL.rc'
michael@0 47 DEFFILE = SRCDIR + '/libEGL.def'
michael@0 48
michael@0 49 # ANGLE uses the STL, so we can't use our derpy STL wrappers.
michael@0 50 DISABLE_STL_WRAPPING = True

mercurial