OLD | NEW |
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 Loading... |
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 and include_tests==1', { |
| 103 # TODO(terelius): This tool requires the include_test condition to |
| 104 # 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. |
| 106 'targets': [ |
| 107 { |
| 108 # This target should only be built if enable_protobuf is set |
| 109 'target_name': 'event_log_visualizer', |
| 110 'type': 'executable', |
| 111 'dependencies': [ |
| 112 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser', |
| 113 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
| 114 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, |
| 115 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 116 ], |
| 117 'sources': [ |
| 118 'event_log_visualizer/analyzer.cc', |
| 119 'event_log_visualizer/analyzer.h', |
| 120 'event_log_visualizer/generate_timeseries.cc', |
| 121 'event_log_visualizer/plot_base.h', |
| 122 'event_log_visualizer/plot_python.cc', |
| 123 'event_log_visualizer/plot_python.h', |
| 124 ], |
| 125 }, |
| 126 ], |
| 127 }], |
102 ['include_tests==1', { | 128 ['include_tests==1', { |
103 'targets' : [ | 129 'targets' : [ |
104 { | 130 { |
105 'target_name': 'agc_test_utils', | 131 'target_name': 'agc_test_utils', |
106 'type': 'static_library', | 132 'type': 'static_library', |
107 'sources': [ | 133 'sources': [ |
108 'agc/test_utils.cc', | 134 'agc/test_utils.cc', |
109 'agc/test_utils.h', | 135 'agc/test_utils.h', |
110 ], | 136 ], |
111 }, | 137 }, |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 'sources': [ | 271 'sources': [ |
246 'tools_unittests.isolate', | 272 'tools_unittests.isolate', |
247 ], | 273 ], |
248 }, | 274 }, |
249 ], | 275 ], |
250 }], | 276 }], |
251 ], | 277 ], |
252 }], # include_tests | 278 }], # include_tests |
253 ], # conditions | 279 ], # conditions |
254 } | 280 } |
OLD | NEW |