| 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': [ |
| 11 'skia_library_opts.gyp:skia_opts', | 11 'skia_library_opts.gyp:skia_opts', |
| 12 '../third_party/zlib/zlib.gyp:zlib', | 12 '../third_party/zlib/zlib.gyp:zlib', |
| 13 ], | 13 ], |
| 14 | 14 |
| 15 'variables': { | 15 'variables': { |
| 16 'variables': { | 16 'variables': { |
| 17 'conditions': [ | 17 'conditions': [ |
| 18 ['OS== "ios"', { | 18 ['OS== "ios"', { |
| 19 'skia_support_gpu': 0, | 19 'skia_support_gpu': 0, |
| 20 }, { | 20 }, { |
| 21 'skia_support_gpu': 1, | 21 'skia_support_gpu': 1, |
| 22 }], | 22 }], |
| 23 ['OS=="ios" or OS=="android"', { | 23 ['OS=="ios" or enable_printing == 0', { |
| 24 'skia_support_pdf': 0, | 24 'skia_support_pdf': 0, |
| 25 }, { | 25 }, { |
| 26 'skia_support_pdf': 1, | 26 'skia_support_pdf': 1, |
| 27 }], | 27 }], |
| 28 ], | 28 ], |
| 29 }, | 29 }, |
| 30 'skia_support_gpu': '<(skia_support_gpu)', | 30 'skia_support_gpu': '<(skia_support_gpu)', |
| 31 'skia_support_pdf': '<(skia_support_pdf)', | 31 'skia_support_pdf': '<(skia_support_pdf)', |
| 32 | 32 |
| 33 # These two set the paths so we can include skia/gyp/core.gypi | 33 # These two set the paths so we can include skia/gyp/core.gypi |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 '../third_party/skia/include/pathops', | 463 '../third_party/skia/include/pathops', |
| 464 '../third_party/skia/include/pipe', | 464 '../third_party/skia/include/pipe', |
| 465 '../third_party/skia/include/ports', | 465 '../third_party/skia/include/ports', |
| 466 '../third_party/skia/include/utils', | 466 '../third_party/skia/include/utils', |
| 467 ], | 467 ], |
| 468 'defines': [ | 468 'defines': [ |
| 469 '<@(skia_export_defines)', | 469 '<@(skia_export_defines)', |
| 470 ], | 470 ], |
| 471 }, | 471 }, |
| 472 } | 472 } |
| OLD | NEW |