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 'conditions': [ | 9 'conditions': [ |
10 ['include_tests==1', { | 10 ['include_tests==1', { |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 { | 126 { |
127 'target_name': 'rtc_event_log', | 127 'target_name': 'rtc_event_log', |
128 'type': 'static_library', | 128 'type': 'static_library', |
129 'sources': [ | 129 'sources': [ |
130 'video/rtc_event_log.cc', | 130 'video/rtc_event_log.cc', |
131 'video/rtc_event_log.h', | 131 'video/rtc_event_log.h', |
132 ], | 132 ], |
133 'conditions': [ | 133 'conditions': [ |
134 # If enable_protobuf is defined, we want to compile the protobuf | 134 # If enable_protobuf is defined, we want to compile the protobuf |
135 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. | 135 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. |
| 136 # We also want to compile the parsing functions (which do not make |
| 137 # sense without the protobuf). |
136 ['enable_protobuf==1', { | 138 ['enable_protobuf==1', { |
137 'dependencies': [ | 139 'dependencies': [ |
138 'rtc_event_log_proto', | 140 'rtc_event_log_proto', |
139 ], | 141 ], |
140 'defines': [ | 142 'defines': [ |
141 'ENABLE_RTC_EVENT_LOG', | 143 'ENABLE_RTC_EVENT_LOG', |
142 ], | 144 ], |
| 145 'sources': [ |
| 146 'video/rtc_event_log_parser.cc', |
| 147 'video/rtc_event_log_parser.h', |
| 148 ], |
143 }], | 149 }], |
144 ], | 150 ], |
145 }, | 151 }, |
146 | 152 |
147 ], | 153 ], |
148 } | 154 } |
OLD | NEW |