skia2/third_party/libsdl/sdl.gypi
joshualitt dad57c8c48 bring up SDL on windows
BUG=skia:

patch from issue 1432353002 at patchset 1 (http://crrev.com/1432353002#ps1)

Review URL: https://codereview.chromium.org/1438003004
2015-11-11 13:17:06 -08:00

51 lines
1.0 KiB
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'sdl',
'product_name': 'sdl',
'type': 'static_library',
'include_dirs': [
'<(base_dir)/<(skia_os)',
'<(src_dir)/include',
],
'direct_dependent_settings': {
'include_dirs': [
'<(src_dir)/include',
'<(src_dir)/src',
]
},
'cflags': [
'-g',
'-w',
],
'conditions': [
['skia_os == "linux"', {
'includes': [
'linux/sdl_linux.gypi',
]
}],
['skia_os == "android"', {
'includes': [
'android/sdl_android.gypi',
]
}],
['skia_os == "mac"', {
'includes': [
'mac/sdl_mac.gypi',
]
}],
['skia_os == "win"', {
'includes': [
'win/sdl_win.gypi',
]
}],
],
},
],
}