| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'skia', | 8 'target_name': 'skia', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'variables': { | 10 'variables': { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 ], | 211 ], |
| 212 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800]
, | 212 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800]
, |
| 213 'defines': [ | 213 'defines': [ |
| 214 #'SK_GAMMA_SRGB', | 214 #'SK_GAMMA_SRGB', |
| 215 #'SK_GAMMA_APPLY_TO_A8', | 215 #'SK_GAMMA_APPLY_TO_A8', |
| 216 'SK_BUILD_NO_IMAGE_ENCODE', | 216 'SK_BUILD_NO_IMAGE_ENCODE', |
| 217 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 217 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 218 'GR_STATIC_RECT_VB=1', | 218 'GR_STATIC_RECT_VB=1', |
| 219 'GR_AGGRESSIVE_SHADER_OPTS=1', | 219 'GR_AGGRESSIVE_SHADER_OPTS=1', |
| 220 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 220 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
| 221 'SK_ENABLE_INST_COUNT=0', |
| 221 | 222 |
| 222 # this flag can be removed entirely once this has baked for a while | 223 # this flag can be removed entirely once this has baked for a while |
| 223 'SK_ALLOW_OVER_32K_BITMAPS', | 224 'SK_ALLOW_OVER_32K_BITMAPS', |
| 224 | 225 |
| 225 # skia uses static initializers to initialize the serialization logic | 226 # skia uses static initializers to initialize the serialization logic |
| 226 # of its "pictures" library. This is currently not used in chrome; if | 227 # of its "pictures" library. This is currently not used in chrome; if |
| 227 # it ever gets used the processes that use it need to call | 228 # it ever gets used the processes that use it need to call |
| 228 # SkGraphics::Init(). | 229 # SkGraphics::Init(). |
| 229 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', | 230 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', |
| 230 ], | 231 ], |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 '../third_party/skia/include/pipe', | 554 '../third_party/skia/include/pipe', |
| 554 '../third_party/skia/include/ports', | 555 '../third_party/skia/include/ports', |
| 555 '../third_party/skia/include/utils', | 556 '../third_party/skia/include/utils', |
| 556 'ext', | 557 'ext', |
| 557 ], | 558 ], |
| 558 'defines': [ | 559 'defines': [ |
| 559 'SK_BUILD_NO_IMAGE_ENCODE', | 560 'SK_BUILD_NO_IMAGE_ENCODE', |
| 560 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 561 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
| 561 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 562 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 562 'GR_AGGRESSIVE_SHADER_OPTS=1', | 563 'GR_AGGRESSIVE_SHADER_OPTS=1', |
| 564 'SK_ENABLE_INST_COUNT=0', |
| 563 ], | 565 ], |
| 564 'conditions': [ | 566 'conditions': [ |
| 565 [ 'chromeos == 1', { | 567 [ 'chromeos == 1', { |
| 566 'defines': [ | 568 'defines': [ |
| 567 'SK_SUPPORT_HINTING_SCALE_FACTOR', | 569 'SK_SUPPORT_HINTING_SCALE_FACTOR', |
| 568 ], | 570 ], |
| 569 }], | 571 }], |
| 570 ['OS=="android"', { | 572 ['OS=="android"', { |
| 571 'dependencies!': [ | 573 'dependencies!': [ |
| 572 'skia_opts', | 574 'skia_opts', |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 'sources': [ | 829 'sources': [ |
| 828 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 830 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 829 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 831 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 830 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 832 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 831 ], | 833 ], |
| 832 }, | 834 }, |
| 833 ], | 835 ], |
| 834 }], | 836 }], |
| 835 ], | 837 ], |
| 836 } | 838 } |
| OLD | NEW |