OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |