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

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

Issue 2273473002: Extract library from the RTCEventLog visualizer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed GN build Created 4 years, 3 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
« webrtc/tools/BUILD.gn ('K') | « webrtc/tools/BUILD.gn ('k') | no next file » | 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) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 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 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 'dependencies': [ 92 'dependencies': [
93 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine', 93 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine',
94 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa ult', 94 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa ult',
95 ], 95 ],
96 'sources': [ 96 'sources': [
97 'force_mic_volume_max/force_mic_volume_max.cc', 97 'force_mic_volume_max/force_mic_volume_max.cc',
98 ], 98 ],
99 }, # force_mic_volume_max 99 }, # force_mic_volume_max
100 ], 100 ],
101 'conditions': [ 101 'conditions': [
102 ['enable_protobuf==1', {
103 'targets': [
104 {
105 # RTC event log visualization library
106 'target_name': 'event_log_visualizer_utils',
107 'type': 'static_library',
108 'dependencies': [
109 '<(webrtc_root)/webrtc.gyp:rtc_event_log',
110 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
111 '<(webrtc_root)/modules/modules.gyp:congestion_controller',
112 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
113 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' ,
114 ],
115 'sources': [
116 'event_log_visualizer/analyzer.cc',
117 'event_log_visualizer/analyzer.h',
118 'event_log_visualizer/plot_base.cc',
119 'event_log_visualizer/plot_base.h',
120 'event_log_visualizer/plot_python.cc',
121 'event_log_visualizer/plot_python.h',
122 ],
123 'export_dependent_settings': [
124 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
125 ],
126 },
127 ],
128 }],
102 ['enable_protobuf==1 and include_tests==1', { 129 ['enable_protobuf==1 and include_tests==1', {
103 # TODO(terelius): This tool requires the include_test condition to 130 # TODO(terelius): This tool requires the include_test condition to
104 # prevent build errors when gflags isn't found in downstream projects. 131 # prevent build errors when gflags isn't found in downstream projects.
105 # There should be a cleaner way to do this. The tool is not test related. 132 # There should be a cleaner way to do this. The tool is not test related.
106 'targets': [ 133 'targets': [
107 { 134 {
108 # This target should only be built if enable_protobuf is set 135 # Command line tool for RTC event log visualization
109 'target_name': 'event_log_visualizer', 136 'target_name': 'event_log_visualizer',
110 'type': 'executable', 137 'type': 'executable',
111 'dependencies': [ 138 'dependencies': [
112 '<(webrtc_root)/webrtc.gyp:rtc_event_log', 139 'event_log_visualizer_utils',
113 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser',
114 '<(webrtc_root)/modules/modules.gyp:congestion_controller',
115 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp',
116 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default' ,
117 '<(webrtc_root)/test/test.gyp:field_trial', 140 '<(webrtc_root)/test/test.gyp:field_trial',
118 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', 141 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
119 ], 142 ],
120 'sources': [ 143 'sources': [
121 'event_log_visualizer/analyzer.cc',
122 'event_log_visualizer/analyzer.h',
123 'event_log_visualizer/main.cc', 144 'event_log_visualizer/main.cc',
124 'event_log_visualizer/plot_base.cc',
125 'event_log_visualizer/plot_base.h',
126 'event_log_visualizer/plot_python.cc',
127 'event_log_visualizer/plot_python.h',
128 ], 145 ],
129 }, 146 },
130 ], 147 ],
131 }], 148 }],
132 ['include_tests==1', { 149 ['include_tests==1', {
133 'targets' : [ 150 'targets' : [
134 { 151 {
135 'target_name': 'agc_test_utils', 152 'target_name': 'agc_test_utils',
136 'type': 'static_library', 153 'type': 'static_library',
137 'sources': [ 154 'sources': [
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 'sources': [ 292 'sources': [
276 'tools_unittests.isolate', 293 'tools_unittests.isolate',
277 ], 294 ],
278 }, 295 },
279 ], 296 ],
280 }], 297 }],
281 ], 298 ],
282 }], # include_tests 299 }], # include_tests
283 ], # conditions 300 ], # conditions
284 } 301 }
OLDNEW
« webrtc/tools/BUILD.gn ('K') | « webrtc/tools/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698