| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'skia', | 8 'target_name': 'skia', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'variables': { | 10 'variables': { |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 [ 'target_arch == "arm" or target_arch == "mipsel"', { | 347 [ 'target_arch == "arm" or target_arch == "mipsel"', { |
| 348 'sources!': [ | 348 'sources!': [ |
| 349 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 349 '../third_party/skia/src/opts/opts_check_SSE2.cpp' |
| 350 ], | 350 ], |
| 351 }], | 351 }], |
| 352 [ 'use_glib == 1', { | 352 [ 'use_glib == 1', { |
| 353 'dependencies': [ | 353 'dependencies': [ |
| 354 '../build/linux/system.gyp:fontconfig', | 354 '../build/linux/system.gyp:fontconfig', |
| 355 '../build/linux/system.gyp:freetype2', | 355 '../build/linux/system.gyp:freetype2', |
| 356 '../build/linux/system.gyp:pangocairo', | 356 '../build/linux/system.gyp:pangocairo', |
| 357 '../third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', | |
| 358 '../third_party/icu/icu.gyp:icuuc', | 357 '../third_party/icu/icu.gyp:icuuc', |
| 359 ], | 358 ], |
| 360 'cflags': [ | 359 'cflags': [ |
| 361 '-Wno-unused', | 360 '-Wno-unused', |
| 362 '-Wno-unused-function', | 361 '-Wno-unused-function', |
| 363 ], | 362 ], |
| 364 'sources': [ | 363 'sources': [ |
| 365 'ext/SkFontHost_fontconfig.cpp', | 364 'ext/SkFontHost_fontconfig.cpp', |
| 366 'ext/SkFontHost_fontconfig_direct.cpp', | 365 'ext/SkFontHost_fontconfig_direct.cpp', |
| 367 ], | 366 ], |
| (...skipping 26 matching lines...) Expand all Loading... |
| 394 'OS_ANDROID', | 393 'OS_ANDROID', |
| 395 'SK_BUILD_FOR_ANDROID_NDK', | 394 'SK_BUILD_FOR_ANDROID_NDK', |
| 396 # Android devices are typically more memory constrained, so | 395 # Android devices are typically more memory constrained, so |
| 397 # use a smaller glyph cache. | 396 # use a smaller glyph cache. |
| 398 'SK_DEFAULT_FONT_CACHE_LIMIT=(8*1024*1024)', | 397 'SK_DEFAULT_FONT_CACHE_LIMIT=(8*1024*1024)', |
| 399 'USE_CHROMIUM_SKIA', | 398 'USE_CHROMIUM_SKIA', |
| 400 ], | 399 ], |
| 401 'dependencies': [ | 400 'dependencies': [ |
| 402 '../third_party/expat/expat.gyp:expat', | 401 '../third_party/expat/expat.gyp:expat', |
| 403 '../third_party/freetype/freetype.gyp:ft2', | 402 '../third_party/freetype/freetype.gyp:ft2', |
| 404 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | |
| 405 'skia_opts' | 403 'skia_opts' |
| 406 ], | 404 ], |
| 407 'dependencies!': [ | 405 'dependencies!': [ |
| 408 # Android doesn't use Skia's PDF generation, which is what uses | 406 # Android doesn't use Skia's PDF generation, which is what uses |
| 409 # sfntly. | 407 # sfntly. |
| 410 '../third_party/sfntly/sfntly.gyp:sfntly', | 408 '../third_party/sfntly/sfntly.gyp:sfntly', |
| 411 ], | 409 ], |
| 412 # This exports a hard dependency because it needs to run its | 410 # This exports a hard dependency because it needs to run its |
| 413 # symlink action in order to expose the skia header files. | 411 # symlink action in order to expose the skia header files. |
| 414 'hard_dependency': 1, | 412 'hard_dependency': 1, |
| 415 'include_dirs': [ | 413 'include_dirs': [ |
| 416 '../third_party/expat/files/lib', | 414 '../third_party/expat/files/lib', |
| 417 ], | 415 ], |
| 418 'sources/': [ | 416 'sources/': [ |
| 419 ['include', 'ext/platform_device_linux\\.cc$'], | 417 ['include', 'ext/platform_device_linux\\.cc$'], |
| 420 ['exclude', '../third_party/skia/src/pdf/'], | 418 ['exclude', '../third_party/skia/src/pdf/'], |
| 421 ], | 419 ], |
| 422 'sources!': [ | 420 'sources!': [ |
| 423 'ext/vector_platform_device_skia.cc', | 421 'ext/vector_platform_device_skia.cc', |
| 424 ], | 422 ], |
| 425 'export_dependent_settings': [ | |
| 426 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | |
| 427 ], | |
| 428 }], | 423 }], |
| 429 [ '_toolset == "target" and android_build_type == 0', { | 424 [ '_toolset == "target" and android_build_type == 0', { |
| 430 'defines': [ | 425 'defines': [ |
| 431 'HAVE_ENDIAN_H', | 426 'HAVE_ENDIAN_H', |
| 432 ], | 427 ], |
| 433 }], | 428 }], |
| 434 [ '_toolset=="host" and host_os=="linux"', { | 429 [ '_toolset=="host" and host_os=="linux"', { |
| 435 'sources': [ | 430 'sources': [ |
| 436 'ext/platform_device_linux.cc', | 431 'ext/platform_device_linux.cc', |
| 437 ], | 432 ], |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 'sources': [ | 833 'sources': [ |
| 839 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 834 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 840 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 835 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 841 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 836 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 842 ], | 837 ], |
| 843 }, | 838 }, |
| 844 ], | 839 ], |
| 845 }], | 840 }], |
| 846 ], | 841 ], |
| 847 } | 842 } |
| OLD | NEW |