Edit

kc3-lang/angle/src/libEGL.gypi

Branch :

  • Show log

    Commit

  • Author : Yuly Novikov
    Date : 2016-12-19 17:44:22
    Hash : a4ab5804
    Message : Remove libEGL dependency on libANGLE libEGL should use libGLESv2 for EGL implementation, to prevent libANGLE global variables being duplicated. BUG=angleproject:1660 Change-Id: I84c1e22fcce8f4a21acfb1fcde0c84ebd77204f8 Reviewed-on: https://chromium-review.googlesource.com/422574 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@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': '<(angle_gl_library_type)',
                'dependencies':
                [
                    'libGLESv2',
                ],
                'includes':
                [
                    '../gyp/common_defines.gypi',
                ],
                'include_dirs':
                [
                    '.',
                    '../include',
                ],
                'sources':
                [
                    '<@(libegl_sources)',
                ],
                'conditions':
                [
                    ['angle_build_winrt==1',
                    {
                        'msvs_requires_importlibrary' : 'true',
                    }],
                    ['OS=="win"', {
                        'defines':
                        [
                            'EGLAPI=',
                        ],
                    }, {
                        'defines':
                        [
                            'EGLAPI=__attribute__((visibility("default")))',
                        ],
                    }],
                    ['OS == "mac"',
                    {
                        'xcode_settings':
                        {
                            'DYLIB_INSTALL_NAME_BASE': '@rpath',
                        },
                    }],
                ],
            },
        ],
    }