Commit ea7c5c19 by Corentin Wallez

Add angle_gl_library_type to allow making static libGLESv2 and libEGL

With this commit angle programs can be run under apitrace: when we use shared libraries, the apitrace driver shim shadows ANGLE and redirects the GL calls to the driver, which is not what we want. BUG=angleproject:892 Change-Id: I32535ba8db6202b0b5b285e86abd472366ee3d03 Reviewed-on: https://chromium-review.googlesource.com/287270Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarCorentin Wallez <cwallez@chromium.org>
parent 096725bc
......@@ -18,6 +18,7 @@
'angle_enable_gl%': 0,
'angle_enable_hlsl%': 0,
'angle_link_glx%': 0,
'angle_gl_library_type%': 'shared_library',
'conditions':
[
['OS=="win"',
......
......@@ -9,7 +9,7 @@
[
{
'target_name': 'libEGL',
'type': 'shared_library',
'type': '<(angle_gl_library_type)',
'dependencies':
[
'libANGLE',
......
......@@ -747,7 +747,7 @@
},
{
'target_name': 'libGLESv2',
'type': 'shared_library',
'type': '<(angle_gl_library_type)',
'dependencies': [ 'libANGLE', 'angle_common' ],
'includes': [ '../build/common_defines.gypi', ],
'sources':
......
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