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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #'../third_party/skia/src/ports/SkPurgeableMemoryBlock_mac.cpp', | 91 #'../third_party/skia/src/ports/SkPurgeableMemoryBlock_mac.cpp', |
92 '../third_party/skia/src/ports/SkPurgeableMemoryBlock_none.cpp', | 92 '../third_party/skia/src/ports/SkPurgeableMemoryBlock_none.cpp', |
93 | 93 |
94 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp', | 94 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp', |
95 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp', | 95 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp', |
96 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 96 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
97 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 97 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
98 '../third_party/skia/src/ports/SkFontHost_FreeType_common.h', | 98 '../third_party/skia/src/ports/SkFontHost_FreeType_common.h', |
99 '../third_party/skia/src/ports/SkFontHost_android.cpp', | 99 '../third_party/skia/src/ports/SkFontHost_android.cpp', |
100 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp', | 100 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp', |
101 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | |
102 #'../third_party/skia/src/ports/SkFontHost_linux.cpp', | 101 #'../third_party/skia/src/ports/SkFontHost_linux.cpp', |
103 '../third_party/skia/src/ports/SkFontHost_mac.cpp', | 102 '../third_party/skia/src/ports/SkFontHost_mac.cpp', |
104 #'../third_party/skia/src/ports/SkFontHost_none.cpp', | 103 #'../third_party/skia/src/ports/SkFontHost_none.cpp', |
105 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', | 104 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', |
106 '../third_party/skia/src/ports/SkFontHost_win.cpp', | 105 '../third_party/skia/src/ports/SkFontHost_win.cpp', |
107 '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp', | 106 '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp', |
108 #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp', | 107 #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp', |
109 #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp', | 108 #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp', |
110 #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp', | 109 #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp', |
111 #'../third_party/skia/src/ports/SkImageRef_ashmem.h', | 110 #'../third_party/skia/src/ports/SkImageRef_ashmem.h', |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 '../third_party/icu/icu.gyp:icuuc', | 374 '../third_party/icu/icu.gyp:icuuc', |
376 ], | 375 ], |
377 'cflags': [ | 376 'cflags': [ |
378 '-Wno-unused', | 377 '-Wno-unused', |
379 '-Wno-unused-function', | 378 '-Wno-unused-function', |
380 ], | 379 ], |
381 'sources': [ | 380 'sources': [ |
382 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', | 381 '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
383 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 382 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
384 ], | 383 ], |
385 'sources!': [ | |
386 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | |
387 ], | |
388 'defines': [ | 384 'defines': [ |
389 # 'SK_USE_COLOR_LUMINANCE', | 385 # 'SK_USE_COLOR_LUMINANCE', |
390 ], | 386 ], |
391 }], | 387 }], |
392 [ 'use_glib == 0 and OS != "android"', { | 388 [ 'use_glib == 0 and OS != "android"', { |
393 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 389 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
394 'sources!': [ | 390 'sources!': [ |
395 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 391 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
396 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 392 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
397 ], | 393 ], |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 'sources': [ | 474 'sources': [ |
479 # This file is used on both iOS and Mac, so it should be removed | 475 # This file is used on both iOS and Mac, so it should be removed |
480 # from the ios and mac conditions and moved into the main sources | 476 # from the ios and mac conditions and moved into the main sources |
481 # list. | 477 # list. |
482 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', | 478 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
483 ], | 479 ], |
484 'sources/': [ | 480 'sources/': [ |
485 ['exclude', '/pdf/'], | 481 ['exclude', '/pdf/'], |
486 ['exclude', '^ext/vector_platform_device_skia\\.'], | 482 ['exclude', '^ext/vector_platform_device_skia\\.'], |
487 ['exclude', 'opts_check_SSE2\\.cpp$'], | 483 ['exclude', 'opts_check_SSE2\\.cpp$'], |
488 ['exclude', 'SkFontHost_tables\\.cpp$',], | |
489 ], | 484 ], |
490 }], | 485 }], |
491 [ 'OS == "mac"', { | 486 [ 'OS == "mac"', { |
492 'defines': [ | 487 'defines': [ |
493 'SK_BUILD_FOR_MAC', | 488 'SK_BUILD_FOR_MAC', |
494 'SK_USE_MAC_CORE_TEXT', | 489 'SK_USE_MAC_CORE_TEXT', |
495 # 'SK_USE_COLOR_LUMINANCE', | 490 # 'SK_USE_COLOR_LUMINANCE', |
496 ], | 491 ], |
497 'include_dirs': [ | 492 'include_dirs': [ |
498 '../third_party/skia/include/utils/mac', | 493 '../third_party/skia/include/utils/mac', |
499 ], | 494 ], |
500 'link_settings': { | 495 'link_settings': { |
501 'libraries': [ | 496 'libraries': [ |
502 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 497 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
503 ], | 498 ], |
504 }, | 499 }, |
505 'sources': [ | 500 'sources': [ |
506 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', | 501 '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
507 ], | 502 ], |
508 'sources!': [ | |
509 # The mac's fonthost implements the table methods natively, | |
510 # so no need for these generic versions. | |
511 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | |
512 ], | |
513 }], | 503 }], |
514 [ 'OS == "win"', { | 504 [ 'OS == "win"', { |
515 'sources!': [ | 505 'sources!': [ |
516 '../third_party/skia/src/core/SkMMapStream.cpp', | 506 '../third_party/skia/src/core/SkMMapStream.cpp', |
517 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', | 507 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', |
518 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 508 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
519 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 509 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
520 'ext/SkThread_chrome.cc', | 510 'ext/SkThread_chrome.cc', |
521 ], | 511 ], |
522 'include_dirs': [ | 512 'include_dirs': [ |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
857 'sources': [ | 847 'sources': [ |
858 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 848 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
859 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 849 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
860 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 850 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
861 ], | 851 ], |
862 }, | 852 }, |
863 ], | 853 ], |
864 }], | 854 }], |
865 ], | 855 ], |
866 } | 856 } |
OLD | NEW |