| 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 # GYP for building gpu | 5 # GYP for building gpu |
| 6 { | 6 { |
| 7 'target_defaults': { | 7 'target_defaults': { |
| 8 'conditions': [ | 8 'conditions': [ |
| 9 ['skia_os != "win"', { | 9 ['skia_os != "win"', { |
| 10 'sources/': [ ['exclude', '_win.(h|cpp)$'], | 10 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 '<@(skgpu_debug_gl_sources)', | 106 '<@(skgpu_debug_gl_sources)', |
| 107 '<@(skgpu_null_gl_sources)', | 107 '<@(skgpu_null_gl_sources)', |
| 108 'gpu.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). | 108 'gpu.gypi', # Makes the gypi appear in IDEs (but does not modify the bui
ld). |
| 109 ], | 109 ], |
| 110 'conditions': [ | 110 'conditions': [ |
| 111 [ 'skia_gpu_extra_dependency_path', { | 111 [ 'skia_gpu_extra_dependency_path', { |
| 112 'dependencies' : [ | 112 'dependencies' : [ |
| 113 '<(skia_gpu_extra_dependency_path):*', | 113 '<(skia_gpu_extra_dependency_path):*', |
| 114 ] | 114 ] |
| 115 }], | 115 }], |
| 116 [ 'skia_stroke_path_rendering', { | |
| 117 'sources': [ | |
| 118 '../experimental/StrokePathRenderer/GrStrokePathRenderer.h', | |
| 119 '../experimental/StrokePathRenderer/GrStrokePathRenderer.cpp', | |
| 120 ], | |
| 121 'defines': [ | |
| 122 'GR_STROKE_PATH_RENDERING=1', | |
| 123 ], | |
| 124 }], | |
| 125 [ 'skia_android_path_rendering', { | |
| 126 'sources': [ | |
| 127 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.cpp', | |
| 128 '../experimental/AndroidPathRenderer/GrAndroidPathRenderer.h', | |
| 129 '../experimental/AndroidPathRenderer/AndroidPathRenderer.cpp', | |
| 130 '../experimental/AndroidPathRenderer/AndroidPathRenderer.h', | |
| 131 '../experimental/AndroidPathRenderer/Vertex.h', | |
| 132 ], | |
| 133 'defines': [ | |
| 134 'GR_ANDROID_PATH_RENDERING=1', | |
| 135 ], | |
| 136 }], | |
| 137 [ 'skia_chrome_utils', { | 116 [ 'skia_chrome_utils', { |
| 138 'sources': [ | 117 'sources': [ |
| 139 '../experimental/ChromeUtils/SkBorder.cpp', | 118 '../experimental/ChromeUtils/SkBorder.cpp', |
| 140 '../experimental/ChromeUtils/SkBorder.h', | 119 '../experimental/ChromeUtils/SkBorder.h', |
| 141 ], | 120 ], |
| 142 'defines': [ | 121 'defines': [ |
| 143 'GR_CHROME_UTILS=1', | 122 'GR_CHROME_UTILS=1', |
| 144 ], | 123 ], |
| 145 }], | 124 }], |
| 146 [ 'skia_os == "linux" or skia_os == "chromeos"', { | 125 [ 'skia_os == "linux" or skia_os == "chromeos"', { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 'libraries': [ | 219 'libraries': [ |
| 241 '-lGLESv2', | 220 '-lGLESv2', |
| 242 '-lEGL', | 221 '-lEGL', |
| 243 ], | 222 ], |
| 244 }, | 223 }, |
| 245 }], | 224 }], |
| 246 ], | 225 ], |
| 247 }, | 226 }, |
| 248 ], | 227 ], |
| 249 } | 228 } |
| OLD | NEW |