2015-10-29 14:09:53 +00:00
|
|
|
# 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',
|
2015-11-04 21:41:02 +00:00
|
|
|
'type': 'static_library',
|
2015-10-29 14:09:53 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'<(base_dir)/<(skia_os)',
|
|
|
|
'<(src_dir)/include',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'<(src_dir)/include',
|
2015-11-05 19:49:35 +00:00
|
|
|
'<(src_dir)/src',
|
2015-10-29 14:09:53 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
'cflags': [
|
|
|
|
'-g',
|
|
|
|
'-w',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['skia_os == "linux"', {
|
|
|
|
'includes': [
|
|
|
|
'linux/sdl_linux.gypi',
|
|
|
|
]
|
|
|
|
}],
|
2015-11-05 19:49:35 +00:00
|
|
|
['skia_os == "android"', {
|
|
|
|
'includes': [
|
|
|
|
'android/sdl_android.gypi',
|
|
|
|
]
|
|
|
|
}],
|
2015-11-09 20:30:05 +00:00
|
|
|
['skia_os == "mac"', {
|
|
|
|
'includes': [
|
|
|
|
'mac/sdl_mac.gypi',
|
|
|
|
]
|
|
|
|
}],
|
2015-11-11 21:17:06 +00:00
|
|
|
['skia_os == "win"', {
|
|
|
|
'includes': [
|
|
|
|
'win/sdl_win.gypi',
|
|
|
|
]
|
|
|
|
}],
|
2015-10-29 14:09:53 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|