1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/src/libEGL/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,50 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +# Target: 'libEGL' 1.11 +# Requires: 'libGLESv2' 1.12 +# src/common: 1.13 +SOURCES += ['../common/' + src for src in [ 1.14 + 'debug.cpp', 1.15 + 'RefCountObject.cpp', 1.16 +]] 1.17 + 1.18 +# src/libEGL 1.19 +SOURCES += [ 1.20 + 'Config.cpp', 1.21 + 'Display.cpp', 1.22 + 'libEGL.cpp', 1.23 + 'main.cpp', 1.24 + 'Surface.cpp', 1.25 +] 1.26 + 1.27 +# On Windows, we don't automatically get "lib" prepended, but we need it. 1.28 +LIBRARY_NAME = 'libEGL' 1.29 + 1.30 +FORCE_SHARED_LIB = True 1.31 + 1.32 +LOCAL_INCLUDES += [ 1.33 + '..', 1.34 + '../../include', 1.35 + '../../include/KHR', 1.36 + '../libGLESv2', 1.37 +] 1.38 + 1.39 + 1.40 +for var in ('LIBEGL_EXPORTS', 'ANGLE_BUILD', 'NOMINMAX', 1.41 + '_CRT_SECURE_NO_DEPRECATE', 'ANGLE_DISABLE_TRACE'): 1.42 + DEFINES[var] = True 1.43 + 1.44 +if not CONFIG['MOZ_DEBUG']: 1.45 + DEFINES['_SECURE_SCL'] = 0 1.46 + 1.47 +DEFINES['ANGLE_COMPILE_OPTIMIZATION_LEVEL'] = 'D3DCOMPILE_OPTIMIZATION_LEVEL1' 1.48 + 1.49 +RCFILE = SRCDIR + '/libEGL.rc' 1.50 +DEFFILE = SRCDIR + '/libEGL.def' 1.51 + 1.52 +# ANGLE uses the STL, so we can't use our derpy STL wrappers. 1.53 +DISABLE_STL_WRAPPING = True