| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # This gypi file contains the Skia library. | 6 # This gypi file contains the Skia library. |
| 7 # In component mode (shared_lib) it is folded into a single shared library with | 7 # In component mode (shared_lib) it is folded into a single shared library with |
| 8 # the Chrome-specific enhancements but in all other cases it is a separate lib. | 8 # the Chrome-specific enhancements but in all other cases it is a separate lib. |
| 9 { | 9 { |
| 10 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 # This list will contain all defines that also need to be exported to | 37 # This list will contain all defines that also need to be exported to |
| 38 # dependent components. | 38 # dependent components. |
| 39 'skia_export_defines': [ | 39 'skia_export_defines': [ |
| 40 'SK_ENABLE_INST_COUNT=0', | 40 'SK_ENABLE_INST_COUNT=0', |
| 41 'SK_SUPPORT_GPU=<(skia_support_gpu)', | 41 'SK_SUPPORT_GPU=<(skia_support_gpu)', |
| 42 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 42 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 43 'SK_ENABLE_LEGACY_API_ALIASING=1', | 43 'SK_ENABLE_LEGACY_API_ALIASING=1', |
| 44 ], | 44 ], |
| 45 | 45 |
| 46 'default_font_cache_limit': '(20*1024*1024)', | 46 'default_font_cache_limit%': '(20*1024*1024)', |
| 47 | 47 |
| 48 'conditions': [ | 48 'conditions': [ |
| 49 ['OS== "android"', { | 49 ['OS== "android"', { |
| 50 # Android devices are typically more memory constrained, so | 50 # Android devices are typically more memory constrained, so |
| 51 # default to a smaller glyph cache (it may be overriden at runtime | 51 # default to a smaller glyph cache (it may be overriden at runtime |
| 52 # when the renderer starts up, depending on the actual device memory). | 52 # when the renderer starts up, depending on the actual device memory). |
| 53 'default_font_cache_limit': '(1*1024*1024)', | 53 'default_font_cache_limit': '(1*1024*1024)', |
| 54 'skia_export_defines': [ | 54 'skia_export_defines': [ |
| 55 'SK_BUILD_FOR_ANDROID', | 55 'SK_BUILD_FOR_ANDROID', |
| 56 ], | 56 ], |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 '../third_party/skia/include/pathops', | 449 '../third_party/skia/include/pathops', |
| 450 '../third_party/skia/include/pipe', | 450 '../third_party/skia/include/pipe', |
| 451 '../third_party/skia/include/ports', | 451 '../third_party/skia/include/ports', |
| 452 '../third_party/skia/include/utils', | 452 '../third_party/skia/include/utils', |
| 453 ], | 453 ], |
| 454 'defines': [ | 454 'defines': [ |
| 455 '<@(skia_export_defines)', | 455 '<@(skia_export_defines)', |
| 456 ], | 456 ], |
| 457 }, | 457 }, |
| 458 } | 458 } |
| OLD | NEW |