| 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 # This gypi file handles the removal of platform-specific files from the | 5 # This gypi file handles the removal of platform-specific files from the |
| 6 # Skia build. | 6 # Skia build. |
| 7 { | 7 { |
| 8 'includes': [ | 8 'includes': [ |
| 9 # blink_skia_config.gypi defines blink_skia_defines | 9 # blink_skia_config.gypi defines blink_skia_defines |
| 10 '../third_party/WebKit/public/blink_skia_config.gypi', | 10 '../third_party/WebKit/public/blink_skia_config.gypi', |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 ], | 127 ], |
| 128 | 128 |
| 129 'variables': { | 129 'variables': { |
| 130 'variables': { | 130 'variables': { |
| 131 'conditions': [ | 131 'conditions': [ |
| 132 ['OS== "ios"', { | 132 ['OS== "ios"', { |
| 133 'skia_support_gpu': 0, | 133 'skia_support_gpu': 0, |
| 134 }, { | 134 }, { |
| 135 'skia_support_gpu': 1, | 135 'skia_support_gpu': 1, |
| 136 }], | 136 }], |
| 137 ['OS=="ios" or enable_printing == 0', { | 137 ['OS=="ios" or (enable_basic_printing==0 and enable_print_preview==0)',
{ |
| 138 'skia_support_pdf': 0, | 138 'skia_support_pdf': 0, |
| 139 }, { | 139 }, { |
| 140 'skia_support_pdf': 1, | 140 'skia_support_pdf': 1, |
| 141 }], | 141 }], |
| 142 ], | 142 ], |
| 143 }, | 143 }, |
| 144 'skia_support_gpu': '<(skia_support_gpu)', | 144 'skia_support_gpu': '<(skia_support_gpu)', |
| 145 'skia_support_pdf': '<(skia_support_pdf)', | 145 'skia_support_pdf': '<(skia_support_pdf)', |
| 146 | 146 |
| 147 # These two set the paths so we can include skia/gyp/core.gypi | 147 # These two set the paths so we can include skia/gyp/core.gypi |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 # re-export if they include Skia headers in their public headers. | 219 # re-export if they include Skia headers in their public headers. |
| 220 'all_dependent_settings': { | 220 'all_dependent_settings': { |
| 221 'include_dirs': [ | 221 'include_dirs': [ |
| 222 '..', | 222 '..', |
| 223 'config', | 223 'config', |
| 224 ], | 224 ], |
| 225 }, | 225 }, |
| 226 | 226 |
| 227 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 227 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 228 } | 228 } |
| OLD | NEW |