| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 'defines': [ | 78 'defines': [ |
| 79 'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1', | 79 'GR_GL_USE_NEW_SHADER_SOURCE_SIGNATURE=1', |
| 80 ], | 80 ], |
| 81 'link_settings': { | 81 'link_settings': { |
| 82 'libraries': [ | 82 'libraries': [ |
| 83 '-lGLESv2', | 83 '-lGLESv2', |
| 84 '-lEGL', | 84 '-lEGL', |
| 85 ], | 85 ], |
| 86 }, | 86 }, |
| 87 }], | 87 }], |
| 88 ['skia_os in ["linux", "win", "mac", "chromeos", "android", "ios"]', { |
| 89 'sources/': [ ['exclude', '_none\.(h|cpp)$'],], |
| 90 }], |
| 88 ['skia_os != "win"', { | 91 ['skia_os != "win"', { |
| 89 'sources/': [ ['exclude', '_win\.(h|cpp)$'],], | 92 'sources/': [ ['exclude', '_win\.(h|cpp)$'],], |
| 90 }], | 93 }], |
| 91 ['skia_os != "mac"', { | 94 ['skia_os != "mac"', { |
| 92 'sources/': [ ['exclude', '_mac\.(h|cpp|m|mm)$'],], | 95 'sources/': [ ['exclude', '_mac\.(h|cpp|m|mm)$'],], |
| 93 }], | 96 }], |
| 94 ['skia_os != "linux" and skia_os != "chromeos"', { | 97 ['skia_os != "linux" and skia_os != "chromeos"', { |
| 95 'sources/': [ ['exclude', '_glx\.(h|cpp)$'],], | 98 'sources/': [ ['exclude', '_glx\.(h|cpp)$'],], |
| 96 }], | 99 }], |
| 97 ['skia_os != "ios"', { | 100 ['skia_os != "ios"', { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 113 ['exclude', '_angle\.(h|cpp)$'], | 116 ['exclude', '_angle\.(h|cpp)$'], |
| 114 ], | 117 ], |
| 115 }], | 118 }], |
| 116 [ 'skia_command_buffer == 0', { | 119 [ 'skia_command_buffer == 0', { |
| 117 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ], | 120 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ], |
| 118 }], | 121 }], |
| 119 ], | 122 ], |
| 120 }, | 123 }, |
| 121 ], | 124 ], |
| 122 } | 125 } |
| OLD | NEW |