Edit

kc3-lang/angle/src/libEGL.gypi

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2014-12-05 15:02:08
    Hash : 16545669
    Message : Move libEGL to compile on all platforms. BUG=angle:773 Change-Id: I377c6df9b1f10e2756b7f000099847dc910c965c Reviewed-on: https://chromium-review.googlesource.com/232793 Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Tested-by: Jamie Madill <jmadill@chromium.org>

  • src/libEGL.gypi
  • # Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style license that can be
    # found in the LICENSE file.
    
    {
        # Everything below this is duplicated in the GN build. If you change
        # anything also change angle/BUILD.gn
        'targets':
        [
            {
                'target_name': 'libEGL',
                'type': 'shared_library',
                'dependencies': [ 'libGLESv2', ],
                'includes': [ '../build/common_defines.gypi', ],
                'include_dirs':
                [
                    '.',
                    '../include',
                ],
                'sources':
                [
                    '<@(libegl_sources)',
                ],
                'defines':
                [
                    'GL_APICALL=',
                    'GL_GLEXT_PROTOTYPES=',
                    'EGLAPI=',
                    'LIBEGL_IMPLEMENTATION',
                ],
                'conditions':
                [
                    ['angle_build_winrt==1',
                    {
                        'msvs_enable_winrt' : '1',
                        'msvs_requires_importlibrary' : 'true',
                        'msvs_settings':
                        {
                            'VCLinkerTool':
                            {
                                'EnableCOMDATFolding': '1',
                                'OptimizeReferences': '1',
                            }
                        },
                    }],
                    ['angle_build_winphone==1',
                    {
                        'msvs_enable_winphone' : '1',
                    }],
                ],
            },
        ],
    }