diff options
author | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 01:46:45 +0000 |
---|---|---|
committer | gspencer@google.com <gspencer@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 01:46:45 +0000 |
commit | 746cd5788d57799fee1e327867ab9d4e9a76d6af (patch) | |
tree | dba40e195700f6f841c9c945b8fd2519128328f7 /o3d/statsreport | |
parent | 015c1e689f04a11f07401394da0bf13018218fe1 (diff) | |
download | chromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.zip chromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.tar.gz chromium_src-746cd5788d57799fee1e327867ab9d4e9a76d6af.tar.bz2 |
This adds in the GYP files needed for our GYP build,
and modifies the DEPS file extensively to match.
Review URL: http://codereview.chromium.org/131116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19091 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/statsreport')
-rw-r--r-- | o3d/statsreport/statsreport.gyp | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/o3d/statsreport/statsreport.gyp b/o3d/statsreport/statsreport.gyp new file mode 100644 index 0000000..2b045d6 --- /dev/null +++ b/o3d/statsreport/statsreport.gyp @@ -0,0 +1,119 @@ +# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + }, + 'includes': [ + '../build/common.gypi', + ], + 'target_defaults': { + 'include_dirs': [ + '..', + '../..', + '../../<(gtestdir)', + ], + }, + 'targets': [], + 'conditions': [ + ['OS!="linux"', + { + 'targets': [ + { + 'target_name': 'o3dStatsReport', + 'type': 'static_library', + 'sources': [ + 'aggregator-mac.h', + 'aggregator-mac.mm', + 'aggregator-win32.cc', + 'aggregator-win32.h', + 'aggregator.cc', + 'aggregator.h', + 'common/const_product.h', + 'common/highres_timer-linux.cc', + 'common/highres_timer-linux.h', + 'common/highres_timer-mac.cc', + 'common/highres_timer-mac.h', + 'common/highres_timer-win32.cc', + 'common/highres_timer-win32.h', + 'common/highres_timer.h', + 'const-mac.h', + 'const-mac.mm', + 'const-win32.cc', + 'const-win32.h', + 'const_server.h', + 'formatter.cc', + 'formatter.h', + 'lock.h', + 'metrics.cc', + 'metrics.h', + 'persistent_iterator-win32.cc', + 'persistent_iterator-win32.h', + 'uploader-mac.mm', + 'uploader-win32.cc', + 'uploader.h', + 'uploader_aggregation-mac.mm', + 'uploader_aggregation-win32.cc', + 'util-win32.h', + ], + 'conditions': [ + ['OS != "win"', + { + 'sources/': [ + ['exclude', '(-win32)\.(cc|h)$'], + ], + }, + ], + ['OS != "linux"', + { + 'sources/': [ + ['exclude', '(-linux)\.(cc|h)$'], + ], + }, + ], + ['OS != "mac"', + { + 'sources/': [ + ['exclude', '(-mac)\.(cc|mm|h)$'], + ], + }, + ], + ], + }, + { + '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', + ], + 'conditions': [ + ['OS != "win"', + { + 'sources/': [ + ['exclude', '(-win32)_unittest\.(cc|h)$'], + ], + }, + ], + ['OS != "mac"', + { + 'sources/': [ + ['exclude', '(-mac)_unittest\.(cc|mm|h)$'], + ], + }, + ], + ], + }, + ], + }, + ], + ], +} |