2013-01-11 09:23:08 +00:00
|
|
|
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'tools/tools.gypi',
|
2013-01-24 05:31:23 +00:00
|
|
|
'third_party/gflags.gypi',
|
2013-01-28 01:49:32 +00:00
|
|
|
'third_party/sparsehash.gypi',
|
2013-02-02 10:50:56 +00:00
|
|
|
'third_party/wslay.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'targets': [
|
|
|
|
{
|
2013-02-06 10:19:50 +00:00
|
|
|
'target_name': 'xenia',
|
|
|
|
'product_name': 'xenia',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-11 09:23:08 +00:00
|
|
|
|
2013-01-24 05:31:23 +00:00
|
|
|
'dependencies': [
|
|
|
|
'gflags',
|
2013-02-02 10:50:56 +00:00
|
|
|
'wslay',
|
2013-05-19 16:23:50 +00:00
|
|
|
'third_party/libjit/libjit.gyp:libjit',
|
2013-01-24 05:31:23 +00:00
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'gflags',
|
2013-02-02 10:50:56 +00:00
|
|
|
'wslay',
|
2013-05-19 16:23:50 +00:00
|
|
|
'third_party/libjit/libjit.gyp:libjit',
|
2013-01-24 05:31:23 +00:00
|
|
|
],
|
|
|
|
|
2013-01-11 09:23:08 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2013-02-06 10:19:50 +00:00
|
|
|
'src/',
|
2013-01-28 06:14:24 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['_type=="shared_library"', {
|
|
|
|
'cflags': [
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_type=="executable"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'conditions': [
|
2013-02-07 03:57:45 +00:00
|
|
|
['OS == "win"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'libraries': [
|
2013-02-07 03:57:45 +00:00
|
|
|
'wsock32',
|
2013-01-30 19:03:19 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS == "mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-02-10 20:21:56 +00:00
|
|
|
['OS == "linux"', {
|
|
|
|
'libraries': [
|
|
|
|
'-lpthread',
|
|
|
|
'-ldl',
|
|
|
|
],
|
|
|
|
}],
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2013-01-11 09:23:08 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'cflags': [
|
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
2013-02-06 10:19:50 +00:00
|
|
|
'src/xenia/sources.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|