| 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': { |
| 11 'conditions': [ | 11 'conditions': [ |
| 12 ['OS== "ios"', { | 12 ['OS== "ios"', { |
| 13 'skia_support_gpu': 0, | 13 'skia_support_gpu': 0, |
| 14 }, { | 14 }, { |
| 15 'skia_support_gpu': 1, | 15 'skia_support_gpu': 1, |
| 16 }], | 16 }], |
| 17 |
| 18 ['inside_chromium_build==0', { |
| 19 'webkit_src_dir': '<(DEPTH)/../../..', |
| 20 },{ |
| 21 'webkit_src_dir': '<(DEPTH)/third_party/WebKit', |
| 22 }], |
| 17 ], | 23 ], |
| 18 | 24 |
| 19 'optimize': 'max', | 25 'optimize': 'max', |
| 20 | 26 |
| 21 # These two set the paths so we can include skia/gyp/core.gypi | 27 # These two set the paths so we can include skia/gyp/core.gypi |
| 22 'skia_src_path': '../third_party/skia/src', | 28 'skia_src_path': '../third_party/skia/src', |
| 23 'skia_include_path': '../third_party/skia/include', | 29 'skia_include_path': '../third_party/skia/include', |
| 24 }, | 30 }, |
| 25 | 31 |
| 26 'includes': [ | 32 'includes': [ |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 'SK_BUILD_NO_IMAGE_ENCODE', | 219 'SK_BUILD_NO_IMAGE_ENCODE', |
| 214 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 220 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 215 'GR_STATIC_RECT_VB=1', | 221 'GR_STATIC_RECT_VB=1', |
| 216 'GR_AGGRESSIVE_SHADER_OPTS=1', | 222 'GR_AGGRESSIVE_SHADER_OPTS=1', |
| 217 'SK_DISABLE_FAST_AA_STROKE_RECT', | 223 'SK_DISABLE_FAST_AA_STROKE_RECT', |
| 218 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 224 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
| 219 | 225 |
| 220 # this flag can be removed entirely once this has baked for a while | 226 # this flag can be removed entirely once this has baked for a while |
| 221 'SK_ALLOW_OVER_32K_BITMAPS', | 227 'SK_ALLOW_OVER_32K_BITMAPS', |
| 222 | 228 |
| 223 # temporary for landing Skia rev 3077 with minimal layout test breakage | |
| 224 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', | |
| 225 | |
| 226 # skia uses static initializers to initialize the serialization logic | 229 # skia uses static initializers to initialize the serialization logic |
| 227 # of its "pictures" library. This is currently not used in chrome; if | 230 # of its "pictures" library. This is currently not used in chrome; if |
| 228 # it ever gets used the processes that use it need to call | 231 # it ever gets used the processes that use it need to call |
| 229 # SkGraphics::Init(). | 232 # SkGraphics::Init(). |
| 230 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', | 233 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0', |
| 231 | 234 |
| 232 # Temporarily disable the Skia fix in | |
| 233 # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that | |
| 234 # fix will require substantial rebaselining. | |
| 235 'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX', | |
| 236 | |
| 237 # Temporarily ignore fix to antialias coverage, until we can rebaseline | |
| 238 'SK_USE_LEGACY_AA_COVERAGE', | |
| 239 | |
| 240 # Temporarily keep old int-srcrect behavior, until we determine if | 235 # Temporarily keep old int-srcrect behavior, until we determine if |
| 241 # the few failures are a bug or not. | 236 # the few failures are a bug or not. |
| 242 'SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT', | 237 'SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT', |
| 243 ], | 238 ], |
| 244 'sources!': [ | 239 'sources!': [ |
| 245 '../third_party/skia/include/core/SkTypes.h', | 240 '../third_party/skia/include/core/SkTypes.h', |
| 246 ], | 241 ], |
| 247 'conditions': [ | 242 'conditions': [ |
| 248 ['skia_support_gpu != 0', { | 243 ['skia_support_gpu != 0', { |
| 249 'includes': [ | 244 'includes': [ |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 ['exclude', '_android\\.(cc|cpp)$'], | 308 ['exclude', '_android\\.(cc|cpp)$'], |
| 314 ], | 309 ], |
| 315 'defines': [ | 310 'defines': [ |
| 316 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', | 311 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', |
| 317 ], | 312 ], |
| 318 }], | 313 }], |
| 319 [ 'OS != "ios"', { | 314 [ 'OS != "ios"', { |
| 320 'sources/': [ | 315 'sources/': [ |
| 321 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 316 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
| 322 ], | 317 ], |
| 318 'dependencies': [ |
| 319 '<(webkit_src_dir)/Source/WebKit/chromium/skia_webkit.gyp:skia_webki
t', |
| 320 ], |
| 323 }], | 321 }], |
| 324 [ 'OS != "mac"', { | 322 [ 'OS != "mac"', { |
| 325 'sources/': [ | 323 'sources/': [ |
| 326 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 324 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 327 ['exclude', '/mac/'] | 325 ['exclude', '/mac/'] |
| 328 ], | 326 ], |
| 329 }], | 327 }], |
| 330 [ 'OS != "win"', { | 328 [ 'OS != "win"', { |
| 331 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 329 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
| 332 }], | 330 }], |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 'sources': [ | 831 'sources': [ |
| 834 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 832 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 835 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 833 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 836 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 834 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 837 ], | 835 ], |
| 838 }, | 836 }, |
| 839 ], | 837 ], |
| 840 }], | 838 }], |
| 841 ], | 839 ], |
| 842 } | 840 } |
| OLD | NEW |