OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # conditions used in both common.gypi and skia.gyp in chromium | 6 # conditions used in both common.gypi and skia.gyp in chromium |
7 # | 7 # |
8 { | 8 { |
9 'defines': [ | 9 'defines': [ |
10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 10 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 'DCT_IFAST_SUPPORTED', | 378 'DCT_IFAST_SUPPORTED', |
379 # using freetype's embolden allows us to adjust fake bold settings at | 379 # using freetype's embolden allows us to adjust fake bold settings at |
380 # draw-time, at which point we know which SkTypeface is being drawn | 380 # draw-time, at which point we know which SkTypeface is being drawn |
381 'SK_USE_FREETYPE_EMBOLDEN', | 381 'SK_USE_FREETYPE_EMBOLDEN', |
382 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', | 382 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', |
383 # When built as part of the system image we can enable certian non-NDK | 383 # When built as part of the system image we can enable certian non-NDK |
384 # compliant optimizations. | 384 # compliant optimizations. |
385 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 385 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
386 # Optimizations for chromium (m30) | 386 # Optimizations for chromium (m30) |
387 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 387 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
388 'IGNORE_ROT_AA_RECT_OPT', | |
389 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 388 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
390 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 389 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
391 'SK_IGNORE_ETC1_SUPPORT', | 390 'SK_IGNORE_ETC1_SUPPORT', |
392 # We can't use the skia_shared_library gyp setting because we need expos
e | 391 # We can't use the skia_shared_library gyp setting because we need expos
e |
393 # this define globally and the the implemention define as a cflag. | 392 # this define globally and the the implemention define as a cflag. |
394 'SKIA_DLL', | 393 'SKIA_DLL', |
395 'SK_PRINT_CODEC_MESSAGES', | 394 'SK_PRINT_CODEC_MESSAGES', |
396 ], | 395 ], |
397 }], | 396 }], |
398 | 397 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 [ 'sknx_no_simd', { | 639 [ 'sknx_no_simd', { |
641 'defines': [ 'SKNX_NO_SIMD' ], | 640 'defines': [ 'SKNX_NO_SIMD' ], |
642 }], | 641 }], |
643 | 642 |
644 ], # end 'conditions' | 643 ], # end 'conditions' |
645 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 644 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
646 'xcode_settings': { | 645 'xcode_settings': { |
647 'SYMROOT': '<(DEPTH)/xcodebuild', | 646 'SYMROOT': '<(DEPTH)/xcodebuild', |
648 }, | 647 }, |
649 } | 648 } |
OLD | NEW |