| 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 26 matching lines...) Expand all Loading... |
| 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 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | 44 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', |
| 45 'SK_SUPPORT_LEGACY_COLORTYPE=1', | 45 'SK_SUPPORT_LEGACY_COLORTYPE=1', |
| 46 'GR_GL_IGNORE_ES3_MSAA=0', | 46 'GR_GL_IGNORE_ES3_MSAA=0', |
| 47 'SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1' | 47 'SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR=1', |
| 48 'SK_SUPPORT_DEPRECATED_SCALARROUND=1' |
| 48 ], | 49 ], |
| 49 | 50 |
| 50 'default_font_cache_limit%': '(20*1024*1024)', | 51 'default_font_cache_limit%': '(20*1024*1024)', |
| 51 | 52 |
| 52 'conditions': [ | 53 'conditions': [ |
| 53 ['OS== "android"', { | 54 ['OS== "android"', { |
| 54 # Android devices are typically more memory constrained, so | 55 # Android devices are typically more memory constrained, so |
| 55 # default to a smaller glyph cache (it may be overriden at runtime | 56 # default to a smaller glyph cache (it may be overriden at runtime |
| 56 # when the renderer starts up, depending on the actual device memory). | 57 # when the renderer starts up, depending on the actual device memory). |
| 57 'default_font_cache_limit': '(1*1024*1024)', | 58 'default_font_cache_limit': '(1*1024*1024)', |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 '../third_party/skia/include/pathops', | 468 '../third_party/skia/include/pathops', |
| 468 '../third_party/skia/include/pipe', | 469 '../third_party/skia/include/pipe', |
| 469 '../third_party/skia/include/ports', | 470 '../third_party/skia/include/ports', |
| 470 '../third_party/skia/include/utils', | 471 '../third_party/skia/include/utils', |
| 471 ], | 472 ], |
| 472 'defines': [ | 473 'defines': [ |
| 473 '<@(skia_export_defines)', | 474 '<@(skia_export_defines)', |
| 474 ], | 475 ], |
| 475 }, | 476 }, |
| 476 } | 477 } |
| OLD | NEW |