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

Side by Side 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, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'skgputest', 8 'target_name': 'skgputest',
9 'product_name': 'skia_skgputest', 9 'product_name': 'skia_skgputest',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ], 50 ],
51 }], 51 }],
52 [ 'skia_angle', { 52 [ 'skia_angle', {
53 'dependencies': [ 53 'dependencies': [
54 'angle.gyp:*', 54 'angle.gyp:*',
55 ], 55 ],
56 'export_dependent_settings': [ 56 'export_dependent_settings': [
57 'angle.gyp:*', 57 'angle.gyp:*',
58 ], 58 ],
59 }], 59 }],
60 [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 1', {
61 'link_settings': {
62 'libraries': [
63 '-lEGL',
64 '-lGLESv2',
65 ],
66 },
67 }],
68 [ '(skia_os == "linux" or skia_os == "chromeos") and skia_egl == 0', {
69 'link_settings': {
70 'libraries': [
71 '-lGL',
72 '-lGLU',
73 '-lX11',
74 ],
75 },
76 }],
60 [ 'skia_os == "android"', { 77 [ 'skia_os == "android"', {
61 'defines': [ 78 'defines': [
62 'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1', 79 'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1',
63 ], 80 ],
64 'link_settings': { 81 'link_settings': {
65 'libraries': [ 82 'libraries': [
66 '-lGLESv2', 83 '-lGLESv2',
67 '-lEGL', 84 '-lEGL',
68 ], 85 ],
69 }, 86 },
(...skipping 26 matching lines...) Expand all
96 ['exclude', '_angle\.(h|cpp)$'], 113 ['exclude', '_angle\.(h|cpp)$'],
97 ], 114 ],
98 }], 115 }],
99 [ 'skia_command_buffer == 0', { 116 [ 'skia_command_buffer == 0', {
100 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ], 117 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ],
101 }], 118 }],
102 ], 119 ],
103 }, 120 },
104 ], 121 ],
105 } 122 }
OLDNEW
« 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