| 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 'include_dirs': [ | 8 'include_dirs': [ |
| 9 '..', | 9 '..', |
| 10 'config', | 10 'config', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 'sources/': [ | 30 'sources/': [ |
| 31 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 31 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 32 ], | 32 ], |
| 33 }], | 33 }], |
| 34 [ 'OS != "win"', { | 34 [ 'OS != "win"', { |
| 35 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 35 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
| 36 }], | 36 }], |
| 37 [ 'desktop_linux == 0 and chromeos == 0', { | 37 [ 'desktop_linux == 0 and chromeos == 0', { |
| 38 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 38 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
| 39 }], | 39 }], |
| 40 [ 'use_cairo == 0', { |
| 41 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ], |
| 42 }], |
| 40 ], | 43 ], |
| 41 | 44 |
| 42 # We would prefer this to be direct_dependent_settings, | 45 # We would prefer this to be direct_dependent_settings, |
| 43 # however we currently have no means to enforce that direct dependents | 46 # however we currently have no means to enforce that direct dependents |
| 44 # re-export if they include Skia headers in their public headers. | 47 # re-export if they include Skia headers in their public headers. |
| 45 'all_dependent_settings': { | 48 'all_dependent_settings': { |
| 46 'include_dirs': [ | 49 'include_dirs': [ |
| 47 '..', | 50 '..', |
| 48 'config', | 51 'config', |
| 49 ], | 52 ], |
| 50 }, | 53 }, |
| 51 | 54 |
| 52 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 55 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 53 } | 56 } |
| OLD | NEW |