Commit 16545669 by Jamie Madill

Move libEGL to compile on all platforms.

BUG=angle:773 Change-Id: I377c6df9b1f10e2756b7f000099847dc910c965c Reviewed-on: https://chromium-review.googlesource.com/232793Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org> Tested-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 1a05ce93
...@@ -5,56 +5,49 @@ ...@@ -5,56 +5,49 @@
{ {
# Everything below this is duplicated in the GN build. If you change # Everything below this is duplicated in the GN build. If you change
# anything also change angle/BUILD.gn # anything also change angle/BUILD.gn
'conditions': 'targets':
[ [
['OS=="win"',
{ {
'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',
{ {
'target_name': 'libEGL', 'msvs_enable_winrt' : '1',
'type': 'shared_library', 'msvs_requires_importlibrary' : 'true',
'dependencies': [ 'libGLESv2', ], 'msvs_settings':
'includes': [ '../build/common_defines.gypi', ], {
'include_dirs': 'VCLinkerTool':
[
'.',
'../include',
],
'sources':
[
'<@(libegl_sources)',
],
'defines':
[
'GL_APICALL=',
'GL_GLEXT_PROTOTYPES=',
'EGLAPI=',
'LIBEGL_IMPLEMENTATION',
],
'conditions':
[
['angle_build_winrt==1',
{ {
'msvs_enable_winrt' : '1', 'EnableCOMDATFolding': '1',
'msvs_requires_importlibrary' : 'true', 'OptimizeReferences': '1',
'msvs_settings': }
{ },
'VCLinkerTool': }],
{ ['angle_build_winphone==1',
'EnableCOMDATFolding': '1', {
'OptimizeReferences': '1', 'msvs_enable_winphone' : '1',
} }],
},
}],
['angle_build_winphone==1',
{
'msvs_enable_winphone' : '1',
}],
],
},
], ],
}, },
],
], ],
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment