| 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 all the Chrome-specific enhancements to Skia. | 6 # This gypi file contains all the Chrome-specific enhancements to Skia. |
| 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 Skia files but in all other cases it is a separate library. | 8 # the Skia files but in all other cases it is a separate library. |
| 9 { | 9 { |
| 10 'dependencies': [ | 10 'dependencies': [ |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 'conditions': [ | 82 'conditions': [ |
| 83 # For POSIX platforms, prefer the Mutex implementation provided by Skia | 83 # For POSIX platforms, prefer the Mutex implementation provided by Skia |
| 84 # since it does not generate static initializers. | 84 # since it does not generate static initializers. |
| 85 # TODO: should check if SK_USE_POSIX_THREADS is defined instead | 85 # TODO: should check if SK_USE_POSIX_THREADS is defined instead |
| 86 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { | 86 [ 'OS == "android" or OS == "linux" or OS == "mac" or OS == "ios"', { |
| 87 'sources!': [ | 87 'sources!': [ |
| 88 'ext/SkThread_chrome.cc', | 88 'ext/SkThread_chrome.cc', |
| 89 ], | 89 ], |
| 90 }], | 90 }], |
| 91 [ 'OS == "android"', { | 91 [ 'OS == "android" and enable_printing == 0', { |
| 92 'sources!': [ | 92 'sources!': [ |
| 93 'ext/vector_platform_device_skia.cc', | 93 'ext/vector_platform_device_skia.cc', |
| 94 ], | 94 ], |
| 95 }], | 95 }], |
| 96 ['OS == "ios"', { | 96 ['OS == "ios"', { |
| 97 'sources/': [ | 97 'sources/': [ |
| 98 ['exclude', '^ext/vector_platform_device_skia\\.'], | 98 ['exclude', '^ext/vector_platform_device_skia\\.'], |
| 99 ], | 99 ], |
| 100 'dependencies!': [ | 100 'dependencies!': [ |
| 101 'skia_chrome_opts', | 101 'skia_chrome_opts', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 123 'target_conditions': [ | 123 'target_conditions': [ |
| 124 # Pull in specific linux files for android (which have been filtered out | 124 # Pull in specific linux files for android (which have been filtered out |
| 125 # by file name rules). | 125 # by file name rules). |
| 126 [ 'OS == "android"', { | 126 [ 'OS == "android"', { |
| 127 'sources/': [ | 127 'sources/': [ |
| 128 ['include', 'ext/platform_device_linux\\.cc$'], | 128 ['include', 'ext/platform_device_linux\\.cc$'], |
| 129 ], | 129 ], |
| 130 }], | 130 }], |
| 131 ], | 131 ], |
| 132 } | 132 } |
| OLD | NEW |