| 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 # chromium_skia_defines.gypi defines chromium_skia_defines | 9 # chromium_skia_defines.gypi defines chromium_skia_defines |
| 10 'chromium_skia_defines.gypi', | 10 'chromium_skia_defines.gypi', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 ['exclude', '_android\\.(cc|cpp)$'], | 24 ['exclude', '_android\\.(cc|cpp)$'], |
| 25 ], | 25 ], |
| 26 }], | 26 }], |
| 27 [ 'OS != "ios"', { | 27 [ 'OS != "ios"', { |
| 28 'sources/': [ | 28 'sources/': [ |
| 29 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 29 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
| 30 ], | 30 ], |
| 31 }], | 31 }], |
| 32 [ 'OS == "ios"', { | 32 [ 'OS == "ios"', { |
| 33 'defines': [ | 33 'defines': [ |
| 34 # When targetting iOS and using gyp to generate the build files, it is |
| 35 # not possible to select files to build depending on the architecture |
| 36 # (i.e. it is not possible to use hand optimized assembly version). In |
| 37 # that configuration, disable all optimisation. |
| 34 'SK_BUILD_FOR_IOS', | 38 'SK_BUILD_FOR_IOS', |
| 39 'SK_BUILD_NO_OPTS', |
| 35 ], | 40 ], |
| 36 }], | 41 }], |
| 37 [ 'OS != "mac"', { | 42 [ 'OS != "mac"', { |
| 38 'sources/': [ | 43 'sources/': [ |
| 39 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 44 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 40 ], | 45 ], |
| 41 }], | 46 }], |
| 42 [ 'OS == "mac"', { | 47 [ 'OS == "mac"', { |
| 43 'defines': [ | 48 'defines': [ |
| 44 'SK_BUILD_FOR_MAC', | 49 'SK_BUILD_FOR_MAC', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 # re-export if they include Skia headers in their public headers. | 177 # re-export if they include Skia headers in their public headers. |
| 173 'all_dependent_settings': { | 178 'all_dependent_settings': { |
| 174 'include_dirs': [ | 179 'include_dirs': [ |
| 175 '..', | 180 '..', |
| 176 'config', | 181 'config', |
| 177 ], | 182 ], |
| 178 }, | 183 }, |
| 179 | 184 |
| 180 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 185 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| 181 } | 186 } |
| OLD | NEW |