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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 { | 81 { |
82 'target_name': 'skgpu', | 82 'target_name': 'skgpu', |
83 'product_name': 'skia_skgpu', | 83 'product_name': 'skia_skgpu', |
84 'type': 'static_library', | 84 'type': 'static_library', |
85 'standalone_static_library': 1, | 85 'standalone_static_library': 1, |
86 'dependencies': [ | 86 'dependencies': [ |
87 'core.gyp:*', | 87 'core.gyp:*', |
88 'utils.gyp:utils', | 88 'utils.gyp:utils', |
89 'etc1.gyp:libetc1', | 89 'etc1.gyp:libetc1', |
90 'ktx.gyp:libSkKTX', | 90 'ktx.gyp:libSkKTX', |
| 91 'sksl.gyp:sksl', |
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', |
97 '../include/private', | 98 '../include/private', |
98 '../src/core', | 99 '../src/core', |
99 '../src/gpu', | 100 '../src/gpu', |
100 '../src/image/', | 101 '../src/image/', |
| 102 '../src/sksl', |
101 ], | 103 ], |
102 'sources': [ | 104 'sources': [ |
103 '<@(skgpu_sources)', | 105 '<@(skgpu_sources)', |
104 '<@(skgpu_native_gl_sources)', | 106 '<@(skgpu_native_gl_sources)', |
105 '<@(skgpu_vk_sources)', | 107 '<@(skgpu_vk_sources)', |
106 '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). |
107 ], | 109 ], |
108 'conditions': [ | 110 'conditions': [ |
109 [ 'skia_gpu_extra_dependency_path', { | 111 [ 'skia_gpu_extra_dependency_path', { |
110 'dependencies' : [ | 112 'dependencies' : [ |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 }, | 242 }, |
241 }, { | 243 }, { |
242 'sources!': [ | 244 'sources!': [ |
243 '<@(skgpu_vk_sources)', | 245 '<@(skgpu_vk_sources)', |
244 ], | 246 ], |
245 }], | 247 }], |
246 ], | 248 ], |
247 }, | 249 }, |
248 ], | 250 ], |
249 } | 251 } |
OLD | NEW |