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', |
11 ], | 11 ], |
12 | 12 |
13 'conditions': [ | 13 'conditions': [ |
14 [ 'OS != "android"', { | 14 [ 'OS != "android"', { |
15 'sources/': [ | 15 'sources/': [ |
16 ['exclude', '_android\\.(cc|cpp)$'], | 16 ['exclude', '_android\\.(cc|cpp)$'], |
17 ], | 17 ], |
18 }], | 18 }], |
| 19 [ 'OS == "android"', { |
| 20 'defines': [ |
| 21 'SK_FONTHOST_DOES_NOT_USE_FONTMGR', |
| 22 ], |
| 23 }], |
19 [ 'OS != "ios"', { | 24 [ 'OS != "ios"', { |
20 'sources/': [ | 25 'sources/': [ |
21 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 26 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
22 ], | 27 ], |
23 }], | 28 }], |
24 [ 'OS != "mac"', { | 29 [ 'OS != "mac"', { |
25 'sources/': [ | 30 'sources/': [ |
26 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 31 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
27 ], | 32 ], |
28 }], | 33 }], |
29 [ 'OS != "win"', { | 34 [ 'OS != "win"', { |
30 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 35 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
31 }], | 36 }], |
32 [ 'desktop_linux == 0 and chromeos == 0', { | 37 [ 'desktop_linux == 0 and chromeos == 0', { |
33 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 38 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
34 }], | 39 }], |
35 ], | 40 ], |
36 | 41 |
37 'direct_dependent_settings': { | 42 'direct_dependent_settings': { |
38 'include_dirs': [ | 43 'include_dirs': [ |
39 '..', | 44 '..', |
40 'config', | 45 'config', |
41 ], | 46 ], |
42 }, | 47 }, |
43 | 48 |
44 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 49 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
45 } | 50 } |
OLD | NEW |