diff options
Diffstat (limited to 'src/core/qtwebengine_extras.gypi')
-rw-r--r-- | src/core/qtwebengine_extras.gypi | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi index 2937ee423..f4e8ad113 100644 --- a/src/core/qtwebengine_extras.gypi +++ b/src/core/qtwebengine_extras.gypi @@ -19,23 +19,21 @@ ['exclude', 'browser/renderer_host/render_widget_host_view_qnx\\.(cc|h)$'], ['exclude', 'browser/web_contents/web_contents_view_qnx\\.(cc|h)$'], ], + 'defines': [ + 'TOOLKIT_QT', + ], }, 'conditions': [ [ 'OS=="linux" and qt_cross_compile==1', { 'target_defaults': { - 'defines': [ - 'TOOLKIT_QT', - ], 'target_conditions': [ ['_toolset=="target"', { 'ldflags!': ['-L/usr/lib'], # garbage added by icu-config + 'defines': [ + 'GL_GLEXT_PROTOTYPES', + 'EGL_EGLEXT_PROTOTYPES', + ], 'conditions': [ - [ '_target_name=="gl"', { - 'defines': [ - 'GL_GLEXT_PROTOTYPES', - 'EGL_EGLEXT_PROTOTYPES', - ], - }], ['_type=="shared_library"', { 'ldflags': [ # Tell the linker to prefer symbols within the library before looking outside |