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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 'defines': [ | 238 'defines': [ |
239 #'SK_GAMMA_SRGB', | 239 #'SK_GAMMA_SRGB', |
240 #'SK_GAMMA_APPLY_TO_A8', | 240 #'SK_GAMMA_APPLY_TO_A8', |
241 'SK_BUILD_NO_IMAGE_ENCODE', | 241 'SK_BUILD_NO_IMAGE_ENCODE', |
242 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 242 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
243 'GR_STATIC_RECT_VB=1', | 243 'GR_STATIC_RECT_VB=1', |
244 'GR_AGGRESSIVE_SHADER_OPTS=1', | 244 'GR_AGGRESSIVE_SHADER_OPTS=1', |
245 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 245 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
246 'SK_ENABLE_INST_COUNT=0', | 246 'SK_ENABLE_INST_COUNT=0', |
247 | 247 |
248 # this flag can be removed entirely once this has baked for a while | |
249 'SK_ALLOW_OVER_32K_BITMAPS', | |
250 | |
251 # skia uses static initializers to initialize the serialization logic | 248 # skia uses static initializers to initialize the serialization logic |
252 # of its "pictures" library. This is currently not used in chrome; if | 249 # of its "pictures" library. This is currently not used in chrome; if |
253 # it ever gets used the processes that use it need to call | 250 # it ever gets used the processes that use it need to call |
254 # SkGraphics::Init(). | 251 # SkGraphics::Init(). |
255 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', | 252 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', |
256 | 253 |
257 # Disable this check because it is too strict for some Chromium-specific | 254 # Disable this check because it is too strict for some Chromium-specific |
258 # subclasses of SkPixelRef. See bug: crbug.com/171776. | 255 # subclasses of SkPixelRef. See bug: crbug.com/171776. |
259 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | 256 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', |
260 | 257 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 [ '_toolset=="host" and host_os=="linux"', { | 455 [ '_toolset=="host" and host_os=="linux"', { |
459 'sources': [ | 456 'sources': [ |
460 'ext/platform_device_linux.cc', | 457 'ext/platform_device_linux.cc', |
461 ], | 458 ], |
462 }], | 459 }], |
463 ], | 460 ], |
464 }], | 461 }], |
465 [ 'OS == "ios"', { | 462 [ 'OS == "ios"', { |
466 'defines': [ | 463 'defines': [ |
467 'SK_BUILD_FOR_IOS', | 464 'SK_BUILD_FOR_IOS', |
468 'SK_USE_MAC_CORE_TEXT', | |
469 ], | 465 ], |
470 'include_dirs': [ | 466 'include_dirs': [ |
471 '../third_party/skia/include/utils/ios', | 467 '../third_party/skia/include/utils/ios', |
472 '../third_party/skia/include/utils/mac', | 468 '../third_party/skia/include/utils/mac', |
473 ], | 469 ], |
474 'link_settings': { | 470 'link_settings': { |
475 'libraries': [ | 471 'libraries': [ |
476 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', | 472 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
477 ], | 473 ], |
478 }, | 474 }, |
(...skipping 12 matching lines...) Expand all Loading... |
491 ], | 487 ], |
492 'sources/': [ | 488 'sources/': [ |
493 ['exclude', '/pdf/'], | 489 ['exclude', '/pdf/'], |
494 ['exclude', '^ext/vector_platform_device_skia\\.'], | 490 ['exclude', '^ext/vector_platform_device_skia\\.'], |
495 ['exclude', 'opts_check_SSE2\\.cpp$'], | 491 ['exclude', 'opts_check_SSE2\\.cpp$'], |
496 ], | 492 ], |
497 }], | 493 }], |
498 [ 'OS == "mac"', { | 494 [ 'OS == "mac"', { |
499 'defines': [ | 495 'defines': [ |
500 'SK_BUILD_FOR_MAC', | 496 'SK_BUILD_FOR_MAC', |
501 'SK_USE_MAC_CORE_TEXT', | |
502 # 'SK_USE_COLOR_LUMINANCE', | 497 # 'SK_USE_COLOR_LUMINANCE', |
503 ], | 498 ], |
504 'include_dirs': [ | 499 'include_dirs': [ |
505 '../third_party/skia/include/utils/mac', | 500 '../third_party/skia/include/utils/mac', |
506 ], | 501 ], |
507 'link_settings': { | 502 'link_settings': { |
508 'libraries': [ | 503 'libraries': [ |
509 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | 504 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
510 ], | 505 ], |
511 }, | 506 }, |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 'sources': [ | 904 'sources': [ |
910 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 905 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
911 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 906 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
912 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 907 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
913 ], | 908 ], |
914 }, | 909 }, |
915 ], | 910 ], |
916 }], | 911 }], |
917 ], | 912 ], |
918 } | 913 } |
OLD | NEW |