| 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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 ], | 374 ], |
| 375 'cflags_cc!': [ | 375 'cflags_cc!': [ |
| 376 '-fno-rtti', | 376 '-fno-rtti', |
| 377 '-Wnon-virtual-dtor', | 377 '-Wnon-virtual-dtor', |
| 378 ], | 378 ], |
| 379 'defines': [ | 379 'defines': [ |
| 380 'DCT_IFAST_SUPPORTED', | 380 'DCT_IFAST_SUPPORTED', |
| 381 # using freetype's embolden allows us to adjust fake bold settings at | 381 # using freetype's embolden allows us to adjust fake bold settings at |
| 382 # draw-time, at which point we know which SkTypeface is being drawn | 382 # draw-time, at which point we know which SkTypeface is being drawn |
| 383 'SK_USE_FREETYPE_EMBOLDEN', | 383 'SK_USE_FREETYPE_EMBOLDEN', |
| 384 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', | |
| 385 # When built as part of the system image we can enable certian non-NDK | 384 # When built as part of the system image we can enable certian non-NDK |
| 386 # compliant optimizations. | 385 # compliant optimizations. |
| 387 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 386 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
| 388 # Optimizations for chromium (m30) | 387 # Optimizations for chromium (m30) |
| 389 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 388 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
| 390 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 389 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
| 391 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 390 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
| 392 'SK_IGNORE_ETC1_SUPPORT', | 391 'SK_IGNORE_ETC1_SUPPORT', |
| 393 # We can't use the skia_shared_lib gyp setting because we need expose | 392 # We can't use the skia_shared_lib gyp setting because we need expose |
| 394 # this define globally and the the implemention define as a cflag. | 393 # this define globally and the the implemention define as a cflag. |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], | 701 'LD_RUNPATH_SEARCH_PATHS': ['@executable_path/.'], |
| 703 }, | 702 }, |
| 704 }], | 703 }], |
| 705 | 704 |
| 706 ], # end 'conditions' | 705 ], # end 'conditions' |
| 707 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 706 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 708 'xcode_settings': { | 707 'xcode_settings': { |
| 709 'SYMROOT': '<(DEPTH)/xcodebuild', | 708 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 710 }, | 709 }, |
| 711 } | 710 } |
| OLD | NEW |