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 != "ios"', { | 19 [ 'OS != "ios"', { |
20 'sources/': [ | 20 'sources/': [ |
21 ['exclude', '_ios\\.(cc|cpp|mm?)$'], | 21 ['exclude', '_ios\\.(cc|cpp|mm?)$'], |
22 ], | 22 ], |
23 }], | 23 }], |
24 [ 'OS == "ios"', { | 24 [ 'OS == "ios"', { |
25 'defines': [ | 25 'defines': [ |
26 'SK_BUILD_FOR_IOS', | 26 'SK_BUILD_FOR_IOS', |
27 ], | 27 ], |
28 }], | 28 }], |
| 29 [ 'OS == "win"', { |
| 30 'defines': [ |
| 31 'SK_BUILD_FOR_WIN32', |
| 32 ], |
| 33 }], |
29 [ 'OS != "mac"', { | 34 [ 'OS != "mac"', { |
30 'sources/': [ | 35 'sources/': [ |
31 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 36 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
32 ], | 37 ], |
33 }], | 38 }], |
34 [ 'OS == "mac"', { | 39 [ 'OS == "mac"', { |
35 'defines': [ | 40 'defines': [ |
36 'SK_BUILD_FOR_MAC', | 41 'SK_BUILD_FOR_MAC', |
37 ], | 42 ], |
38 }], | 43 }], |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 # re-export if they include Skia headers in their public headers. | 153 # re-export if they include Skia headers in their public headers. |
149 'all_dependent_settings': { | 154 'all_dependent_settings': { |
150 'include_dirs': [ | 155 'include_dirs': [ |
151 '..', | 156 '..', |
152 'config', | 157 'config', |
153 ], | 158 ], |
154 }, | 159 }, |
155 | 160 |
156 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], | 161 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
157 } | 162 } |
OLD | NEW |