| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # This gypi file handles the removal of platform-specific files from the | |
| 6 # Skia build. | |
| 7 { | |
| 8 'conditions': [ | |
| 9 [ 'OS != "android"', { | |
| 10 'sources/': [ | |
| 11 ['exclude', '_android\\.(cc|cpp)$'], | |
| 12 ], | |
| 13 }], | |
| 14 [ 'OS != "ios"', { | |
| 15 'sources/': [ | |
| 16 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | |
| 17 ], | |
| 18 }], | |
| 19 [ 'OS != "mac"', { | |
| 20 'sources/': [ | |
| 21 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | |
| 22 ], | |
| 23 }], | |
| 24 [ 'OS != "win"', { | |
| 25 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | |
| 26 }], | |
| 27 [ 'use_glib == 0', { | |
| 28 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | |
| 29 }], | |
| 30 ], | |
| 31 | |
| 32 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | |
| 33 } | |
| OLD | NEW |