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