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