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

Side by Side Diff: webrtc/BUILD.gn

Issue 1999113002: New rtc dump analyzing tool in Python (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changed default to py-3 Created 4 years, 6 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
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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 deps += [ ":rtc_event_log_proto" ] 346 deps += [ ":rtc_event_log_proto" ]
347 } 347 }
348 if (is_clang && !is_nacl) { 348 if (is_clang && !is_nacl) {
349 # Suppress warnings from Chrome's Clang plugins. 349 # Suppress warnings from Chrome's Clang plugins.
350 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 350 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
351 configs -= [ "//build/config/clang:find_bad_constructs" ] 351 configs -= [ "//build/config/clang:find_bad_constructs" ]
352 } 352 }
353 } 353 }
354 354
355 if (rtc_enable_protobuf) { 355 if (rtc_enable_protobuf) {
356 group("rtp_analyzer") {
kjellander_webrtc 2016/06/13 12:33:31 I don't think we should expose more targets to Chr
357 deps = [
358 ":rtc_event_log_proto",
359 ":rtp_analyzer-copy",
360 ]
361 }
362
363 copy("rtp_analyzer-copy") {
364 sources = [
365 "//tools/py_event_log_analyzer/copy_files.py",
kjellander_webrtc 2016/06/13 12:33:31 Since WebRTC's GN configuration needs to work both
aleloi 2016/06/14 08:20:49 But then the path is wrong. The tool is in src/too
aleloi 2016/06/14 08:29:35 I tried to follow the instructions to add trybots.
366 "//tools/py_event_log_analyzer/misc.py",
367 "//tools/py_event_log_analyzer/pb_parse.py",
368 "//tools/py_event_log_analyzer/rtp_analyzer.py",
369 "//tools/py_event_log_analyzer/rtp_analyzer.sh",
370 ]
371 outputs = [
372 "$root_build_dir/{{source_file_part}}",
373 ]
374 }
375
356 source_set("rtc_event_log_parser") { 376 source_set("rtc_event_log_parser") {
357 sources = [ 377 sources = [
358 "call/rtc_event_log_parser.cc", 378 "call/rtc_event_log_parser.cc",
359 "call/rtc_event_log_parser.h", 379 "call/rtc_event_log_parser.h",
360 ] 380 ]
361 381
362 configs += [ ":common_config" ] 382 configs += [ ":common_config" ]
363 public_configs = [ ":common_inherited_config" ] 383 public_configs = [ ":common_inherited_config" ]
364 384
365 deps = [ 385 deps = [
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 # TODO(tkchin): Cleanup this warning. 614 # TODO(tkchin): Cleanup this warning.
595 cflags = [ "-Wno-objc-property-no-attribute" ] 615 cflags = [ "-Wno-objc-property-no-attribute" ]
596 616
597 # |-ObjC| flag needed to make sure category method implementations 617 # |-ObjC| flag needed to make sure category method implementations
598 # are included: 618 # are included:
599 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 619 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
600 ldflags = [ "-ObjC" ] 620 ldflags = [ "-ObjC" ]
601 } 621 }
602 } 622 }
603 } 623 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698