Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Side by Side Diff: webrtc/test/test.gyp

Issue 1915523002: Add a default implementation in metrics_default.cc of histograms methods in system_wrappers/interfac (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/test/histogram.cc ('k') | webrtc/test/test_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 # TODO(andrew): consider moving test_support to src/base/test. 9 # TODO(andrew): consider moving test_support to src/base/test.
10 { 10 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 'field_trial.cc', 100 'field_trial.cc',
101 'field_trial.h', 101 'field_trial.h',
102 ], 102 ],
103 'dependencies': [ 103 'dependencies': [
104 '<(webrtc_root)/common.gyp:webrtc_common', 104 '<(webrtc_root)/common.gyp:webrtc_common',
105 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_default' , 105 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_default' ,
106 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', 106 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
107 ], 107 ],
108 }, 108 },
109 { 109 {
110 'target_name': 'histogram',
111 'type': 'static_library',
112 'sources': [
113 'histogram.cc',
114 'histogram.h',
115 ],
116 'dependencies': [
117 '<(webrtc_root)/common.gyp:webrtc_common',
118 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
119 ],
120 },
121 {
122 'target_name': 'test_main', 110 'target_name': 'test_main',
123 'type': 'static_library', 111 'type': 'static_library',
124 'sources': [ 112 'sources': [
125 'test_main.cc', 113 'test_main.cc',
126 ], 114 ],
127 'dependencies': [ 115 'dependencies': [
128 'field_trial', 116 'field_trial',
129 'histogram',
130 'test_support', 117 'test_support',
131 '<(DEPTH)/testing/gtest.gyp:gtest', 118 '<(DEPTH)/testing/gtest.gyp:gtest',
132 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 119 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
120 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
133 ], 121 ],
134 }, 122 },
135 { 123 {
136 'target_name': 'test_support', 124 'target_name': 'test_support',
137 'type': 'static_library', 125 'type': 'static_library',
138 'dependencies': [ 126 'dependencies': [
139 '<(DEPTH)/testing/gtest.gyp:gtest', 127 '<(DEPTH)/testing/gtest.gyp:gtest',
140 '<(DEPTH)/testing/gmock.gyp:gmock', 128 '<(DEPTH)/testing/gmock.gyp:gmock',
141 '<(webrtc_root)/base/base.gyp:gtest_prod', 129 '<(webrtc_root)/base/base.gyp:gtest_prod',
142 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', 130 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
(...skipping 28 matching lines...) Expand all
171 }], 159 }],
172 ], 160 ],
173 }, 161 },
174 { 162 {
175 # Depend on this target when you want to have test_support but also the 163 # Depend on this target when you want to have test_support but also the
176 # main method needed for gtest to execute! 164 # main method needed for gtest to execute!
177 'target_name': 'test_support_main', 165 'target_name': 'test_support_main',
178 'type': 'static_library', 166 'type': 'static_library',
179 'dependencies': [ 167 'dependencies': [
180 'field_trial', 168 'field_trial',
181 'histogram',
182 'test_support', 169 'test_support',
183 '<(DEPTH)/testing/gmock.gyp:gmock', 170 '<(DEPTH)/testing/gmock.gyp:gmock',
184 '<(DEPTH)/testing/gtest.gyp:gtest', 171 '<(DEPTH)/testing/gtest.gyp:gtest',
185 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 172 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
173 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
186 ], 174 ],
187 'sources': [ 175 'sources': [
188 'run_all_unittests.cc', 176 'run_all_unittests.cc',
189 'test_suite.cc', 177 'test_suite.cc',
190 'test_suite.h', 178 'test_suite.h',
191 ], 179 ],
192 }, 180 },
193 { 181 {
194 # Depend on this target when you want to have test_support and a special 182 # Depend on this target when you want to have test_support and a special
195 # main for mac which will run your test on a worker thread and consume 183 # main for mac which will run your test on a worker thread and consume
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 '../build/isolate.gypi', 432 '../build/isolate.gypi',
445 ], 433 ],
446 'sources': [ 434 'sources': [
447 'test_support_unittests.isolate', 435 'test_support_unittests.isolate',
448 ], 436 ],
449 }, 437 },
450 ], 438 ],
451 }], 439 }],
452 ], 440 ],
453 } 441 }
OLDNEW
« no previous file with comments | « webrtc/test/histogram.cc ('k') | webrtc/test/test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698