2013-01-24 05:31:23 +00:00
|
|
|
# Copyright 2013 Ben Vanik. All Rights Reserved.
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'gflags',
|
2013-02-02 10:50:56 +00:00
|
|
|
'type': '<(library)',
|
2013-01-24 05:31:23 +00:00
|
|
|
|
|
|
|
'direct_dependent_settings': {
|
2013-01-30 10:02:18 +00:00
|
|
|
'conditions': [
|
|
|
|
['OS != "win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'gflags/src/',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS == "win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'gflags/src/windows/',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'GFLAGS_DLL_DECL=',
|
|
|
|
'GFLAGS_DLL_DEFINE_FLAG=',
|
2013-01-30 10:19:38 +00:00
|
|
|
'GFLAGS_DLL_DECLARE_FLAG=',
|
2013-01-30 10:02:18 +00:00
|
|
|
],
|
|
|
|
}],
|
2013-01-24 05:31:23 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
'sources': [
|
|
|
|
'gflags/src/gflags.cc',
|
|
|
|
'gflags/src/gflags_completions.cc',
|
|
|
|
'gflags/src/gflags_nc.cc',
|
|
|
|
'gflags/src/gflags_reporting.cc',
|
|
|
|
],
|
|
|
|
|
|
|
|
'conditions': [
|
2013-01-30 10:02:18 +00:00
|
|
|
['OS != "win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'gflags/src/',
|
|
|
|
],
|
|
|
|
}],
|
2013-01-24 05:31:23 +00:00
|
|
|
['OS == "win"', {
|
2013-01-30 10:02:18 +00:00
|
|
|
'include_dirs': [
|
|
|
|
'gflags/src/windows/',
|
|
|
|
'gflags/src/',
|
|
|
|
],
|
|
|
|
'sources+': [
|
2013-01-24 05:31:23 +00:00
|
|
|
'gflags/src/windows/port.cc',
|
|
|
|
],
|
2013-01-30 10:02:18 +00:00
|
|
|
'defines': [
|
2013-10-18 06:35:54 +00:00
|
|
|
'PATH_SEPARATOR=\'\\\\\'',
|
2013-01-30 10:02:18 +00:00
|
|
|
'GFLAGS_DLL_DECL=',
|
|
|
|
'GFLAGS_DLL_DEFINE_FLAG=',
|
2013-01-30 10:19:38 +00:00
|
|
|
'GFLAGS_DLL_DECLARE_FLAG=',
|
2013-01-30 10:02:18 +00:00
|
|
|
],
|
2013-01-24 05:31:23 +00:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|