| OLD | NEW |
| 1 # GYP for building gpu | 1 # GYP for building gpu |
| 2 { | 2 { |
| 3 'target_defaults': { | 3 'target_defaults': { |
| 4 'conditions': [ | 4 'conditions': [ |
| 5 ['skia_os != "win"', { | 5 ['skia_os != "win"', { |
| 6 'sources/': [ ['exclude', '_win.(h|cpp)$'], | 6 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
| 7 ], | 7 ], |
| 8 }], | 8 }], |
| 9 ['skia_os != "mac"', { | 9 ['skia_os != "mac"', { |
| 10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], | 10 'sources/': [ ['exclude', '_mac.(h|cpp|m|mm)$'], |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 'direct_dependent_settings': { | 67 'direct_dependent_settings': { |
| 68 'conditions': [ | 68 'conditions': [ |
| 69 [ 'skia_os == "win"', { | 69 [ 'skia_os == "win"', { |
| 70 'defines': [ | 70 'defines': [ |
| 71 'GR_GL_FUNCTION_TYPE=__stdcall', | 71 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 72 ], | 72 ], |
| 73 }], | 73 }], |
| 74 ], | 74 ], |
| 75 'include_dirs': [ | 75 'include_dirs': [ |
| 76 '../include/gpu', | 76 '../include/gpu', |
| 77 '../include/gpu/effects', |
| 77 ], | 78 ], |
| 78 }, | 79 }, |
| 79 }, | 80 }, |
| 80 'targets': [ | 81 'targets': [ |
| 81 { | 82 { |
| 82 'target_name': 'skgpu', | 83 'target_name': 'skgpu', |
| 83 'product_name': 'skia_skgpu', | 84 'product_name': 'skia_skgpu', |
| 84 'type': 'static_library', | 85 'type': 'static_library', |
| 85 'standalone_static_library': 1, | 86 'standalone_static_library': 1, |
| 86 'dependencies': [ | 87 'dependencies': [ |
| 87 'core.gyp:*', | 88 'core.gyp:*', |
| 88 'utils.gyp:*', | 89 'utils.gyp:*', |
| 89 'etc1.gyp:libetc1', | 90 'etc1.gyp:libetc1', |
| 90 'ktx.gyp:libSkKTX', | 91 'ktx.gyp:libSkKTX', |
| 91 ], | 92 ], |
| 92 'includes': [ | 93 'includes': [ |
| 93 'gpu.gypi', | 94 'gpu.gypi', |
| 94 ], | 95 ], |
| 95 'include_dirs': [ | 96 'include_dirs': [ |
| 96 '../include/gpu', | 97 '../include/gpu', |
| 98 '../include/gpu/effects', |
| 97 '../src/core', | 99 '../src/core', |
| 98 '../src/gpu', | 100 '../src/gpu', |
| 99 ], | 101 ], |
| 100 'sources': [ | 102 'sources': [ |
| 101 '<@(skgpu_sources)', | 103 '<@(skgpu_sources)', |
| 102 '<@(skgpu_native_gl_sources)', | 104 '<@(skgpu_native_gl_sources)', |
| 103 '<@(skgpu_angle_gl_sources)', | 105 '<@(skgpu_angle_gl_sources)', |
| 104 '<@(skgpu_mesa_gl_sources)', | 106 '<@(skgpu_mesa_gl_sources)', |
| 105 '<@(skgpu_debug_gl_sources)', | 107 '<@(skgpu_debug_gl_sources)', |
| 106 '<@(skgpu_null_gl_sources)', | 108 '<@(skgpu_null_gl_sources)', |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 'libraries': [ | 243 'libraries': [ |
| 242 '-lGLESv2', | 244 '-lGLESv2', |
| 243 '-lEGL', | 245 '-lEGL', |
| 244 ], | 246 ], |
| 245 }, | 247 }, |
| 246 }], | 248 }], |
| 247 ], | 249 ], |
| 248 }, | 250 }, |
| 249 ], | 251 ], |
| 250 } | 252 } |
| OLD | NEW |