mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
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/287270 Reviewed-by: Jamie Madill <[email protected]> Reviewed-by: Geoff Lang <[email protected]> Tested-by: Corentin Wallez <[email protected]>
This commit is contained in:
1 parent
096725bcbf
commit
ea7c5c19c8
3 files changed
+3
-2
No files matched your search
@@ -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"',
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
[
|
||||
{
|
||||
'target_name': 'libEGL',
|
||||
'type': 'shared_library',
|
||||
'type': '<(angle_gl_library_type)',
|
||||
'dependencies':
|
||||
[
|
||||
'libANGLE',
|
||||
|
||||
+1
-1
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user