Chromium Code Reviews| Index: skia/skia_common.gypi |
| =================================================================== |
| --- skia/skia_common.gypi (revision 225491) |
| +++ skia/skia_common.gypi (working copy) |
| @@ -5,6 +5,11 @@ |
| # This gypi file handles the removal of platform-specific files from the |
| # Skia build. |
| { |
| + 'include_dirs': [ |
| + '..', |
| + 'config', |
| + ], |
| + |
| 'conditions': [ |
| [ 'OS != "android"', { |
| 'sources/': [ |
| @@ -29,5 +34,40 @@ |
| }], |
| ], |
| + 'variables': { |
| + 'variables': { 'conditions': [ |
| + [ 'OS == "win"', { |
| + 'skia_atomics_impl': 'win', |
| + 'skia_mutex_impl': 'win', |
| + }, { 'conditions': [ |
| + [ 'OS == "android" and use_system_skia == 1', { |
| + 'skia_atomics_impl': 'android', |
| + 'skia_mutex_impl': 'pthread', |
| + }, { |
| + 'skia_atomics_impl': 'sync', |
| + 'skia_mutex_impl': 'pthread', |
| + }], |
| + ]}], |
| + ]}, |
| + 'skia_threading_defines': [ |
| + 'SK_ATOMICS_PLATFORM_H="third_party/skia/src/ports/SkAtomics_<(skia_atomics_impl).h"', |
| + 'SK_MUTEX_PLATFORM_H="third_party/skia/src/ports/SkMutex_<(skia_mutex_impl).h"', |
| + ], |
| + }, |
| + |
| + 'defines': [ |
| + '<@(skia_threading_defines)', |
| + ], |
| + |
| + 'direct_dependent_settings': { |
| + 'include_dirs': [ |
| + '..', |
| + 'config', |
| + ], |
| + 'defines': [ |
| + '<@(skia_threading_defines)', |
|
djsollen
2013/09/27 18:17:10
should this be in an all_dependent_settings block
bungeman-skia
2013/09/27 18:39:43
Good question with a complex answer. So, as a poli
|
| + ], |
| + }, |
| + |
| 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4748, 4800], |
| } |