diff options
Diffstat (limited to 'o3d/statsreport/statsreport.gyp')
-rw-r--r-- | o3d/statsreport/statsreport.gyp | 53 |
1 files changed, 29 insertions, 24 deletions
diff --git a/o3d/statsreport/statsreport.gyp b/o3d/statsreport/statsreport.gyp index 2b045d6..99b97e6 100644 --- a/o3d/statsreport/statsreport.gyp +++ b/o3d/statsreport/statsreport.gyp @@ -84,33 +84,38 @@ }, { 'target_name': 'o3dStatsReportTest', - 'type': 'static_library', - 'sources': [ - 'aggregator-win32_unittest.cc', - 'aggregator-win32_unittest.h', - 'aggregator_unittest.cc', - 'aggregator_unittest.h', - 'common/highres_timer_unittest.cc', - 'formatter_unittest.cc', - 'metrics_unittest.cc', - 'persistent_iterator-win32_unittest.cc', + 'type': 'none', + 'dependencies': [ + 'o3dStatsReport', ], - 'conditions': [ - ['OS != "win"', - { - 'sources/': [ - ['exclude', '(-win32)_unittest\.(cc|h)$'], - ], - }, + 'direct_dependent_settings': { + 'sources': [ + 'aggregator-win32_unittest.cc', + 'aggregator-win32_unittest.h', + 'aggregator_unittest.cc', + 'aggregator_unittest.h', + 'common/highres_timer_unittest.cc', + 'formatter_unittest.cc', + 'metrics_unittest.cc', + 'persistent_iterator-win32_unittest.cc', ], - ['OS != "mac"', - { - 'sources/': [ - ['exclude', '(-mac)_unittest\.(cc|mm|h)$'], - ], - }, + 'conditions': [ + ['OS != "win"', + { + 'sources/': [ + ['exclude', '(-win32)_unittest\.(cc|h)$'], + ], + }, + ], + ['OS != "mac"', + { + 'sources/': [ + ['exclude', '(-mac)_unittest\.(cc|mm|h)$'], + ], + }, + ], ], - ], + }, }, ], }, |