OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 # This gypi file contains the Skia library. | 6 # This gypi file contains the Skia library. |
7 # In component mode (shared_lib) it is folded into a single shared library with | 7 # In component mode (shared_lib) it is folded into a single shared library with |
8 # the Chrome-specific enhancements but in all other cases it is a separate lib. | 8 # the Chrome-specific enhancements but in all other cases it is a separate lib. |
9 | 9 |
10 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 10 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 'sources': [ | 26 'sources': [ |
27 # this should likely be moved into src/utils in skia | 27 # this should likely be moved into src/utils in skia |
28 '../third_party/skia/src/core/SkFlate.cpp', | 28 '../third_party/skia/src/core/SkFlate.cpp', |
29 '../third_party/skia/src/core/SkPaintOptionsAndroid.cpp', | 29 '../third_party/skia/src/core/SkPaintOptionsAndroid.cpp', |
30 | 30 |
31 '../third_party/skia/src/ports/SkImageDecoder_empty.cpp', | 31 '../third_party/skia/src/ports/SkImageDecoder_empty.cpp', |
32 '../third_party/skia/src/images/SkScaledBitmapSampler.cpp', | 32 '../third_party/skia/src/images/SkScaledBitmapSampler.cpp', |
33 '../third_party/skia/src/images/SkScaledBitmapSampler.h', | 33 '../third_party/skia/src/images/SkScaledBitmapSampler.h', |
34 | 34 |
35 '../third_party/skia/src/opts/opts_check_SSE2.cpp', | 35 '../third_party/skia/src/opts/opts_check_x86.cpp', |
36 | 36 |
37 '../third_party/skia/src/ports/SkFontConfigInterface_android.cpp', | 37 '../third_party/skia/src/ports/SkFontConfigInterface_android.cpp', |
38 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 38 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
39 | 39 |
40 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', | 40 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
41 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', | 41 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
42 | 42 |
43 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', | 43 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', |
44 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', | 44 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', |
45 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', | 45 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 'sources': [ | 178 'sources': [ |
179 '../third_party/skia/src/core/SkUtilsArm.cpp', | 179 '../third_party/skia/src/core/SkUtilsArm.cpp', |
180 ], | 180 ], |
181 'includes': [ | 181 'includes': [ |
182 '../build/android/cpufeatures.gypi', | 182 '../build/android/cpufeatures.gypi', |
183 ], | 183 ], |
184 }], | 184 }], |
185 [ 'target_arch == "arm" or target_arch == "arm64" or \ | 185 [ 'target_arch == "arm" or target_arch == "arm64" or \ |
186 target_arch == "mipsel"', { | 186 target_arch == "mipsel"', { |
187 'sources!': [ | 187 'sources!': [ |
188 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 188 '../third_party/skia/src/opts/opts_check_x86.cpp' |
189 ], | 189 ], |
190 }], | 190 }], |
191 [ 'desktop_linux == 1 or chromeos == 1', { | 191 [ 'desktop_linux == 1 or chromeos == 1', { |
192 'dependencies': [ | 192 'dependencies': [ |
193 '../build/linux/system.gyp:fontconfig', | 193 '../build/linux/system.gyp:fontconfig', |
194 '../build/linux/system.gyp:freetype2', | 194 '../build/linux/system.gyp:freetype2', |
195 '../third_party/icu/icu.gyp:icuuc', | 195 '../third_party/icu/icu.gyp:icuuc', |
196 ], | 196 ], |
197 'cflags': [ | 197 'cflags': [ |
198 '-Wno-unused', | 198 '-Wno-unused', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', | 240 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
241 ], | 241 ], |
242 }, | 242 }, |
243 'sources': [ | 243 'sources': [ |
244 # This file is used on both iOS and Mac, so it should be removed | 244 # This file is used on both iOS and Mac, so it should be removed |
245 # from the ios and mac conditions and moved into the main sources | 245 # from the ios and mac conditions and moved into the main sources |
246 # list. | 246 # list. |
247 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', | 247 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
248 ], | 248 ], |
249 'sources/': [ | 249 'sources/': [ |
250 ['exclude', 'opts_check_SSE2\\.cpp$'], | 250 ['exclude', 'opts_check_x86\\.cpp$'], |
251 ], | 251 ], |
252 | 252 |
253 # The main skia_opts target does not currently work on iOS because the | 253 # The main skia_opts target does not currently work on iOS because the |
254 # target architecture on iOS is determined at compile time rather than | 254 # target architecture on iOS is determined at compile time rather than |
255 # gyp time (simulator builds are x86, device builds are arm). As a | 255 # gyp time (simulator builds are x86, device builds are arm). As a |
256 # temporary measure, this is a separate opts target for iOS-only, using | 256 # temporary measure, this is a separate opts target for iOS-only, using |
257 # the _none.cpp files to avoid architecture-dependent implementations. | 257 # the _none.cpp files to avoid architecture-dependent implementations. |
258 'dependencies': [ | 258 'dependencies': [ |
259 'skia_library_opts.gyp:skia_opts_none', | 259 'skia_library_opts.gyp:skia_opts_none', |
260 ], | 260 ], |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 '../third_party/skia/include/pdf', | 340 '../third_party/skia/include/pdf', |
341 '../third_party/skia/include/gpu', | 341 '../third_party/skia/include/gpu', |
342 '../third_party/skia/include/lazy', | 342 '../third_party/skia/include/lazy', |
343 '../third_party/skia/include/pathops', | 343 '../third_party/skia/include/pathops', |
344 '../third_party/skia/include/pipe', | 344 '../third_party/skia/include/pipe', |
345 '../third_party/skia/include/ports', | 345 '../third_party/skia/include/ports', |
346 '../third_party/skia/include/utils', | 346 '../third_party/skia/include/utils', |
347 ], | 347 ], |
348 }, | 348 }, |
349 } | 349 } |
OLD | NEW |