OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'includes': [ |
| 10 '../build/common.gypi', |
| 11 ], |
| 12 'target_defaults': { |
| 13 'include_dirs': [ |
| 14 '..', |
| 15 '../..', |
| 16 '../../<(gtestdir)', |
| 17 ], |
| 18 }, |
| 19 'targets': [], |
| 20 'conditions': [ |
| 21 ['OS!="linux"', |
| 22 { |
| 23 'targets': [ |
| 24 { |
| 25 'target_name': 'o3dStatsReport', |
| 26 'type': 'static_library', |
| 27 'sources': [ |
| 28 'aggregator-mac.h', |
| 29 'aggregator-mac.mm', |
| 30 'aggregator-win32.cc', |
| 31 'aggregator-win32.h', |
| 32 'aggregator.cc', |
| 33 'aggregator.h', |
| 34 'common/const_product.h', |
| 35 'common/highres_timer-linux.cc', |
| 36 'common/highres_timer-linux.h', |
| 37 'common/highres_timer-mac.cc', |
| 38 'common/highres_timer-mac.h', |
| 39 'common/highres_timer-win32.cc', |
| 40 'common/highres_timer-win32.h', |
| 41 'common/highres_timer.h', |
| 42 'const-mac.h', |
| 43 'const-mac.mm', |
| 44 'const-win32.cc', |
| 45 'const-win32.h', |
| 46 'const_server.h', |
| 47 'formatter.cc', |
| 48 'formatter.h', |
| 49 'lock.h', |
| 50 'metrics.cc', |
| 51 'metrics.h', |
| 52 'persistent_iterator-win32.cc', |
| 53 'persistent_iterator-win32.h', |
| 54 'uploader-mac.mm', |
| 55 'uploader-win32.cc', |
| 56 'uploader.h', |
| 57 'uploader_aggregation-mac.mm', |
| 58 'uploader_aggregation-win32.cc', |
| 59 'util-win32.h', |
| 60 ], |
| 61 'conditions': [ |
| 62 ['OS != "win"', |
| 63 { |
| 64 'sources/': [ |
| 65 ['exclude', '(-win32)\.(cc|h)$'], |
| 66 ], |
| 67 }, |
| 68 ], |
| 69 ['OS != "linux"', |
| 70 { |
| 71 'sources/': [ |
| 72 ['exclude', '(-linux)\.(cc|h)$'], |
| 73 ], |
| 74 }, |
| 75 ], |
| 76 ['OS != "mac"', |
| 77 { |
| 78 'sources/': [ |
| 79 ['exclude', '(-mac)\.(cc|mm|h)$'], |
| 80 ], |
| 81 }, |
| 82 ], |
| 83 ], |
| 84 }, |
| 85 { |
| 86 'target_name': 'o3dStatsReportTest', |
| 87 'type': 'static_library', |
| 88 'sources': [ |
| 89 'aggregator-win32_unittest.cc', |
| 90 'aggregator-win32_unittest.h', |
| 91 'aggregator_unittest.cc', |
| 92 'aggregator_unittest.h', |
| 93 'common/highres_timer_unittest.cc', |
| 94 'formatter_unittest.cc', |
| 95 'metrics_unittest.cc', |
| 96 'persistent_iterator-win32_unittest.cc', |
| 97 ], |
| 98 'conditions': [ |
| 99 ['OS != "win"', |
| 100 { |
| 101 'sources/': [ |
| 102 ['exclude', '(-win32)_unittest\.(cc|h)$'], |
| 103 ], |
| 104 }, |
| 105 ], |
| 106 ['OS != "mac"', |
| 107 { |
| 108 'sources/': [ |
| 109 ['exclude', '(-mac)_unittest\.(cc|mm|h)$'], |
| 110 ], |
| 111 }, |
| 112 ], |
| 113 ], |
| 114 }, |
| 115 ], |
| 116 }, |
| 117 ], |
| 118 ], |
| 119 } |
OLD | NEW |