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 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines | 9 # skia_for_chromium_defines.gypi defines skia_for_chromium_defines |
10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', | 10 '../third_party/skia/gyp/skia_for_chromium_defines.gypi', |
11 ], | 11 ], |
12 | 12 |
13 'include_dirs': [ | 13 'include_dirs': [ |
14 '..', | 14 '..', |
15 'config', | 15 'config', |
16 ], | 16 ], |
17 | 17 |
18 'conditions': [ | 18 'conditions': [ |
19 [ 'OS != "android"', { | 19 [ 'OS != "android"', { |
20 'sources/': [ | 20 'sources/': [ |
21 ['exclude', '_android\\.(cc|cpp)$'], | 21 ['exclude', '_android\\.(cc|cpp)$'], |
22 ], | 22 ], |
23 }], | 23 }], |
24 [ 'OS == "android"', { | |
25 'defines': [ | |
26 'SK_FONTHOST_DOES_NOT_USE_FONTMGR', | |
27 ], | |
28 }], | |
29 [ 'OS != "ios"', { | 24 [ 'OS != "ios"', { |
30 'sources/': [ | 25 'sources/': [ |
31 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 26 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
32 ], | 27 ], |
33 }], | 28 }], |
34 [ 'OS == "ios"', { | 29 [ 'OS == "ios"', { |
35 'defines': [ | 30 'defines': [ |
36 'SK_BUILD_FOR_IOS', | 31 'SK_BUILD_FOR_IOS', |
37 ], | 32 ], |
38 }], | 33 }], |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 # re-export if they include Skia headers in their public headers. | 210 # re-export if they include Skia headers in their public headers. |
216 'all_dependent_settings': { | 211 'all_dependent_settings': { |
217 'include_dirs': [ | 212 'include_dirs': [ |
218 '..', | 213 '..', |
219 'config', | 214 'config', |
220 ], | 215 ], |
221 }, | 216 }, |
222 | 217 |
223 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 218 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
224 } | 219 } |
OLD | NEW |