- add sources.
[platform/framework/web/crosswalk.git] / src / skia / skia_common.gypi
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
3 # found in the LICENSE file.
4
5 # This gypi file handles the removal of platform-specific files from the
6 # Skia build.
7 {
8   'include_dirs': [
9     '..',
10     'config',
11   ],
12
13   'conditions': [
14     [ 'OS != "android"', {
15       'sources/': [
16          ['exclude', '_android\\.(cc|cpp)$'],
17       ],
18     }],
19     [ 'OS != "ios"', {
20       'sources/': [
21          ['exclude', '_ios\\.(cc|cpp|mm?)$'],
22       ],
23     }],
24     [ 'OS != "mac"', {
25       'sources/': [
26         ['exclude', '_mac\\.(cc|cpp|mm?)$'],
27       ],
28     }],
29     [ 'OS != "win"', {
30       'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
31     }],
32     [ 'use_glib == 0', {
33       'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
34     }],
35   ],
36
37   'direct_dependent_settings': {
38     'include_dirs': [
39       '..',
40       'config',
41     ],
42   },
43
44   'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800],
45 }