| 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 | 26 |
| 27 'sources': [ | 27 'sources': [ |
| 28 # this should likely be moved into src/utils in skia | 28 # this should likely be moved into src/utils in skia |
| 29 '../third_party/skia/src/core/SkFlate.cpp', | 29 '../third_party/skia/src/core/SkFlate.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_x86.cpp', | |
| 36 | |
| 37 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 35 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
| 38 | 36 |
| 39 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', | 37 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
| 40 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', | 38 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
| 41 | 39 |
| 42 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', | 40 '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', |
| 43 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', | 41 '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', |
| 44 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', | 42 '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', |
| 45 | 43 |
| 46 '../third_party/skia/src/ports/SkImageGenerator_none.cpp', | 44 '../third_party/skia/src/ports/SkImageGenerator_none.cpp', |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 ], | 216 ], |
| 219 }], | 217 }], |
| 220 [ 'OS == "android" and target_arch == "arm"', { | 218 [ 'OS == "android" and target_arch == "arm"', { |
| 221 'sources': [ | 219 'sources': [ |
| 222 '../third_party/skia/src/core/SkUtilsArm.cpp', | 220 '../third_party/skia/src/core/SkUtilsArm.cpp', |
| 223 ], | 221 ], |
| 224 'includes': [ | 222 'includes': [ |
| 225 '../build/android/cpufeatures.gypi', | 223 '../build/android/cpufeatures.gypi', |
| 226 ], | 224 ], |
| 227 }], | 225 }], |
| 228 [ 'target_arch == "arm" or target_arch == "arm64" or \ | |
| 229 target_arch == "mipsel" or target_arch == "mips64el"', { | |
| 230 'sources!': [ | |
| 231 '../third_party/skia/src/opts/opts_check_x86.cpp' | |
| 232 ], | |
| 233 }], | |
| 234 [ 'desktop_linux == 1 or chromeos == 1', { | 226 [ 'desktop_linux == 1 or chromeos == 1', { |
| 235 'dependencies': [ | 227 'dependencies': [ |
| 236 '../build/linux/system.gyp:fontconfig', | 228 '../build/linux/system.gyp:fontconfig', |
| 237 '../build/linux/system.gyp:freetype2', | 229 '../build/linux/system.gyp:freetype2', |
| 238 '../third_party/icu/icu.gyp:icuuc', | 230 '../third_party/icu/icu.gyp:icuuc', |
| 239 ], | 231 ], |
| 240 'cflags': [ | 232 'cflags': [ |
| 241 '-Wno-unused', | 233 '-Wno-unused', |
| 242 '-Wno-unused-function', | 234 '-Wno-unused-function', |
| 243 ], | 235 ], |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 'libraries': [ | 274 'libraries': [ |
| 283 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', | 275 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 284 ], | 276 ], |
| 285 }, | 277 }, |
| 286 'sources': [ | 278 'sources': [ |
| 287 # This file is used on both iOS and Mac, so it should be removed | 279 # This file is used on both iOS and Mac, so it should be removed |
| 288 # from the ios and mac conditions and moved into the main sources | 280 # from the ios and mac conditions and moved into the main sources |
| 289 # list. | 281 # list. |
| 290 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', | 282 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
| 291 ], | 283 ], |
| 292 'sources/': [ | |
| 293 ['exclude', 'opts_check_x86\\.cpp$'], | |
| 294 ], | |
| 295 | 284 |
| 296 # The main skia_opts target does not currently work on iOS because the | 285 # The main skia_opts target does not currently work on iOS because the |
| 297 # target architecture on iOS is determined at compile time rather than | 286 # target architecture on iOS is determined at compile time rather than |
| 298 # gyp time (simulator builds are x86, device builds are arm). As a | 287 # gyp time (simulator builds are x86, device builds are arm). As a |
| 299 # temporary measure, this is a separate opts target for iOS-only, using | 288 # temporary measure, this is a separate opts target for iOS-only, using |
| 300 # the _none.cpp files to avoid architecture-dependent implementations. | 289 # the _none.cpp files to avoid architecture-dependent implementations. |
| 301 'dependencies': [ | 290 'dependencies': [ |
| 302 'skia_library_opts.gyp:skia_opts_none', | 291 'skia_library_opts.gyp:skia_opts_none', |
| 303 ], | 292 ], |
| 304 'dependencies!': [ | 293 'dependencies!': [ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 '../third_party/skia/include/pdf', | 370 '../third_party/skia/include/pdf', |
| 382 '../third_party/skia/include/gpu', | 371 '../third_party/skia/include/gpu', |
| 383 '../third_party/skia/include/lazy', | 372 '../third_party/skia/include/lazy', |
| 384 '../third_party/skia/include/pathops', | 373 '../third_party/skia/include/pathops', |
| 385 '../third_party/skia/include/pipe', | 374 '../third_party/skia/include/pipe', |
| 386 '../third_party/skia/include/ports', | 375 '../third_party/skia/include/ports', |
| 387 '../third_party/skia/include/utils', | 376 '../third_party/skia/include/utils', |
| 388 ], | 377 ], |
| 389 }, | 378 }, |
| 390 } | 379 } |
| OLD | NEW |