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': [
|
|
|
|
{
|
|
|
|
'target_name': 'xeniacore',
|
|
|
|
'product_name': 'xeniacore',
|
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',
|
|
|
|
'./third_party/openssl/openssl.gyp:openssl',
|
2013-01-24 05:31:23 +00:00
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'gflags',
|
2013-02-02 10:50:56 +00:00
|
|
|
'wslay',
|
2013-01-24 05:31:23 +00:00
|
|
|
],
|
|
|
|
|
2013-01-11 09:23:08 +00:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'include/',
|
|
|
|
],
|
2013-01-13 07:25:41 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/xenia/sources.gypi',
|
|
|
|
'src/core/sources.gypi',
|
2013-02-01 13:37:42 +00:00
|
|
|
'src/dbg/sources.gypi',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniakernel',
|
|
|
|
'product_name': 'xeniakernel',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-13 07:25:41 +00:00
|
|
|
|
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/kernel/sources.gypi',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniacpu',
|
|
|
|
'product_name': 'xeniacpu',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-11 09:54:48 +00:00
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'direct_dependent_settings': {
|
2013-01-28 06:14:24 +00:00
|
|
|
'include_dirs': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<@(llvm_includedir)',
|
2013-01-28 06:14:24 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'target_conditions': [
|
|
|
|
['_type=="shared_library"', {
|
|
|
|
'cflags': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_cxxflags)',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['_type=="executable"', {
|
2013-01-30 19:03:19 +00:00
|
|
|
'conditions': [
|
|
|
|
['OS != "mac"', {
|
|
|
|
'libraries': [
|
|
|
|
'<@(llvm_libs)',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS == "mac"', {
|
|
|
|
'xcode_settings': {
|
|
|
|
'OTHER_LDFLAGS': [
|
|
|
|
'<!@(<(llvm_config) --libs all)',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2013-01-11 09:23:08 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'cflags': [
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_cxxflags)',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
2013-01-13 07:25:41 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
'src/',
|
2013-01-30 10:19:38 +00:00
|
|
|
'<(llvm_includedir)',
|
2013-01-13 07:25:41 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
|
|
|
'src/cpu/sources.gypi',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'xeniagpu',
|
|
|
|
'product_name': 'xeniagpu',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-13 07:25:41 +00:00
|
|
|
|
|
|
|
'dependencies': [
|
|
|
|
'xeniacore',
|
|
|
|
],
|
|
|
|
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'xeniacore',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
2013-01-13 07:25:41 +00:00
|
|
|
'src/',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
'includes': [
|
2013-01-13 07:25:41 +00:00
|
|
|
'src/gpu/sources.gypi',
|
2013-01-11 09:23:08 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|