OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 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 declare_args() { | 6 declare_args() { |
7 } | 7 } |
8 | 8 |
9 skia_public_includes = [ | 9 skia_public_includes = [ |
10 "include/android", | 10 "include/android", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "src/gpu", | 46 "src/gpu", |
47 "src/image", | 47 "src/image", |
48 "src/images", | 48 "src/images", |
49 "src/lazy", | 49 "src/lazy", |
50 "src/opts", | 50 "src/opts", |
51 "src/pathops", | 51 "src/pathops", |
52 "src/pdf", | 52 "src/pdf", |
53 "src/ports", | 53 "src/ports", |
54 "src/sfnt", | 54 "src/sfnt", |
55 "src/utils", | 55 "src/utils", |
| 56 "src/utils/win", |
56 "third_party/etc1", | 57 "third_party/etc1", |
57 "third_party/ktx", | 58 "third_party/ktx", |
58 ] | 59 ] |
59 | 60 |
60 defines = [ | 61 defines = [ |
61 "SK_GAMMA_APPLY_TO_A8", | 62 "SK_GAMMA_APPLY_TO_A8", |
62 | 63 |
63 "SK_HAS_GIF_LIBRARY", | 64 "SK_HAS_GIF_LIBRARY", |
64 "SK_HAS_JPEG_LIBRARY", | 65 "SK_HAS_JPEG_LIBRARY", |
65 "SK_HAS_PNG_LIBRARY", | 66 "SK_HAS_PNG_LIBRARY", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ":opts_sse41", | 168 ":opts_sse41", |
168 ":opts_ssse3", | 169 ":opts_ssse3", |
169 "//third_party/expat", | 170 "//third_party/expat", |
170 "//third_party/giflib", | 171 "//third_party/giflib", |
171 "//third_party/libjpeg_turbo", | 172 "//third_party/libjpeg_turbo", |
172 "//third_party/libpng", | 173 "//third_party/libpng", |
173 "//third_party/libwebp", | 174 "//third_party/libwebp", |
174 "//third_party/zlib", | 175 "//third_party/zlib", |
175 ] | 176 ] |
176 | 177 |
177 libs = [ "pthread" ] | 178 if (!is_win) { |
| 179 libs = [ "pthread" ] |
| 180 } |
178 | 181 |
179 sources = [] | 182 sources = [] |
180 sources += core_gypi.sources | 183 sources += core_gypi.sources |
181 sources += effects_gypi.sources | 184 sources += effects_gypi.sources |
182 sources += gpu_gypi.skgpu_sources | 185 sources += gpu_gypi.skgpu_sources |
183 sources += opts_gypi.sse2_sources | 186 sources += opts_gypi.sse2_sources |
184 sources += pdf_gypi.sources | 187 sources += pdf_gypi.sources |
185 sources += utils_gypi.sources | 188 sources += utils_gypi.sources |
186 sources += [ | 189 sources += [ |
187 "src/android/SkBitmapRegionCodec.cpp", | 190 "src/android/SkBitmapRegionCodec.cpp", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 "src/ports/SkFontMgr_win_dw.cpp", | 241 "src/ports/SkFontMgr_win_dw.cpp", |
239 "src/ports/SkFontMgr_win_dw_factory.cpp", | 242 "src/ports/SkFontMgr_win_dw_factory.cpp", |
240 "src/ports/SkImageEncoder_WIC.cpp", | 243 "src/ports/SkImageEncoder_WIC.cpp", |
241 "src/ports/SkImageGeneratorWIC.cpp", | 244 "src/ports/SkImageGeneratorWIC.cpp", |
242 "src/ports/SkOSFile_win.cpp", | 245 "src/ports/SkOSFile_win.cpp", |
243 "src/ports/SkScalerContext_win_dw.cpp", | 246 "src/ports/SkScalerContext_win_dw.cpp", |
244 "src/ports/SkTLS_win.cpp", | 247 "src/ports/SkTLS_win.cpp", |
245 "src/ports/SkTypeface_win_dw.cpp", | 248 "src/ports/SkTypeface_win_dw.cpp", |
246 "src/xps/SkDocument_XPS.cpp", | 249 "src/xps/SkDocument_XPS.cpp", |
247 ] | 250 ] |
| 251 sources -= [ "src/utils/SkThreadUtils_pthread.cpp" ] |
248 } else { | 252 } else { |
249 sources += [ | 253 sources += [ |
250 "src/ports/SkDebug_stdio.cpp", | 254 "src/ports/SkDebug_stdio.cpp", |
251 "src/ports/SkOSFile_posix.cpp", | 255 "src/ports/SkOSFile_posix.cpp", |
252 "src/ports/SkTLS_pthread.cpp", | 256 "src/ports/SkTLS_pthread.cpp", |
253 "src/xps/SkDocument_XPS_None.cpp", | 257 "src/xps/SkDocument_XPS_None.cpp", |
254 ] | 258 ] |
255 } | 259 } |
256 | 260 |
257 if (is_linux) { | 261 if (is_linux) { |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 ":flags", | 542 ":flags", |
539 ":gm", | 543 ":gm", |
540 ":gpu_tool_utils", | 544 ":gpu_tool_utils", |
541 ":skia", | 545 ":skia", |
542 ":tool_utils", | 546 ":tool_utils", |
543 "//third_party/jsoncpp", | 547 "//third_party/jsoncpp", |
544 ] | 548 ] |
545 testonly = true | 549 testonly = true |
546 } | 550 } |
547 } | 551 } |
OLD | NEW |