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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 { | 111 { |
112 'target_name': 'rtc_event_log', | 112 'target_name': 'rtc_event_log', |
113 'type': 'static_library', | 113 'type': 'static_library', |
114 'sources': [ | 114 'sources': [ |
115 'video/rtc_event_log.cc', | 115 'video/rtc_event_log.cc', |
116 'video/rtc_event_log.h', | 116 'video/rtc_event_log.h', |
117 ], | 117 ], |
118 'conditions': [ | 118 'conditions': [ |
119 # If enable_protobuf is defined, we want to compile the protobuf | 119 # If enable_protobuf is defined, we want to compile the protobuf |
120 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. | 120 # and add rtc_event_log.pb.h and rtc_event_log.pb.cc to the sources. |
| 121 # We also want to compile the parsing functions (which do not make |
| 122 # sense without the protobuf). |
121 ['enable_protobuf==1', { | 123 ['enable_protobuf==1', { |
122 'dependencies': [ | 124 'dependencies': [ |
123 'rtc_event_log_proto', | 125 'rtc_event_log_proto', |
124 ], | 126 ], |
125 'defines': [ | 127 'defines': [ |
126 'ENABLE_RTC_EVENT_LOG', | 128 'ENABLE_RTC_EVENT_LOG', |
127 ], | 129 ], |
| 130 'sources': [ |
| 131 'video/rtc_event_log_parser.cc', |
| 132 'video/rtc_event_log_parser.h', |
| 133 ], |
128 }], | 134 }], |
129 ], | 135 ], |
130 }, | 136 }, |
131 | 137 |
132 ], | 138 ], |
133 } | 139 } |
OLD | NEW |