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.
5 # This gypi file handles the removal of platform-specific files from the
14 [ 'OS != "android"', {
16 ['exclude', '_android\\.(cc|cpp)$'],
19 [ 'OS == "android"', {
21 'SK_FONTHOST_DOES_NOT_USE_FONTMGR',
26 ['exclude', '_ios\\.(cc|cpp|mm?)$'],
31 ['exclude', '_mac\\.(cc|cpp|mm?)$'],
35 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
37 [ 'desktop_linux == 0 and chromeos == 0', {
38 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
41 'sources/': [ ['exclude', '_cairo\\.(cc|cpp)$'] ],
45 # We would prefer this to be direct_dependent_settings,
46 # however we currently have no means to enforce that direct dependents
47 # re-export if they include Skia headers in their public headers.
48 'all_dependent_settings': {
55 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],