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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 'sources/': [ | 468 'sources/': [ |
469 ['exclude', '/pdf/'], | 469 ['exclude', '/pdf/'], |
470 ['exclude', '^ext/vector_platform_device_skia\\.'], | 470 ['exclude', '^ext/vector_platform_device_skia\\.'], |
471 ['exclude', 'opts_check_SSE2\\.cpp$'], | 471 ['exclude', 'opts_check_SSE2\\.cpp$'], |
472 ['exclude', 'SkFontHost_tables\\.cpp$',], | 472 ['exclude', 'SkFontHost_tables\\.cpp$',], |
473 ], | 473 ], |
474 }], | 474 }], |
475 [ 'OS == "mac"', { | 475 [ 'OS == "mac"', { |
476 'defines': [ | 476 'defines': [ |
477 'SK_BUILD_FOR_MAC', | 477 'SK_BUILD_FOR_MAC', |
| 478 'SK_USE_MAC_CORE_TEXT', |
| 479 # 'SK_USE_COLOR_LUMINANCE', |
478 ], | 480 ], |
479 'include_dirs': [ | 481 'include_dirs': [ |
480 '../third_party/skia/include/utils/mac', | 482 '../third_party/skia/include/utils/mac', |
481 ], | 483 ], |
482 'link_settings': { | 484 'link_settings': { |
483 'libraries': [ | 485 'libraries': [ |
484 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 486 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
485 ], | 487 ], |
486 }, | 488 }, |
487 'sources': [ | 489 'sources': [ |
488 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', | 490 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
489 ], | 491 ], |
490 'sources!': [ | 492 'sources!': [ |
491 # The mac's fonthost implements the table methods natively, | 493 # The mac's fonthost implements the table methods natively, |
492 # so no need for these generic versions. | 494 # so no need for these generic versions. |
493 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | 495 '../third_party/skia/src/ports/SkFontHost_tables.cpp', |
494 ], | 496 ], |
495 'conditions': [ | |
496 [ 'use_skia == 0', { | |
497 'sources/': [ | |
498 ['exclude', '/pdf/'], | |
499 ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'], | |
500 ], | |
501 }, | |
502 { # use_skia | |
503 'defines': [ | |
504 'SK_USE_MAC_CORE_TEXT', | |
505 # 'SK_USE_COLOR_LUMINANCE', | |
506 ], | |
507 }], | |
508 ], | |
509 }], | 497 }], |
510 [ 'OS == "win"', { | 498 [ 'OS == "win"', { |
511 'sources!': [ | 499 'sources!': [ |
512 '../third_party/skia/src/core/SkMMapStream.cpp', | 500 '../third_party/skia/src/core/SkMMapStream.cpp', |
513 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', | 501 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', |
514 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 502 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
515 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 503 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
516 'ext/SkThread_chrome.cc', | 504 'ext/SkThread_chrome.cc', |
517 ], | 505 ], |
518 'include_dirs': [ | 506 'include_dirs': [ |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 'sources': [ | 841 'sources': [ |
854 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 842 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
855 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 843 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
856 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 844 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
857 ], | 845 ], |
858 }, | 846 }, |
859 ], | 847 ], |
860 }], | 848 }], |
861 ], | 849 ], |
862 } | 850 } |
OLD | NEW |