Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Unified Diff: gyp/gputest.gyp

Issue 1846623003: Make skgputest target depend on gl/glx/glu or egl/gles2 libs on linux (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/gputest.gyp
diff --git a/gyp/gputest.gyp b/gyp/gputest.gyp
index d50e00c9b62ab3f7b4bd9fc048b75e694a7eb398..94da0ed7425285beba395095872818c70f320a15 100644
--- a/gyp/gputest.gyp
+++ b/gyp/gputest.gyp
@@ -57,6 +57,23 @@
'angle.gyp:*',
],
}],
+ [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 1', {
+ 'link_settings': {
+ 'libraries': [
+ '-lEGL',
+ '-lGLESv2',
+ ],
+ },
+ }],
+ [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
+ 'link_settings': {
+ 'libraries': [
+ '-lGL',
+ '-lGLU',
+ '-lX11',
+ ],
+ },
+ }],
[ 'skia_os == "android"', {
'defines': [
'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698