| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 [ 'skia_mesa == 0', { | 93 [ 'skia_mesa == 0', { |
| 94 'sources/': [ | 94 'sources/': [ |
| 95 ['exclude', '_mesa\.(h|cpp)$'], | 95 ['exclude', '_mesa\.(h|cpp)$'], |
| 96 ], | 96 ], |
| 97 }], | 97 }], |
| 98 [ 'skia_angle == 0', { | 98 [ 'skia_angle == 0', { |
| 99 'sources/': [ | 99 'sources/': [ |
| 100 ['exclude', '_angle\.(h|cpp)$'], | 100 ['exclude', '_angle\.(h|cpp)$'], |
| 101 ], | 101 ], |
| 102 }], | 102 }], |
| 103 [ 'skia_command_buffer == 0', { | |
| 104 'sources/': [ ['exclude', '_command_buffer\.(h|cpp)$'], ], | |
| 105 }], | |
| 106 ], | 103 ], |
| 107 }, | 104 }, |
| 108 { | 105 { |
| 109 'target_name': 'osmesa', | 106 'target_name': 'osmesa', |
| 110 'type': 'none', | 107 'type': 'none', |
| 111 'direct_dependent_settings': { | 108 'direct_dependent_settings': { |
| 112 'link_settings': { 'libraries': [ '-lOSMesa', ], }, | 109 'link_settings': { 'libraries': [ '-lOSMesa', ], }, |
| 113 'conditions': [ | 110 'conditions': [ |
| 114 [ 'skia_os == "mac"', { | 111 [ 'skia_os == "mac"', { |
| 115 'link_settings': { 'library_dirs' : [ '/opt/X11/lib' ], }, | 112 'link_settings': { 'library_dirs' : [ '/opt/X11/lib' ], }, |
| 116 'include_dirs': [ '/opt/X11/include', ], | 113 'include_dirs': [ '/opt/X11/include', ], |
| 117 }], | 114 }], |
| 118 ], | 115 ], |
| 119 }, | 116 }, |
| 120 }, | 117 }, |
| 121 ], | 118 ], |
| 122 } | 119 } |
| OLD | NEW |