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

Side by Side Diff: webrtc/tools/BUILD.gn

Issue 1995523002: Visualization tool for WebrtcEventLogs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use include_tests==1 to avoid compiling if gflags isn't available. Created 4 years, 5 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/BUILD.gn ('k') | webrtc/tools/DEPS » ('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) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("../build/webrtc.gni") 10 import("../build/webrtc.gni")
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "agc/test_utils.cc", 164 "agc/test_utils.cc",
165 "agc/test_utils.h", 165 "agc/test_utils.h",
166 ] 166 ]
167 167
168 configs += [ "..:common_config" ] 168 configs += [ "..:common_config" ]
169 public_configs = [ "..:common_inherited_config" ] 169 public_configs = [ "..:common_inherited_config" ]
170 } 170 }
171 171
172 # Exclude tools depending on gflags since that's not available in Chromium. 172 # Exclude tools depending on gflags since that's not available in Chromium.
173 if (rtc_include_tests) { 173 if (rtc_include_tests) {
174 if (rtc_enable_protobuf) {
175 executable("event_log_visualizer") {
176 sources = [
177 "event_log_visualizer/analyzer.cc",
178 "event_log_visualizer/analyzer.h",
179 "event_log_visualizer/generate_timeseries.cc",
180 "event_log_visualizer/plot_base.h",
181 "event_log_visualizer/plot_python.cc",
182 "event_log_visualizer/plot_python.h",
183 ]
184
185 configs += [ "..:common_config" ]
186 public_configs = [ "..:common_inherited_config" ]
187
188 if (is_clang && !is_nacl) {
189 # Suppress warnings from the Chromium Clang plugin.
190 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
191 configs -= [ "//build/config/clang:find_bad_constructs" ]
192 }
193
194 defines = [ "ENABLE_RTC_EVENT_LOG" ]
195 deps = [
196 "../:rtc_event_log_parser",
197 "../modules/rtp_rtcp:rtp_rtcp",
198 "../system_wrappers:system_wrappers_default",
199 "//third_party/gflags",
200 ]
201 }
202 }
203
174 executable("agc_harness") { 204 executable("agc_harness") {
175 testonly = true 205 testonly = true
176 sources = [ 206 sources = [
177 "agc/agc_harness.cc", 207 "agc/agc_harness.cc",
178 ] 208 ]
179 209
180 configs += [ "..:common_config" ] 210 configs += [ "..:common_config" ]
181 public_configs = [ "..:common_inherited_config" ] 211 public_configs = [ "..:common_inherited_config" ]
182 212
183 if (is_clang) { 213 if (is_clang) {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 ] 320 ]
291 outputs = [ 321 outputs = [
292 "$root_build_dir/{{source_file_part}}", 322 "$root_build_dir/{{source_file_part}}",
293 ] 323 ]
294 deps = [ 324 deps = [
295 "..:rtc_event_log_proto", 325 "..:rtc_event_log_proto",
296 ] 326 ]
297 } 327 }
298 } 328 }
299 } 329 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698