| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 412 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
| 413 # Optimizations for chromium (m30) | 413 # Optimizations for chromium (m30) |
| 414 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 414 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
| 415 'IGNORE_ROT_AA_RECT_OPT', | 415 'IGNORE_ROT_AA_RECT_OPT', |
| 416 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 416 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
| 417 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 417 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
| 418 'SK_IGNORE_ETC1_SUPPORT', | 418 'SK_IGNORE_ETC1_SUPPORT', |
| 419 # We can't use the skia_shared_library gyp setting because we need expos
e | 419 # We can't use the skia_shared_library gyp setting because we need expos
e |
| 420 # this define globally and the the implemention define as a cflag. | 420 # this define globally and the the implemention define as a cflag. |
| 421 'SKIA_DLL', | 421 'SKIA_DLL', |
| 422 'override override', | 422 'SK_PRINT_CODEC_MESSAGES', |
| 423 # Defines from skia_for_android_framework_defines.gypi | 423 # Defines from skia_for_android_framework_defines.gypi |
| 424 '<@(skia_for_android_framework_defines)', | 424 '<@(skia_for_android_framework_defines)', |
| 425 ], | 425 ], |
| 426 }], | 426 }], |
| 427 | 427 |
| 428 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', | 428 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', |
| 429 { | 429 { |
| 430 'defines': [ | 430 'defines': [ |
| 431 'SK_SAMPLES_FOR_X', | 431 'SK_SAMPLES_FOR_X', |
| 432 'SK_BUILD_FOR_UNIX', | 432 'SK_BUILD_FOR_UNIX', |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d | 665 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d |
| 666 ], | 666 ], |
| 667 }], | 667 }], |
| 668 | 668 |
| 669 ], # end 'conditions' | 669 ], # end 'conditions' |
| 670 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 670 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 671 'xcode_settings': { | 671 'xcode_settings': { |
| 672 'SYMROOT': '<(DEPTH)/xcodebuild', | 672 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 673 }, | 673 }, |
| 674 } | 674 } |
| OLD | NEW |