| 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 }], | |
| 23 ], | 17 ], |
| 24 | 18 |
| 25 'optimize': 'max', | 19 'optimize': 'max', |
| 26 | 20 |
| 27 # These two set the paths so we can include skia/gyp/core.gypi | 21 # These two set the paths so we can include skia/gyp/core.gypi |
| 28 'skia_src_path': '../third_party/skia/src', | 22 'skia_src_path': '../third_party/skia/src', |
| 29 'skia_include_path': '../third_party/skia/include', | 23 'skia_include_path': '../third_party/skia/include', |
| 30 }, | 24 }, |
| 31 | 25 |
| 32 'includes': [ | 26 'includes': [ |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 ], | 321 ], |
| 328 'defines': [ | 322 'defines': [ |
| 329 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', | 323 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', |
| 330 ], | 324 ], |
| 331 }], | 325 }], |
| 332 [ 'OS != "ios"', { | 326 [ 'OS != "ios"', { |
| 333 'sources/': [ | 327 'sources/': [ |
| 334 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 328 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
| 335 ], | 329 ], |
| 336 'dependencies': [ | 330 'dependencies': [ |
| 337 '<(webkit_src_dir)/Source/WebKit/chromium/skia_webkit.gyp:skia_webki
t', | 331 '<(DEPTH)/third_party/WebKit/Source/WebKit/chromium/skia_webkit.gyp:
skia_webkit', |
| 338 ], | 332 ], |
| 339 }], | 333 }], |
| 340 [ 'OS != "mac"', { | 334 [ 'OS != "mac"', { |
| 341 'sources/': [ | 335 'sources/': [ |
| 342 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 336 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 343 ['exclude', '/mac/'] | 337 ['exclude', '/mac/'] |
| 344 ], | 338 ], |
| 345 }], | 339 }], |
| 346 [ 'OS != "win"', { | 340 [ 'OS != "win"', { |
| 347 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 341 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 'sources': [ | 825 'sources': [ |
| 832 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', | 826 '../third_party/skia/src/opts/SkBitmapProcState_opts_none.cpp', |
| 833 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', | 827 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', |
| 834 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', | 828 '../third_party/skia/src/opts/SkUtils_opts_none.cpp', |
| 835 ], | 829 ], |
| 836 }, | 830 }, |
| 837 ], | 831 ], |
| 838 }], | 832 }], |
| 839 ], | 833 ], |
| 840 } | 834 } |
| OLD | NEW |